Skip to content

Commit

Permalink
specify ring dep explicityly
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejdfinity committed Sep 6, 2023
1 parent 4c328d1 commit d49be47
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 160 deletions.
153 changes: 21 additions & 132 deletions Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "1c77fc0122b13957717459e2239fb5dc73b4032daf3b46fe41ef9c68c63f950a",
"checksum": "73b643b11b8816f2424e7a7702b36d32ade8fca392b858bbfd3c062f8c4b166f",
"crates": {
"addr2line 0.21.0": {
"name": "addr2line",
Expand Down Expand Up @@ -963,13 +963,13 @@
},
"license": "MIT"
},
"candid 0.9.5": {
"candid 0.9.6": {
"name": "candid",
"version": "0.9.5",
"version": "0.9.6",
"repository": {
"Http": {
"url": "https://crates.io/api/v1/crates/candid/0.9.5/download",
"sha256": "762aa04e3a889d47a1773b74ee3b13438a9bc895954fff79ebf7f308c3744a6c"
"url": "https://crates.io/api/v1/crates/candid/0.9.6/download",
"sha256": "88f6eec0ae850e006ef0fe306f362884d370624094ec55a6a26de18b251774be"
}
},
"targets": [
Expand Down Expand Up @@ -1012,7 +1012,7 @@
"target": "byteorder"
},
{
"id": "candid 0.9.5",
"id": "candid 0.9.6",
"target": "build_script_build"
},
{
Expand Down Expand Up @@ -1081,7 +1081,7 @@
"proc_macro_deps": {
"common": [
{
"id": "candid_derive 0.6.2",
"id": "candid_derive 0.6.3",
"target": "candid_derive"
},
{
Expand All @@ -1091,7 +1091,7 @@
],
"selects": {}
},
"version": "0.9.5"
"version": "0.9.6"
},
"build_script_attrs": {
"data_glob": [
Expand All @@ -1100,13 +1100,13 @@
},
"license": "Apache-2.0"
},
"candid_derive 0.6.2": {
"candid_derive 0.6.3": {
"name": "candid_derive",
"version": "0.6.2",
"version": "0.6.3",
"repository": {
"Http": {
"url": "https://crates.io/api/v1/crates/candid_derive/0.6.2/download",
"sha256": "810b3bd60244f282090652ffc7c30a9d23892e72dfe443e46ee55569044f7dd5"
"url": "https://crates.io/api/v1/crates/candid_derive/0.6.3/download",
"sha256": "158403ea38fab5904ae47a5d67eb7047650a91681407f5ccbcbcabc4f4ffb489"
}
},
"targets": [
Expand Down Expand Up @@ -1147,7 +1147,7 @@
"selects": {}
},
"edition": "2021",
"version": "0.6.2"
"version": "0.6.3"
},
"license": "Apache-2.0"
},
Expand Down Expand Up @@ -4248,7 +4248,7 @@
"target": "backoff"
},
{
"id": "candid 0.9.5",
"id": "candid 0.9.6",
"target": "candid"
},
{
Expand Down Expand Up @@ -4454,7 +4454,7 @@
"deps": {
"common": [
{
"id": "candid 0.9.5",
"id": "candid 0.9.6",
"target": "candid"
},
{
Expand Down Expand Up @@ -4555,7 +4555,7 @@
"target": "anyhow"
},
{
"id": "candid 0.9.5",
"id": "candid 0.9.6",
"target": "candid"
},
{
Expand Down Expand Up @@ -4610,7 +4610,7 @@
"target": "anyhow"
},
{
"id": "candid 0.9.5",
"id": "candid 0.9.6",
"target": "candid"
},
{
Expand All @@ -4626,7 +4626,7 @@
"target": "rand"
},
{
"id": "ring 0.17.0-alpha.11",
"id": "ring 0.16.20",
"target": "ring"
}
],
Expand Down Expand Up @@ -4673,7 +4673,7 @@
"target": "anyhow"
},
{
"id": "candid 0.9.5",
"id": "candid 0.9.6",
"target": "candid"
},
{
Expand Down Expand Up @@ -4764,7 +4764,7 @@
"target": "anyhow"
},
{
"id": "candid 0.9.5",
"id": "candid 0.9.6",
"target": "candid"
},
{
Expand Down Expand Up @@ -4818,7 +4818,7 @@
"target": "anyhow"
},
{
"id": "candid 0.9.5",
"id": "candid 0.9.6",
"target": "candid"
},
{
Expand Down Expand Up @@ -7692,117 +7692,6 @@
},
"license": null
},
"ring 0.17.0-alpha.11": {
"name": "ring",
"version": "0.17.0-alpha.11",
"repository": {
"Http": {
"url": "https://crates.io/api/v1/crates/ring/0.17.0-alpha.11/download",
"sha256": "4575a179070909595bea5f999d67934737c2e0757a1eb9839af555917817b257"
}
},
"targets": [
{
"Library": {
"crate_name": "ring",
"crate_root": "src/lib.rs",
"srcs": [
"**/*.rs"
]
}
},
{
"BuildScript": {
"crate_name": "build_script_build",
"crate_root": "build.rs",
"srcs": [
"**/*.rs"
]
}
}
],
"library_target_name": "ring",
"common_attrs": {
"compile_data_glob": [
"**"
],
"crate_features": {
"common": [
"alloc",
"default",
"dev_urandom_fallback",
"once_cell"
],
"selects": {}
},
"deps": {
"common": [
{
"id": "ring 0.17.0-alpha.11",
"target": "build_script_build"
},
{
"id": "untrusted 0.7.1",
"target": "untrusted"
}
],
"selects": {
"cfg(all(target_arch = \"wasm32\", target_vendor = \"unknown\", target_os = \"unknown\", target_env = \"\"))": [
{
"id": "web-sys 0.3.64",
"target": "web_sys"
}
],
"cfg(any(target_arch = \"x86\", target_arch = \"x86_64\", all(any(target_arch = \"aarch64\", target_arch = \"arm\"), any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\"))))": [
{
"id": "spin 0.5.2",
"target": "spin"
}
],
"cfg(any(target_os = \"android\", target_os = \"linux\"))": [
{
"id": "libc 0.2.147",
"target": "libc"
},
{
"id": "once_cell 1.18.0",
"target": "once_cell"
}
],
"cfg(any(target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"illumos\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"solaris\"))": [
{
"id": "once_cell 1.18.0",
"target": "once_cell"
}
],
"cfg(target_os = \"windows\")": [
{
"id": "winapi 0.3.9",
"target": "winapi"
}
]
}
},
"edition": "2018",
"version": "0.17.0-alpha.11"
},
"build_script_attrs": {
"data_glob": [
"**"
],
"deps": {
"common": [
{
"id": "cc 1.0.83",
"target": "cc"
}
],
"selects": {}
},
"links": "ring_core_0_17_0_alpha_11"
},
"license": null
},
"rustc-demangle 0.1.23": {
"name": "rustc-demangle",
"version": "0.1.23",
Expand Down
37 changes: 11 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ ic-agent = "0.25.0"
reqwest = "0.11"
ic-test-state-machine-client = "3.0.0"
rand = "0.8.5"
ring = "0.16.20"
serde = "=1.0.171"
tempfile = "3.3"
thiserror = "1"
Expand Down
2 changes: 1 addition & 1 deletion test/env/replica/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ anyhow = { workspace = true }
candid = { workspace = true }
ic-agent = { workspace = true }
rand = { workspace = true }
ring = { worksapce = true }
ring = "0.16.20"
hex = { workspace = true }
async-trait = { workspace = true }
icrc1-test-env = { version = "0.1.1", path = "../" }

0 comments on commit d49be47

Please sign in to comment.