Skip to content

Commit

Permalink
Remove unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjbvr committed May 2, 2023
1 parent 17fd4dd commit be41dcf
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 45 deletions.
22 changes: 0 additions & 22 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 bindings/matrix-sdk-crypto-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ serde = { workspace = true }
serde_json = { workspace = true }
sha2 = "0.10.2"
thiserror = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { version = "0.3.11", features = ["env-filter"] }
# keep in sync with uniffi dependency in matrix-sdk-ffi, and uniffi_bindgen in ffi CI job
uniffi = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion crates/matrix-sdk-appservice/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ docs = []
axum = { version = "0.6.1", default-features = false, features = ["json"] }
dashmap = { workspace = true }
http = { workspace = true }
http-body = "0.4.5"
hyper = { version = "0.14.20", features = ["http1", "http2", "server"] }
matrix-sdk = { version = "0.6.0", path = "../matrix-sdk", default-features = false, features = ["appservice"] }
regex = "1.5.5"
Expand Down
3 changes: 0 additions & 3 deletions crates/matrix-sdk-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ testing = ["dep:http", "dep:matrix-sdk-test", "dep:assert_matches"]

[dependencies]
assert_matches = { workspace = true, optional = true }
async-stream = { workspace = true }
async-trait = { workspace = true }
bitflags = "2.1.0"
dashmap = { workspace = true }
eyeball = { workspace = true }
futures-core = "0.3.21"
futures-util = { workspace = true }
http = { workspace = true, optional = true }
matrix-sdk-common = { version = "0.6.0", path = "../matrix-sdk-common" }
Expand All @@ -47,7 +45,6 @@ serde_json = { workspace = true }
tokio = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
zeroize = { workspace = true, features = ["zeroize_derive"] }

[dev-dependencies]
assert_matches = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion crates/matrix-sdk-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ bs58 = { version = "0.4.0", optional = true }
byteorder = { workspace = true }
ctr = "0.9.1"
dashmap = { workspace = true }
event-listener = "2.5.2"
eyeball = { workspace = true }
futures-core = "0.3.24"
futures-util = { workspace = true }
Expand Down
3 changes: 1 addition & 2 deletions crates/matrix-sdk-indexeddb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ rustdoc-args = ["--cfg", "docsrs"]

[features]
default = ["e2e-encryption"]
e2e-encryption = ["matrix-sdk-base/e2e-encryption", "dep:matrix-sdk-crypto", "dashmap"]
e2e-encryption = ["matrix-sdk-base/e2e-encryption", "dep:matrix-sdk-crypto"]

[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
base64 = { workspace = true }
dashmap = { workspace = true, optional = true }
gloo-utils = { version = "0.1", features = ["serde"] }
indexed_db_futures = "0.3.0"
js-sys = { version = "0.3.58" }
Expand Down
1 change: 0 additions & 1 deletion crates/matrix-sdk-qrcode/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
base64 = { workspace = true }
byteorder = { workspace = true }
qrcode = { version = "0.12.0", default-features = false }
ruma-common = { workspace = true }
Expand Down
3 changes: 0 additions & 3 deletions crates/matrix-sdk-sled/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,11 @@ crypto-store = [
]

[dependencies]
async-stream = { workspace = true }
async-trait = { workspace = true }
dashmap = { workspace = true }
fs_extra = "1.2.0"
futures-core = "0.3.21"
futures-util = { workspace = true }
matrix-sdk-base = { version = "0.6.0", path = "../matrix-sdk-base", optional = true }
matrix-sdk-common = { version = "0.6.0", path = "../matrix-sdk-common" }
matrix-sdk-crypto = { version = "0.6.0", path = "../matrix-sdk-crypto", optional = true }
matrix-sdk-store-encryption = { version = "0.2.0", path = "../matrix-sdk-store-encryption" }
ruma = { workspace = true }
Expand Down
6 changes: 0 additions & 6 deletions crates/matrix-sdk-sqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,9 @@ crypto-store = [
state-store = []

[dependencies]
async-stream = { workspace = true }
async-trait = { workspace = true }
dashmap = { workspace = true }
deadpool-sqlite = "0.5.0"
fs_extra = "1.2.0"
futures-core = "0.3.21"
futures-util = { workspace = true }
matrix-sdk-base = { version = "0.6.0", path = "../matrix-sdk-base" }
matrix-sdk-common = { version = "0.6.0", path = "../matrix-sdk-common" }
matrix-sdk-crypto = { version = "0.6.0", path = "../matrix-sdk-crypto", optional = true }
matrix-sdk-store-encryption = { version = "0.2.0", path = "../matrix-sdk-store-encryption" }
rmp-serde = "1.1.1"
Expand Down
1 change: 0 additions & 1 deletion examples/command_bot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ test = false
anyhow = "1"
tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] }
tracing-subscriber = "0.3.15"
url = "2.2.2"

[dependencies.matrix-sdk]
path = "../../crates/matrix-sdk"
Expand Down
1 change: 0 additions & 1 deletion examples/custom_events/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ test = false

[dependencies]
anyhow = "1"
dirs = "4.0.0"
serde = "1.0"
tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] }
tracing-subscriber = "0.3.15"
Expand Down
1 change: 0 additions & 1 deletion examples/getting_started/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ test = false

[dependencies]
anyhow = "1"
dirs = "4.0.0"
tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] }
tracing-subscriber = "0.3.15"

Expand Down
1 change: 0 additions & 1 deletion testing/matrix-sdk-test-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ test = false
doctest = false

[dependencies]
proc-macro2 = "1.0.37"
quote = "1.0.18"
syn = { version = "1.0.91", features = ["full", "extra-traits"] }
1 change: 0 additions & 1 deletion xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ clap = { version = "4.0.18", features = ["derive"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
fs_extra = "1"
uniffi = { workspace = true }
uniffi_bindgen = { workspace = true }
xshell = "0.1.17"

0 comments on commit be41dcf

Please sign in to comment.