Skip to content

Commit

Permalink
change: dependency structure
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolasHai committed Jul 25, 2023
1 parent 53dc038 commit a950d00
Show file tree
Hide file tree
Showing 11 changed files with 168 additions and 247 deletions.
130 changes: 129 additions & 1 deletion Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "d70ff2117bec3a349d65238680bd99ead9949d9f0d5a9af89fc05237cfe43e8f",
"checksum": "d0e87b3fba72d5f89c8792225240fb592642d6f3b26942fa2bd7c748e831cb0b",
"crates": {
"aho-corasick 0.7.18": {
"name": "aho-corasick",
Expand Down Expand Up @@ -4519,6 +4519,132 @@
}
],
"library_target_name": "icrc1_test_env",
"common_attrs": {
"compile_data_glob": [
"**"
],
"deps": {
"common": [
{
"id": "anyhow 1.0.63",
"target": "anyhow"
},
{
"id": "candid 0.8.4",
"target": "candid"
},
{
"id": "serde 1.0.144",
"target": "serde"
}
],
"selects": {}
},
"edition": "2018",
"proc_macro_deps": {
"common": [
{
"id": "async-trait 0.1.71",
"target": "async_trait"
}
],
"selects": {}
},
"version": "0.1.0"
},
"license": null
},
"icrc1-test-env-replica 0.1.0": {
"name": "icrc1-test-env-replica",
"version": "0.1.0",
"repository": null,
"targets": [
{
"Library": {
"crate_name": "icrc1_test_env_replica",
"crate_root": "lib.rs",
"srcs": [
"**/*.rs"
]
}
}
],
"library_target_name": "icrc1_test_env_replica",
"common_attrs": {
"compile_data_glob": [
"**"
],
"deps": {
"common": [
{
"id": "anyhow 1.0.63",
"target": "anyhow"
},
{
"id": "candid 0.8.4",
"target": "candid"
},
{
"id": "garcon 0.2.3",
"target": "garcon"
},
{
"id": "hex 0.4.3",
"target": "hex"
},
{
"id": "ic-agent 0.22.0",
"target": "ic_agent"
},
{
"id": "ic-test-state-machine-client 2.2.1",
"target": "ic_test_state_machine_client"
},
{
"id": "rand 0.8.5",
"target": "rand"
},
{
"id": "ring 0.16.20",
"target": "ring"
},
{
"id": "serde 1.0.144",
"target": "serde"
}
],
"selects": {}
},
"edition": "2018",
"proc_macro_deps": {
"common": [
{
"id": "async-trait 0.1.71",
"target": "async_trait"
}
],
"selects": {}
},
"version": "0.1.0"
},
"license": null
},
"icrc1-test-env-state-machine 0.1.0": {
"name": "icrc1-test-env-state-machine",
"version": "0.1.0",
"repository": null,
"targets": [
{
"Library": {
"crate_name": "icrc1_test_env_state_machine",
"crate_root": "lib.rs",
"srcs": [
"**/*.rs"
]
}
}
],
"library_target_name": "icrc1_test_env_state_machine",
"common_attrs": {
"compile_data_glob": [
"**"
Expand Down Expand Up @@ -12570,6 +12696,8 @@
"binary_crates": [],
"workspace_members": {
"icrc1-test-env 0.1.0": "test/env",
"icrc1-test-env-replica 0.1.0": "test/env/replica",
"icrc1-test-env-state-machine 0.1.0": "test/env/state-machine",
"icrc1-test-replica 0.1.0": "test/replica",
"icrc1-test-runner 0.1.0": "test/runner",
"icrc1-test-suite 0.1.0": "test/suite"
Expand Down
27 changes: 26 additions & 1 deletion Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

members = [
"test/env",
"test/env/state-machine",
"test/env/replica",
"test/suite",
"test/runner",
"test/replica",
Expand Down
2 changes: 2 additions & 0 deletions WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ crates_repository(
manifests = [
"//:Cargo.toml",
"//test/env:Cargo.toml",
"//test/env/replica:Cargo.toml",
"//test/env/state-machine:Cargo.toml",
"//test/suite:Cargo.toml",
"//test/runner:Cargo.toml",
"//test/replica:Cargo.toml",
Expand Down
6 changes: 0 additions & 6 deletions test/env/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,5 @@ path = "lib.rs"
[dependencies]
anyhow = "1.0"
candid = "0.8"
garcon = "0.2.3"
hex = "0.4"
ic-agent = "0.22.0"
rand = "0.8.5"
ring = "0.16.20"
serde = "1"
async-trait = "0.1.71"
ic-test-state-machine-client = "2.2.1"
Loading

0 comments on commit a950d00

Please sign in to comment.