Skip to content

Commit

Permalink
client: move to crates directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill authored and bors-libra committed Nov 19, 2021
1 parent 960dc33 commit 320986d
Show file tree
Hide file tree
Showing 36 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ members = [
"consensus/consensus-types",
"consensus/safety-rules",
"crates/diem-assets-proof",
"crates/diem-client",
"crates/diem-crypto",
"crates/diem-crypto-derive",
"crates/diem-faucet",
Expand Down Expand Up @@ -148,7 +149,6 @@ members = [
"network/netcore",
"network/socket-bench-server",
"sdk",
"sdk/client",
"sdk/compatibility",
"sdk/offchain",
"sdk/transaction-builder",
Expand Down
2 changes: 1 addition & 1 deletion config/management/operational/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ tokio-util = { version = "0.6.4", features = ["compat"] }
toml = { version = "0.5.8", default-features = false }

bcs = "0.1.2"
diem-client = { path = "../../../sdk/client", features = ["blocking"], default-features = false }
diem-client = { path = "../../../crates/diem-client", features = ["blocking"], default-features = false }
diem-config = { path = "../.."}
diem-crypto = { path = "../../../crates/diem-crypto" }
diem-global-constants = { path = "../../global-constants" }
Expand Down
2 changes: 1 addition & 1 deletion config/seed-peer-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ thiserror = "1.0.24"
bcs = "0.1.2"
diem-config = { path = ".." }
diem-crypto = { path = "../../crates/diem-crypto" }
diem-client = { path = "../../sdk/client", features = ["blocking"], default-features = false }
diem-client = { path = "../../crates/diem-client", features = ["blocking"], default-features = false }
diem-logger = { path = "../../common/logger" }
diem-temppath = { path = "../../common/temppath" }
diem-types = { path = "../../types" }
Expand Down
4 changes: 2 additions & 2 deletions crates/diem-assets-proof/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ serde_json = "1.0.64"
structopt = "0.3.21"

bcs = "0.1.2"
diem-client = { path = "../../sdk/client", features = ["blocking"], default-features = false }
diem-crypto = { path = "../../crates/diem-crypto" }
diem-client = { path = "../diem-client", features = ["blocking"], default-features = false }
diem-crypto = { path = "../diem-crypto" }
diem-types = { path = "../../types" }
move-core-types = { path = "../../language/move-core/types" }

Expand Down
4 changes: 2 additions & 2 deletions sdk/client/Cargo.toml → crates/diem-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "diem-client"
version = "0.0.3"
authors = ["Diem Association <[email protected]>"]
description = "Diem JSON-RPC client"
description = "Diem JSON-RPC/Rest client"
repository = "https://github.com/diem/diem"
homepage = "https://diem.com"
license = "Apache-2.0"
Expand All @@ -24,7 +24,7 @@ serde = { version = "1.0.124", features = ["derive"] }
serde_json = "1.0.64"
tracing = "0.1.26"

diem-crypto = { path = "../../crates/diem-crypto", version = "0.0.3" }
diem-crypto = { path = "../diem-crypto", version = "0.0.3" }
diem-json-rpc-types = { path = "../../json-rpc/types", version = "0.0.3" }
move-core-types = { path = "../../language/move-core/types", version = "0.0.3" }
diem-types = { path = "../../types", version = "0.0.3" }
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions crates/diem-json-rpc-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ edition = "2018"
futures = "0.3.12"
rand = "0.8.3"

diem-crypto = { path = "../../crates/diem-crypto" }
diem-crypto = { path = "../diem-crypto" }
diem-json-rpc-types = { path = "../../json-rpc/types" }
diem-types = { path = "../../types" }
diem-workspace-hack = { path = "../../common/workspace-hack" }
diem-client = { path = "../../sdk/client" }
diem-client = { path = "../diem-client" }
4 changes: 2 additions & 2 deletions crates/transaction-emitter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ structopt = "0.3.21"
termion = "1.5.6"
tokio = { version = "1.8.1", features = ["full"] }

diem-client = { path = "../../sdk/client"}
diem-client = { path = "../diem-client"}
diem-config = { path = "../../config" }
diem-crypto = { path = "../../crates/diem-crypto" }
diem-crypto = { path = "../diem-crypto" }
diem-logger = { path = "../../common/logger" }
diem-sdk = { path = "../../sdk" }
diem-workspace-hack = { path = "../../common/workspace-hack" }
2 changes: 1 addition & 1 deletion diem-move/diem-events-fetcher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ futures = "0.3.12"
tokio = { version = "1.8.1", features = ["full"] }

diem-workspace-hack = { path = "../../common/workspace-hack" }
diem-client = { path = "../../sdk/client" }
diem-client = { path = "../../crates/diem-client" }
diem-types = { path = "../../types" }
bcs = "0.1.2"
2 changes: 1 addition & 1 deletion diem-move/diem-validator-interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ edition = "2018"
[dependencies]
anyhow = "1.0.38"
diem-config = { path = "../../config" }
diem-client = { path = "../../sdk/client" }
diem-client = { path = "../../crates/diem-client" }
diem-types = { path = "../../types" }
diemdb = { path = "../../storage/diemdb" }
diem-workspace-hack = { path = "../../common/workspace-hack" }
Expand Down
2 changes: 1 addition & 1 deletion diem-move/oncall-trainer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ gag = "0.1.10"
bcs = "0.1.2"

cli = { path = "../../testsuite/cli" }
diem-client = { path = "../../sdk/client/"}
diem-client = { path = "../../crates/diem-client/"}
diem-config = { path = "../../config" }
diem-framework-releases = { path = "../../diem-move/diem-framework/DPN/releases"}
diem-genesis-tool = { path = "../../config/management/genesis" }
Expand Down
4 changes: 2 additions & 2 deletions json-rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ regex = { version = "1.4.3", default-features = false, features = ["std", "perf"

bcs = "0.1.2"
diem-framework-releases= { path = "../diem-move/diem-framework/DPN/releases" }
diem-client = { path = "../sdk/client", optional = true }
diem-client = { path = "../crates/diem-client", optional = true }
diem-config = { path = "../config" }
diem-crypto = { path = "../crates/diem-crypto" }
diemdb = { path = "../storage/diemdb", optional = true }
Expand Down Expand Up @@ -63,7 +63,7 @@ rand = { version = "0.8.3" }
generate-key = { path = "../config/generate-key" }
diemdb = { path = "../storage/diemdb", features = ["fuzzing"] }
diem-genesis-tool = {path = "../config/management/genesis", features = ["testing"] }
diem-client = { path = "../sdk/client" }
diem-client = { path = "../crates/diem-client" }
diem-mempool = { path = "../mempool", features = ["fuzzing"] }
diem-proptest-helpers = { path = "../common/proptest-helpers" }
diem-temppath = { path = "../common/temppath" }
Expand Down
2 changes: 1 addition & 1 deletion sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ move-core-types = { path = "../language/move-core/types", version = "0.0.3" }
diem-transaction-builder = { path = "./transaction-builder", version = "0.0.3" }

# Optional Dependencies
diem-client = { path = "./client", version = "0.0.3", optional = true }
diem-client = { path = "../crates/diem-client", version = "0.0.3", optional = true }

[dev-dependencies]
diem-workspace-hack = { path = "../common/workspace-hack" }
2 changes: 1 addition & 1 deletion secure/key-manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ diem-config = { path = "../../config"}
diem-crypto = { path = "../../crates/diem-crypto" }
diem-global-constants = { path = "../../config/global-constants"}
diem-logger = { path = "../../common/logger" }
diem-client = { path = "../../sdk/client", features = ["blocking"], default-features = false }
diem-client = { path = "../../crates/diem-client", features = ["blocking"], default-features = false }
diem-secure-push-metrics = { path = "../push-metrics" }
diem-secure-storage = { path = "../storage" }
diem-time-service = { path = "../../common/time-service" }
Expand Down
2 changes: 1 addition & 1 deletion testsuite/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ crash-handler = { path = "../../common/crash-handler" }
diem-crypto = { path = "../../crates/diem-crypto" }
bcs = "0.1.2"
diem-wallet = { path = "diem-wallet" }
diem-client = { path = "../../sdk/client" }
diem-client = { path = "../../crates/diem-client" }
diem-infallible = { path = "../../common/infallible" }
diem-logger = { path = "../../common/logger" }
diem-metrics = { path = "../../common/metrics" }
Expand Down
2 changes: 1 addition & 1 deletion testsuite/cluster-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ chrono = "0.4.19"
toml = { version = "0.5.8", default-features = false }

debug-interface = { path = "../../common/debug-interface"}
diem-client = { path = "../../sdk/client"}
diem-client = { path = "../../crates/diem-client"}
diem-retrier = { path = "../../common/retrier" }
num_cpus = "1.13.0"

Expand Down

0 comments on commit 320986d

Please sign in to comment.