Skip to content

Commit

Permalink
feat: lock versions so only patch releases are allowed
Browse files Browse the repository at this point in the history
Based on #1613
  • Loading branch information
cryptonemo committed Jun 15, 2022
1 parent 2a50da4 commit 38d9a33
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 37 deletions.
10 changes: 5 additions & 5 deletions fil-proofs-param/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ repository = "https://github.com/filecoin-project/rust-fil-proofs"
readme = "README.md"

[dependencies]
storage-proofs-core = { path = "../storage-proofs-core", version = "^11.0.0", default-features = false}
storage-proofs-porep = { path = "../storage-proofs-porep", version = "^11.0.0", default-features = false }
storage-proofs-post = { path = "../storage-proofs-post", version = "^11.0.0", default-features = false }
storage-proofs-update = { path = "../storage-proofs-update", version = "^11.0.0", default-features = false }
filecoin-proofs = { version = "^11.0.0", path = "../filecoin-proofs", default-features = false }
storage-proofs-core = { path = "../storage-proofs-core", version = "~11.0.0", default-features = false}
storage-proofs-porep = { path = "../storage-proofs-porep", version = "~11.0.0", default-features = false }
storage-proofs-post = { path = "../storage-proofs-post", version = "~11.0.0", default-features = false }
storage-proofs-update = { path = "../storage-proofs-update", version = "~11.0.0", default-features = false }
filecoin-proofs = { version = "~11.0.0", path = "../filecoin-proofs", default-features = false }
rand = "0.8"
lazy_static = "1.2"
pbr = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion fil-proofs-param/src/bin/paramfetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ lazy_static! {
}

const DEFAULT_JSON: &str = include_str!("../../parameters.json");
const DEFAULT_IPGET_VERSION: &str = "v0.6.0";
const DEFAULT_IPGET_VERSION: &str = "v0.8.1";

#[inline]
fn get_ipget_dir(version: &str) -> String {
Expand Down
10 changes: 5 additions & 5 deletions fil-proofs-tooling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ repository = "https://github.com/filecoin-project/rust-fil-proofs"
readme = "README.md"

[dependencies]
storage-proofs-core = { path = "../storage-proofs-core", version = "^11.0.0", default-features = false}
storage-proofs-porep = { path = "../storage-proofs-porep", version = "^11.0.0", default-features = false }
storage-proofs-post = { path = "../storage-proofs-post", version = "^11.0.0", default-features = false }
filecoin-proofs = { path = "../filecoin-proofs", default-features = false }
filecoin-hashers = { path = "../filecoin-hashers", default-features = false, features = ["poseidon", "blake2s", "sha256"] }
storage-proofs-core = { path = "../storage-proofs-core", version = "~11.0.0", default-features = false}
storage-proofs-porep = { path = "../storage-proofs-porep", version = "~11.0.0", default-features = false }
storage-proofs-post = { path = "../storage-proofs-post", version = "~11.0.0", default-features = false }
filecoin-proofs = { path = "../filecoin-proofs", version = "~11.0.0", default-features = false }
filecoin-hashers = { path = "../filecoin-hashers", version = "~6.0.0", default-features = false, features = ["poseidon", "blake2s", "sha256"] }
clap = { version = "3.1.6", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion filecoin-hashers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ anyhow = "1.0.34"
serde = "1.0.117"
rand = "0.8.0"

neptune = { version = "6.2.0", optional = true, features = ["arity2", "arity4", "arity8", "arity11", "arity16", "arity24", "arity36"] }
neptune = { version = "~6.2.0", optional = true, features = ["arity2", "arity4", "arity8", "arity11", "arity16", "arity24", "arity36"] }
lazy_static = { version = "1.4.0", optional = true }
blake2s_simd = { version = "1.0.0", optional = true }
sha2 = { version = "0.10.2", optional = true }
Expand Down
12 changes: 6 additions & 6 deletions filecoin-proofs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ repository = "https://github.com/filecoin-project/rust-fil-proofs"
readme = "README.md"

[dependencies]
storage-proofs-core = { path = "../storage-proofs-core", version = "^11.0.0", default-features = false}
storage-proofs-porep = { path = "../storage-proofs-porep", version = "^11.0.0", default-features = false }
storage-proofs-post = { path = "../storage-proofs-post", version = "^11.0.0", default-features = false }
storage-proofs-update = { path = "../storage-proofs-update", version = "^11.0.0", default-features = false }
filecoin-hashers = { version = "^6.0.0", path = "../filecoin-hashers", default-features = false, features = ["poseidon", "sha256"] }
storage-proofs-core = { path = "../storage-proofs-core", version = "~11.0.0", default-features = false}
storage-proofs-porep = { path = "../storage-proofs-porep", version = "~11.0.0", default-features = false }
storage-proofs-post = { path = "../storage-proofs-post", version = "~11.0.0", default-features = false }
storage-proofs-update = { path = "../storage-proofs-update", version = "~11.0.0", default-features = false }
filecoin-hashers = { version = "~6.0.0", path = "../filecoin-hashers", default-features = false, features = ["poseidon", "sha256"] }
rand = "0.8"
lazy_static = "1.2"
memmap = "0.7"
Expand All @@ -31,7 +31,7 @@ sha2 = "0.10.2"
typenum = "1.11.2"
gperftools = { version = "0.2", optional = true }
generic-array = "0.14.4"
fr32 = { path = "../fr32", version = "^4.0.0", default-features = false }
fr32 = { path = "../fr32", version = "~4.0.0", default-features = false }
once_cell = "1.8.0"
blstrs = "0.5.0"

Expand Down
8 changes: 4 additions & 4 deletions storage-proofs-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ readme = "README.md"
bench = false

[dependencies]
filecoin-hashers = { path = "../filecoin-hashers", version = "^6.0.0", default-features = false, features = ["sha256", "poseidon"] }
filecoin-hashers = { path = "../filecoin-hashers", version = "~6.0.0", default-features = false, features = ["sha256", "poseidon"] }
rand = "0.8"
merkletree = "0.21.0"
byteorder = "1"
Expand All @@ -38,7 +38,7 @@ cpu-time = { version = "1.0", optional = true }
gperftools = { version = "0.2", optional = true }
num_cpus = "1.10.1"
semver = "1.0.6"
fr32 = { path = "../fr32", version = "^4.0.0"}
fr32 = { path = "../fr32", version = "~4.0.0"}
blstrs = "0.5.0"
cbc = { version = "0.1.2", features = ["std"] }

Expand All @@ -47,8 +47,8 @@ proptest = "1.0.0"
criterion = "0.3"
rand_xorshift = "0.3.0"
pretty_assertions = "1.2.0"
sha2raw = { path = "../sha2raw", version = "^6.0.0"}
filecoin-hashers = { path = "../filecoin-hashers", version = "^6.0.0", default-features = false, features = ["blake2s", "sha256", "poseidon"] }
sha2raw = { path = "../sha2raw", version = "~6.0.0"}
filecoin-hashers = { path = "../filecoin-hashers", version = "~6.0.0", default-features = false, features = ["blake2s", "sha256", "poseidon"] }
tempfile = "3"
blake2s_simd = "1.0.0"

Expand Down
12 changes: 6 additions & 6 deletions storage-proofs-porep/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ readme = "README.md"

[dependencies]
crossbeam = "0.8"
storage-proofs-core = { path = "../storage-proofs-core", version = "^11.0.0", default-features = false}
sha2raw = { path = "../sha2raw", version = "^6.0.0"}
filecoin-hashers = { path = "../filecoin-hashers", version = "^6.0.0", default-features = false, features = ["poseidon", "sha256"]}
storage-proofs-core = { path = "../storage-proofs-core", version = "~11.0.0", default-features = false}
sha2raw = { path = "../sha2raw", version = "~6.0.0"}
filecoin-hashers = { path = "../filecoin-hashers", version = "~6.0.0", default-features = false, features = ["poseidon", "sha256"]}
merkletree = "0.21.0"
mapr = "0.8.0"
num-bigint = "0.4.3"
Expand All @@ -26,7 +26,7 @@ log = "0.4.7"
pretty_assertions = "1.2.0"
generic-array = "0.14.4"
anyhow = "1.0.23"
neptune = { version = "6.2.0", features = ["arity2", "arity4", "arity8", "arity11", "arity16", "arity24", "arity36"] }
neptune = { version = "~6.2.0", features = ["arity2", "arity4", "arity8", "arity11", "arity16", "arity24", "arity36"] }
num_cpus = "1.10.1"
hex = "0.4.2"
bincode = "1.1.2"
Expand All @@ -36,7 +36,7 @@ byte-slice-cast = "1.0.0"
hwloc = { version = "0.5.0", optional = true }
libc = "0.2"
fdlimit = "0.2.0"
fr32 = { path = "../fr32", version = "^4.0.0", default-features = false }
fr32 = { path = "../fr32", version = "~4.0.0", default-features = false }
yastl = "0.1.2"
blstrs = "0.5.0"

Expand All @@ -51,7 +51,7 @@ rand = "0.8"
rand_xorshift = "0.3.0"
criterion = "0.3.2"
glob = "0.3.0"
filecoin-hashers = { path = "../filecoin-hashers", version = "^6.0.0", default-features = false, features = ["poseidon", "sha256", "blake2s"]}
filecoin-hashers = { path = "../filecoin-hashers", version = "~6.0.0", default-features = false, features = ["poseidon", "sha256", "blake2s"]}
fil_logger = "0.1.6"

[features]
Expand Down
8 changes: 4 additions & 4 deletions storage-proofs-post/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ repository = "https://github.com/filecoin-project/rust-fil-proofs"
readme = "README.md"

[dependencies]
storage-proofs-core = { path = "../storage-proofs-core", version = "^11.0.0", default-features = false}
filecoin-hashers = { path = "../filecoin-hashers", version = "^6.0.0", default-features = false, features = ["poseidon", "sha256"]}
storage-proofs-core = { path = "../storage-proofs-core", version = "~11.0.0", default-features = false}
filecoin-hashers = { path = "../filecoin-hashers", version = "~6.0.0", default-features = false, features = ["poseidon", "sha256"]}
byteorder = "1"
sha2 = "0.10.2"
rayon = "1.0.0"
Expand All @@ -22,13 +22,13 @@ log = "0.4.7"
hex = "0.4.0"
generic-array = "0.14.4"
anyhow = "1.0.23"
fr32 = { path = "../fr32", version = "^4.0.0", default-features = false }
fr32 = { path = "../fr32", version = "~4.0.0", default-features = false }
blstrs = "0.5.0"

[dev-dependencies]
tempfile = "3"
pretty_assertions = "1.2.0"
filecoin-hashers = { path = "../filecoin-hashers", version = "^6.0.0", default-features = false, features = ["poseidon", "sha256", "blake2s"]}
filecoin-hashers = { path = "../filecoin-hashers", version = "~6.0.0", default-features = false, features = ["poseidon", "sha256", "blake2s"]}
rand = "0.8"
rand_xorshift = "0.3.0"

Expand Down
10 changes: 5 additions & 5 deletions storage-proofs-update/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ repository = "https://github.com/filecoin-project/rust-fil-proofs"
readme = "README.md"

[dependencies]
storage-proofs-core = { path = "../storage-proofs-core", version = "^11.0.0", default-features = false}
storage-proofs-porep = { path = "../storage-proofs-porep", version = "^11.0.0", default-features = false}
filecoin-hashers = { path = "../filecoin-hashers", version = "^6.0.0", default-features = false, features = ["poseidon", "sha256"]}
storage-proofs-core = { path = "../storage-proofs-core", version = "~11.0.0", default-features = false}
storage-proofs-porep = { path = "../storage-proofs-porep", version = "~11.0.0", default-features = false}
filecoin-hashers = { path = "../filecoin-hashers", version = "~6.0.0", default-features = false, features = ["poseidon", "sha256"]}
merkletree = "0.21.0"
rayon = "1.0.0"
serde = { version = "1.0", features = ["derive"]}
Expand All @@ -21,9 +21,9 @@ blstrs = "0.5.0"
log = "0.4.7"
generic-array = "0.14.4"
anyhow = "1.0.23"
neptune = { version = "6.2.0", features = ["arity2", "arity4", "arity8", "arity11", "arity16", "arity24", "arity36"] }
neptune = { version = "~6.2.0", features = ["arity2", "arity4", "arity8", "arity11", "arity16", "arity24", "arity36"] }
lazy_static = "1.2"
fr32 = { path = "../fr32", version = "^4.0.0", default-features = false }
fr32 = { path = "../fr32", version = "~4.0.0", default-features = false }
memmap = "0.7"

[dev-dependencies]
Expand Down

0 comments on commit 38d9a33

Please sign in to comment.