Skip to content

Commit

Permalink
Remove unneeded deps and clean up build file
Browse files Browse the repository at this point in the history
  • Loading branch information
brianp committed Apr 26, 2023
1 parent 01c96c6 commit a58b656
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 42 deletions.
15 changes: 0 additions & 15 deletions Cargo.lock

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

11 changes: 0 additions & 11 deletions base_layer/chat_ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,12 @@ edition = "2018"
[dependencies]
tari_chat_client = { path = "../contacts/examples/chat_client" }
tari_common = { path = "../../common" }
tari_common_sqlite = { path = "../../common_sqlite" }
tari_common_types = { path = "../common_types" }
tari_comms = { path = "../../comms/core" }
tari_comms_dht = { path = "../../comms/dht" }
tari_contacts = { path = "../contacts" }
tari_p2p = { path = "../p2p" }
tari_service_framework= { path = "../service_framework" }
tari_shutdown = { path = "../../infrastructure/shutdown" }
tari_storage = { path = "../../infrastructure/storage" }
tari_test_utils = { path = "../../infrastructure/test_utils" }

anyhow = "1.0.41"
diesel = { version = "2.0.3", features = ["sqlite", "r2d2", "serde_json", "chrono", "64-column-tables"] }
libc = "0.2.65"
lmdb-zero = "0.4.4"
log = "0.4.17"
rand = "0.7"
serde_json = "1.0.64"
tokio = "1.23"

Expand Down
11 changes: 0 additions & 11 deletions base_layer/chat_ffi/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,3 @@ fn main() {
.unwrap()
.write_to_file(output_file);
}

// /// Find the location of the `target/` directory. Note that this may be
// /// overridden by `cmake`, so we also need to check the `CARGO_TARGET_DIR`
// /// variable.
// fn target_dir() -> PathBuf {
// if let Ok(target) = env::var("CARGO_TARGET_DIR") {
// PathBuf::from(target)
// } else {
// PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap()).join("target")
// }
// }
3 changes: 0 additions & 3 deletions base_layer/contacts/examples/chat_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ version = "0.50.0-pre.0"
edition = "2018"

[dependencies]
tari_common = { path = "../../../../common" }
tari_common_types = { path = "../../../common_types" }
tari_common_sqlite = { path = "../../../../common_sqlite" }
tari_comms = { path = "../../../../comms/core" }
tari_comms_dht = { path = "../../../../comms/dht" }
tari_contacts = { path = "../../../contacts" }
tari_p2p = { path = "../../../p2p" }
tari_service_framework= { path = "../../../service_framework" }
Expand All @@ -25,4 +23,3 @@ async-trait = "0.1.52"
diesel = { version = "2.0.3", features = ["sqlite", "r2d2", "serde_json", "chrono", "64-column-tables"] }
lmdb-zero = "0.4.4"
log = "0.4.17"
tokio = "1.23"
3 changes: 1 addition & 2 deletions integration_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ tari_chat_client = { path = "../base_layer/contacts/examples/chat_client" }
tari_chat_ffi = { path = "../base_layer/chat_ffi" }
tari_crypto = "0.16.12"
tari_common = { path = "../common" }
tari_common_sqlite = { path = "../common_sqlite" }
tari_common_types = { path = "../base_layer/common_types" }
tari_comms = { path = "../comms/core" }
tari_comms_dht = { path = "../comms/dht" }
Expand Down Expand Up @@ -52,7 +51,7 @@ tokio = { version = "1.10", features = ["macros", "time", "sync", "rt-multi-thre
tonic = "0.6.2"

[package.metadata.cargo-machete]
ignored = ["tari_wallet_ffi"]
ignored = ["tari_wallet_ffi", "tari_chat_ffi"]

[[test]]
name = "cucumber" # this should be the same as the filename of your test target
Expand Down

0 comments on commit a58b656

Please sign in to comment.