mirror of https://github.com/zcash/orchard.git
parent
1ff53e963c
commit
7fa0edbd98
|
@ -7,6 +7,7 @@ and this project adheres to Rust's notion of
|
|||
|
||||
## [Unreleased]
|
||||
### Changed
|
||||
- MSRV is now 1.65.0.
|
||||
- Migrated to `incrementalmerkletree 0.5`.
|
||||
|
||||
## [0.5.0] - 2023-06-06
|
||||
|
|
10
Cargo.toml
10
Cargo.toml
|
@ -9,7 +9,7 @@ authors = [
|
|||
"Kris Nuttycombe <kris@electriccoin.co>",
|
||||
]
|
||||
edition = "2021"
|
||||
rust-version = "1.60"
|
||||
rust-version = "1.65"
|
||||
description = "The Orchard shielded transaction protocol"
|
||||
license-file = "LICENSE-BOSL"
|
||||
repository = "https://github.com/zcash/orchard"
|
||||
|
@ -48,12 +48,12 @@ incrementalmerkletree = "0.5"
|
|||
tracing = "0.1"
|
||||
|
||||
# Developer tooling dependencies
|
||||
image = { version = ">= 0.24, < 0.24.5", optional = true } # 0.24.5 has MSRV 1.61
|
||||
image = { version = "0.24", optional = true }
|
||||
plotters = { version = "0.3.0", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
bridgetree = "0.4"
|
||||
criterion = "0.3"
|
||||
criterion = "0.4" # 0.5 depends on clap 4 which has MSRV 1.70
|
||||
halo2_gadgets = { version = "0.3", features = ["test-dependencies"] }
|
||||
hex = "0.4"
|
||||
proptest = "1.0.0"
|
||||
|
@ -61,8 +61,8 @@ zcash_note_encryption = { version = "0.4", features = ["pre-zip-212"] }
|
|||
incrementalmerkletree = { version = "0.5", features = ["test-dependencies"] }
|
||||
|
||||
[target.'cfg(unix)'.dev-dependencies]
|
||||
inferno = ">= 0.11, < 0.11.15"
|
||||
pprof = { version = "0.9", features = ["criterion", "flamegraph"] } # MSRV 1.56
|
||||
inferno = { version = "0.11", default-features = false, features = ["multithreaded", "nameattr"] }
|
||||
pprof = { version = "0.11", features = ["criterion", "flamegraph"] }
|
||||
|
||||
[lib]
|
||||
bench = false
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# orchard [![Crates.io](https://img.shields.io/crates/v/orchard.svg)](https://crates.io/crates/orchard) #
|
||||
|
||||
Requires Rust 1.60+.
|
||||
Requires Rust 1.65+.
|
||||
|
||||
## Documentation
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[toolchain]
|
||||
channel = "1.60.0"
|
||||
channel = "1.65.0"
|
||||
components = [ "clippy", "rustfmt" ]
|
||||
|
|
|
@ -1103,8 +1103,8 @@ mod tests {
|
|||
w.write_all(&<[u8; 32]>::from(instance.rk.clone()))?;
|
||||
w.write_all(&instance.cmx.to_bytes())?;
|
||||
w.write_all(&[
|
||||
if instance.enable_spend { 1 } else { 0 },
|
||||
if instance.enable_output { 1 } else { 0 },
|
||||
u8::from(instance.enable_spend),
|
||||
u8::from(instance.enable_output),
|
||||
])?;
|
||||
|
||||
w.write_all(proof.as_ref())?;
|
||||
|
|
Loading…
Reference in New Issue