chore: Use shorter syntax for workspace inheritance where possible
This commit is contained in:
committed by
Jonas Platte
parent
491f7cd529
commit
3aa356dcd6
@@ -3,7 +3,7 @@ name = "benchmarks"
|
||||
description = "Matrix SDK benchmarks"
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
version = "1.0.0"
|
||||
publish = false
|
||||
|
||||
@@ -13,17 +13,17 @@ release = false
|
||||
[dependencies]
|
||||
criterion = { version = "0.5.1", features = ["async", "async_tokio", "html_reports"] }
|
||||
matrix-sdk = { workspace = true, features = ["native-tls", "e2e-encryption", "sqlite", "testing"] }
|
||||
matrix-sdk-base = { workspace = true }
|
||||
matrix-sdk-crypto = { workspace = true }
|
||||
matrix-sdk-base.workspace = true
|
||||
matrix-sdk-crypto.workspace = true
|
||||
matrix-sdk-sqlite = { workspace = true, features = ["crypto-store"] }
|
||||
matrix-sdk-test = { workspace = true }
|
||||
matrix-sdk-ui = { workspace = true }
|
||||
ruma = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
matrix-sdk-test.workspace = true
|
||||
matrix-sdk-ui.workspace = true
|
||||
ruma.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
tempfile = "3.3.0"
|
||||
tokio = { workspace = true, default-features = false, features = ["rt-multi-thread"] }
|
||||
wiremock = { workspace = true }
|
||||
wiremock.workspace = true
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
pprof = { version = "0.14.0", features = ["flamegraph", "criterion"] }
|
||||
|
||||
@@ -3,7 +3,7 @@ name = "matrix-sdk-crypto-ffi"
|
||||
version = "0.1.0"
|
||||
authors = ["Damir Jelić <poljar@termina.org.uk>"]
|
||||
edition = "2021"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
description = "Uniffi based bindings for the Rust SDK crypto crate"
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
license = "Apache-2.0"
|
||||
@@ -24,23 +24,23 @@ default = ["bundled-sqlite"]
|
||||
bundled-sqlite = ["matrix-sdk-sqlite/bundled"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
futures-util = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
futures-util.workspace = true
|
||||
hmac = "0.12.1"
|
||||
http = { workspace = true }
|
||||
http.workspace = true
|
||||
matrix-sdk-common = { workspace = true, features = ["uniffi"] }
|
||||
matrix-sdk-ffi-macros = { workspace = true }
|
||||
matrix-sdk-ffi-macros.workspace = true
|
||||
pbkdf2 = "0.12.2"
|
||||
rand = { workspace = true }
|
||||
ruma = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
sha2 = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
rand.workspace = true
|
||||
ruma.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
sha2.workspace = true
|
||||
thiserror.workspace = true
|
||||
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
||||
# keep in sync with uniffi dependency in matrix-sdk-ffi, and uniffi_bindgen in ffi CI job
|
||||
uniffi = { workspace = true, features = ["cli"] }
|
||||
vodozemac = { workspace = true }
|
||||
vodozemac.workspace = true
|
||||
zeroize = { workspace = true, features = ["zeroize_derive"] }
|
||||
|
||||
[dependencies.js_int]
|
||||
@@ -65,7 +65,7 @@ uniffi = { workspace = true, features = ["build"] }
|
||||
vergen = { version = "8.2.5", features = ["build", "git", "gitcl"] }
|
||||
|
||||
[dev-dependencies]
|
||||
assert_matches2 = { workspace = true }
|
||||
assert_matches2.workspace = true
|
||||
tempfile = "3.8.0"
|
||||
|
||||
[lints]
|
||||
|
||||
@@ -7,7 +7,7 @@ license = "Apache-2.0"
|
||||
name = "matrix-sdk-ffi-macros"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
version = "0.7.0"
|
||||
publish = false
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ homepage = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
keywords = ["matrix", "chat", "messaging", "ffi"]
|
||||
license = "Apache-2.0"
|
||||
readme = "README.md"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
publish = false
|
||||
|
||||
@@ -21,32 +21,32 @@ default = ["bundled-sqlite"]
|
||||
bundled-sqlite = ["matrix-sdk/bundled-sqlite"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
as_variant = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
as_variant.workspace = true
|
||||
async-compat = "0.2.4"
|
||||
extension-trait = "1.0.1"
|
||||
eyeball-im = { workspace = true }
|
||||
futures-util = { workspace = true }
|
||||
eyeball-im.workspace = true
|
||||
futures-util.workspace = true
|
||||
language-tags = "0.3.2"
|
||||
log-panics = { version = "2", features = ["with-backtrace"] }
|
||||
matrix-sdk-ffi-macros = { workspace = true }
|
||||
matrix-sdk-ffi-macros.workspace = true
|
||||
matrix-sdk-ui = { workspace = true, features = ["uniffi"] }
|
||||
mime = "0.3.16"
|
||||
once_cell = { workspace = true }
|
||||
once_cell.workspace = true
|
||||
ruma = { workspace = true, features = ["html", "unstable-unspecified", "unstable-msc3488", "compat-unset-avatar", "unstable-msc3245-v1-compat", "unstable-msc4278"] }
|
||||
sentry-tracing = "0.36.0"
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
thiserror.workspace = true
|
||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
||||
tracing = { workspace = true }
|
||||
tracing.workspace = true
|
||||
tracing-appender = { version = "0.2.2" }
|
||||
tracing-core = { workspace = true }
|
||||
tracing-core.workspace = true
|
||||
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
||||
uniffi = { workspace = true, features = ["tokio"] }
|
||||
url = { workspace = true }
|
||||
url.workspace = true
|
||||
uuid = { version = "1.4.1", features = ["v4"] }
|
||||
zeroize = { workspace = true }
|
||||
zeroize.workspace = true
|
||||
|
||||
[target.'cfg(not(target_os = "android"))'.dependencies.matrix-sdk]
|
||||
workspace = true
|
||||
|
||||
@@ -8,7 +8,7 @@ license = "Apache-2.0"
|
||||
name = "matrix-sdk-base"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
version = "0.11.0"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
@@ -53,22 +53,22 @@ testing = [
|
||||
unstable-msc4274 = []
|
||||
|
||||
[dependencies]
|
||||
as_variant = { workspace = true }
|
||||
as_variant.workspace = true
|
||||
assert_matches = { workspace = true, optional = true }
|
||||
assert_matches2 = { workspace = true, optional = true }
|
||||
async-trait = { workspace = true }
|
||||
async-trait.workspace = true
|
||||
bitflags = { workspace = true, features = ["serde"] }
|
||||
decancer = "3.2.8"
|
||||
eyeball = { workspace = true, features = ["async-lock"] }
|
||||
eyeball-im = { workspace = true }
|
||||
futures-util = { workspace = true }
|
||||
growable-bloom-filter = { workspace = true }
|
||||
eyeball-im.workspace = true
|
||||
futures-util.workspace = true
|
||||
growable-bloom-filter.workspace = true
|
||||
http = { workspace = true, optional = true }
|
||||
matrix-sdk-common = { workspace = true }
|
||||
matrix-sdk-common.workspace = true
|
||||
matrix-sdk-crypto = { workspace = true, optional = true }
|
||||
matrix-sdk-store-encryption = { workspace = true }
|
||||
matrix-sdk-store-encryption.workspace = true
|
||||
matrix-sdk-test = { workspace = true, optional = true }
|
||||
once_cell = { workspace = true }
|
||||
once_cell.workspace = true
|
||||
regex = "1.11.1"
|
||||
ruma = { workspace = true, features = [
|
||||
"canonical-json",
|
||||
@@ -78,28 +78,28 @@ ruma = { workspace = true, features = [
|
||||
"rand",
|
||||
] }
|
||||
serde = { workspace = true, features = ["rc"] }
|
||||
serde_json = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
tokio = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
unicode-normalization = { workspace = true }
|
||||
serde_json.workspace = true
|
||||
thiserror.workspace = true
|
||||
tokio.workspace = true
|
||||
tracing.workspace = true
|
||||
unicode-normalization.workspace = true
|
||||
uniffi = { workspace = true, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
assert_matches2 = { workspace = true }
|
||||
assert_matches.workspace = true
|
||||
assert_matches2.workspace = true
|
||||
assign = "1.1.1"
|
||||
futures-executor = { workspace = true }
|
||||
http = { workspace = true }
|
||||
matrix-sdk-test = { workspace = true }
|
||||
similar-asserts = { workspace = true }
|
||||
stream_assert = { workspace = true }
|
||||
futures-executor.workspace = true
|
||||
http.workspace = true
|
||||
matrix-sdk-test.workspace = true
|
||||
similar-asserts.workspace = true
|
||||
stream_assert.workspace = true
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
||||
wasm-bindgen-test = { workspace = true }
|
||||
wasm-bindgen-test.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -8,7 +8,7 @@ license = "Apache-2.0"
|
||||
name = "matrix-sdk-common"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
version = "0.11.0"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
@@ -25,17 +25,17 @@ uniffi = ["dep:uniffi"]
|
||||
test-send-sync = []
|
||||
|
||||
[dependencies]
|
||||
async-trait = { workspace = true }
|
||||
eyeball-im = { workspace = true }
|
||||
futures-core = { workspace = true }
|
||||
futures-util = { workspace = true }
|
||||
imbl = { workspace = true }
|
||||
ruma = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
async-trait.workspace = true
|
||||
eyeball-im.workspace = true
|
||||
futures-core.workspace = true
|
||||
futures-util.workspace = true
|
||||
imbl.workspace = true
|
||||
ruma.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
thiserror.workspace = true
|
||||
tokio = { workspace = true, features = ["rt", "time"] }
|
||||
tracing = { workspace = true }
|
||||
tracing.workspace = true
|
||||
uniffi = { workspace = true, optional = true }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
@@ -46,21 +46,21 @@ tokio = { workspace = true, features = ["rt", "macros"] }
|
||||
futures-util = { workspace = true, features = ["channel"] }
|
||||
gloo-timers = { workspace = true, features = ["futures"] }
|
||||
tracing-subscriber = { workspace = true, features = ["fmt", "ansi"] }
|
||||
wasm-bindgen = { workspace = true }
|
||||
wasm-bindgen.workspace = true
|
||||
wasm-bindgen-futures = { version = "0.4.33", optional = true }
|
||||
web-sys = { workspace = true, features = ["console"] }
|
||||
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
insta = { workspace = true }
|
||||
assert_matches.workspace = true
|
||||
insta.workspace = true
|
||||
matrix-sdk-test-macros = { path = "../../testing/matrix-sdk-test-macros" }
|
||||
proptest = { workspace = true }
|
||||
wasm-bindgen-test = { workspace = true }
|
||||
proptest.workspace = true
|
||||
wasm-bindgen-test.workspace = true
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
||||
# Enable the JS feature for getrandom.
|
||||
getrandom = { workspace = true, default-features = false, features = ["js"] }
|
||||
js-sys = { workspace = true }
|
||||
js-sys.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -8,7 +8,7 @@ license = "Apache-2.0"
|
||||
name = "matrix-sdk-crypto"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
version = "0.11.0"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
@@ -37,62 +37,62 @@ testing = ["matrix-sdk-test"]
|
||||
|
||||
[dependencies]
|
||||
aes = "0.8.4"
|
||||
aquamarine = { workspace = true }
|
||||
as_variant = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
aquamarine.workspace = true
|
||||
as_variant.workspace = true
|
||||
async-trait.workspace = true
|
||||
bs58 = { version = "0.5.1" }
|
||||
byteorder = { workspace = true }
|
||||
byteorder.workspace = true
|
||||
cfg-if = "1.0.0"
|
||||
ctr = "0.9.2"
|
||||
eyeball = { workspace = true }
|
||||
futures-core = { workspace = true }
|
||||
futures-util = { workspace = true }
|
||||
hkdf = { workspace = true }
|
||||
hmac = { workspace = true }
|
||||
itertools = { workspace = true }
|
||||
eyeball.workspace = true
|
||||
futures-core.workspace = true
|
||||
futures-util.workspace = true
|
||||
hkdf.workspace = true
|
||||
hmac.workspace = true
|
||||
itertools.workspace = true
|
||||
js_option = "0.1.1"
|
||||
matrix-sdk-common = { workspace = true }
|
||||
matrix-sdk-common.workspace = true
|
||||
matrix-sdk-qrcode = { workspace = true, optional = true }
|
||||
matrix-sdk-test = { workspace = true, optional = true } # feature = testing only
|
||||
pbkdf2 = { workspace = true }
|
||||
rand = { workspace = true }
|
||||
rmp-serde = { workspace = true }
|
||||
pbkdf2.workspace = true
|
||||
rand.workspace = true
|
||||
rmp-serde.workspace = true
|
||||
ruma = { workspace = true, features = ["rand", "canonical-json", "unstable-msc3814"] }
|
||||
serde = { workspace = true, features = ["derive", "rc"] }
|
||||
serde_json = { workspace = true }
|
||||
sha2 = { workspace = true }
|
||||
serde_json.workspace = true
|
||||
sha2.workspace = true
|
||||
subtle = "2.6.1"
|
||||
thiserror = { workspace = true }
|
||||
thiserror.workspace = true
|
||||
time = { version = "0.3.37", features = ["formatting"] }
|
||||
tokio = { workspace = true }
|
||||
tokio.workspace = true
|
||||
tokio-stream = { workspace = true, features = ["sync"] }
|
||||
tracing = { workspace = true, features = ["attributes"] }
|
||||
ulid = { version = "1.1.4" }
|
||||
uniffi = { workspace = true, optional = true }
|
||||
url = { workspace = true }
|
||||
vodozemac = { workspace = true }
|
||||
url.workspace = true
|
||||
vodozemac.workspace = true
|
||||
zeroize = { workspace = true, features = ["zeroize_derive"] }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
tokio = { workspace = true, features = ["time"] }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
tokio = { workspace = true }
|
||||
tokio.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = { workspace = true }
|
||||
assert_matches = { workspace = true }
|
||||
assert_matches2 = { workspace = true }
|
||||
futures-executor = { workspace = true }
|
||||
http = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
assert_matches.workspace = true
|
||||
assert_matches2.workspace = true
|
||||
futures-executor.workspace = true
|
||||
http.workspace = true
|
||||
indoc = "2.0.5"
|
||||
insta = { workspace = true }
|
||||
matrix-sdk-test = { workspace = true }
|
||||
proptest = { workspace = true }
|
||||
rmp-serde = { workspace = true }
|
||||
similar-asserts = { workspace = true }
|
||||
insta.workspace = true
|
||||
matrix-sdk-test.workspace = true
|
||||
proptest.workspace = true
|
||||
rmp-serde.workspace = true
|
||||
similar-asserts.workspace = true
|
||||
# required for async_test macro
|
||||
stream_assert = { workspace = true }
|
||||
stream_assert.workspace = true
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
[lints]
|
||||
|
||||
@@ -5,7 +5,7 @@ repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
description = "Web's IndexedDB Storage backend for matrix-sdk"
|
||||
license = "Apache-2.0"
|
||||
edition = "2021"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
readme = "README.md"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
@@ -20,44 +20,44 @@ e2e-encryption = ["dep:matrix-sdk-crypto"]
|
||||
testing = ["matrix-sdk-crypto?/testing"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
base64 = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
async-trait.workspace = true
|
||||
base64.workspace = true
|
||||
gloo-utils = { version = "0.2.0", features = ["serde"] }
|
||||
growable-bloom-filter = { workspace = true, optional = true }
|
||||
hkdf = { workspace = true }
|
||||
hkdf.workspace = true
|
||||
indexed_db_futures = "0.5.0"
|
||||
js-sys = { workspace = true }
|
||||
js-sys.workspace = true
|
||||
matrix-sdk-base = { workspace = true, features = ["js"], optional = true }
|
||||
matrix-sdk-crypto = { workspace = true, features = ["js"], optional = true }
|
||||
matrix-sdk-store-encryption = { workspace = true }
|
||||
ruma = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
matrix-sdk-store-encryption.workspace = true
|
||||
ruma.workspace = true
|
||||
serde.workspace = true
|
||||
serde-wasm-bindgen = "0.6.5"
|
||||
serde_json = { workspace = true }
|
||||
sha2 = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
tokio = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
wasm-bindgen = { workspace = true }
|
||||
serde_json.workspace = true
|
||||
sha2.workspace = true
|
||||
thiserror.workspace = true
|
||||
tokio.workspace = true
|
||||
tracing.workspace = true
|
||||
wasm-bindgen.workspace = true
|
||||
web-sys = { workspace = true, features = ["IdbKeyRange"] }
|
||||
zeroize = { workspace = true }
|
||||
zeroize.workspace = true
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
# for wasm32 we need to activate this
|
||||
getrandom = { workspace = true, features = ["js"] }
|
||||
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
assert_matches2 = { workspace = true }
|
||||
assert_matches.workspace = true
|
||||
assert_matches2.workspace = true
|
||||
matrix-sdk-base = { workspace = true, features = ["testing"] }
|
||||
matrix-sdk-common = { workspace = true, features = ["js"] }
|
||||
matrix-sdk-crypto = { workspace = true, features = ["js", "testing"] }
|
||||
matrix-sdk-test = { workspace = true }
|
||||
rand = { workspace = true }
|
||||
matrix-sdk-test.workspace = true
|
||||
rand.workspace = true
|
||||
tracing-subscriber = { workspace = true, features = ["registry", "tracing-log"] }
|
||||
uuid = { workspace = true }
|
||||
wasm-bindgen-test = { workspace = true }
|
||||
uuid.workspace = true
|
||||
wasm-bindgen-test.workspace = true
|
||||
web-sys = { workspace = true, features = ["IdbKeyRange", "Window", "Performance"] }
|
||||
|
||||
[lints]
|
||||
|
||||
@@ -8,7 +8,7 @@ homepage = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
|
||||
license = "Apache-2.0"
|
||||
readme = "README.md"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
@@ -19,11 +19,11 @@ rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
|
||||
js = ["vodozemac/js"]
|
||||
|
||||
[dependencies]
|
||||
byteorder = { workspace = true }
|
||||
byteorder.workspace = true
|
||||
qrcode = { version = "0.14.1", default-features = false }
|
||||
ruma-common = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
vodozemac = { workspace = true }
|
||||
ruma-common.workspace = true
|
||||
thiserror.workspace = true
|
||||
vodozemac.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
image = { version = "0.25.5", default-features = false }
|
||||
|
||||
@@ -5,7 +5,7 @@ edition = "2021"
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
description = "Sqlite storage backend for matrix-sdk"
|
||||
license = "Apache-2.0"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
rustdoc-args = ["--generate-link-to-definition"]
|
||||
@@ -20,34 +20,34 @@ event-cache = ["dep:matrix-sdk-base"]
|
||||
state-store = ["dep:matrix-sdk-base"]
|
||||
|
||||
[dependencies]
|
||||
as_variant = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
as_variant.workspace = true
|
||||
async-trait.workspace = true
|
||||
deadpool-sqlite = "0.10.0"
|
||||
itertools = { workspace = true }
|
||||
itertools.workspace = true
|
||||
matrix-sdk-base = { workspace = true, optional = true }
|
||||
matrix-sdk-crypto = { workspace = true, optional = true }
|
||||
matrix-sdk-store-encryption = { workspace = true }
|
||||
matrix-sdk-store-encryption.workspace = true
|
||||
num_cpus = "1.16.0"
|
||||
rmp-serde = { workspace = true }
|
||||
ruma = { workspace = true }
|
||||
rmp-serde.workspace = true
|
||||
ruma.workspace = true
|
||||
rusqlite = { version = "0.33.0", features = ["limits"] }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
thiserror.workspace = true
|
||||
tokio = { workspace = true, features = ["fs"] }
|
||||
tracing = { workspace = true }
|
||||
vodozemac = { workspace = true }
|
||||
tracing.workspace = true
|
||||
vodozemac.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
assert_matches = { workspace = true }
|
||||
assert_matches.workspace = true
|
||||
glob = "0.3.2"
|
||||
matrix-sdk-base = { workspace = true, features = ["testing"] }
|
||||
matrix-sdk-common = { workspace = true }
|
||||
matrix-sdk-common.workspace = true
|
||||
matrix-sdk-crypto = { workspace = true, features = ["testing"] }
|
||||
matrix-sdk-test = { workspace = true }
|
||||
once_cell = { workspace = true }
|
||||
similar-asserts = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
matrix-sdk-test.workspace = true
|
||||
once_cell.workspace = true
|
||||
similar-asserts.workspace = true
|
||||
tempfile.workspace = true
|
||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
||||
|
||||
[lints]
|
||||
|
||||
@@ -5,7 +5,7 @@ edition = "2021"
|
||||
description = "Helpers for encrypted storage keys for the Matrix SDK"
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
license = "Apache-2.0"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
|
||||
@@ -17,22 +17,22 @@ ignored = ["getrandom"] # We do manually enable a feature for it.
|
||||
js = ["dep:getrandom", "getrandom?/js"]
|
||||
|
||||
[dependencies]
|
||||
base64 = { workspace = true }
|
||||
base64.workspace = true
|
||||
blake3 = "1.8.1"
|
||||
chacha20poly1305 = { version = "0.10.1", features = ["std"] }
|
||||
getrandom = { workspace = true, optional = true }
|
||||
hmac = { workspace = true }
|
||||
pbkdf2 = { workspace = true }
|
||||
rand = { workspace = true }
|
||||
rmp-serde = { workspace = true }
|
||||
hmac.workspace = true
|
||||
pbkdf2.workspace = true
|
||||
rand.workspace = true
|
||||
rmp-serde.workspace = true
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_json = { workspace = true }
|
||||
sha2 = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
serde_json.workspace = true
|
||||
sha2.workspace = true
|
||||
thiserror.workspace = true
|
||||
zeroize = { workspace = true, features = ["zeroize_derive"] }
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -5,7 +5,7 @@ version = "0.11.0"
|
||||
edition = "2021"
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
license = "Apache-2.0"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
rustdoc-args = ["--generate-link-to-definition"]
|
||||
@@ -23,52 +23,52 @@ uniffi = ["dep:uniffi", "matrix-sdk/uniffi", "matrix-sdk-base/uniffi"]
|
||||
unstable-msc3956 = ["ruma/unstable-msc3956"]
|
||||
|
||||
[dependencies]
|
||||
as_variant = { workspace = true }
|
||||
async-rx = { workspace = true }
|
||||
async-stream = { workspace = true }
|
||||
as_variant.workspace = true
|
||||
async-rx.workspace = true
|
||||
async-stream.workspace = true
|
||||
async_cell = "0.2.2"
|
||||
bitflags = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
eyeball = { workspace = true }
|
||||
eyeball-im = { workspace = true }
|
||||
eyeball-im-util = { workspace = true }
|
||||
futures-core = { workspace = true }
|
||||
futures-util = { workspace = true }
|
||||
bitflags.workspace = true
|
||||
chrono.workspace = true
|
||||
eyeball.workspace = true
|
||||
eyeball-im.workspace = true
|
||||
eyeball-im-util.workspace = true
|
||||
futures-core.workspace = true
|
||||
futures-util.workspace = true
|
||||
fuzzy-matcher = "0.3.7"
|
||||
growable-bloom-filter = { workspace = true }
|
||||
growable-bloom-filter.workspace = true
|
||||
imbl = { workspace = true, features = ["serde"] }
|
||||
indexmap = { workspace = true }
|
||||
itertools = { workspace = true }
|
||||
indexmap.workspace = true
|
||||
itertools.workspace = true
|
||||
matrix-sdk = { workspace = true, features = ["e2e-encryption"] }
|
||||
matrix-sdk-base = { workspace = true }
|
||||
mime = { workspace = true }
|
||||
once_cell = { workspace = true }
|
||||
pin-project-lite = { workspace = true }
|
||||
matrix-sdk-base.workspace = true
|
||||
mime.workspace = true
|
||||
once_cell.workspace = true
|
||||
pin-project-lite.workspace = true
|
||||
ruma = { workspace = true, features = ["html", "unstable-msc3381"] }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
tokio = { workspace = true }
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
thiserror.workspace = true
|
||||
tokio.workspace = true
|
||||
tokio-stream = { workspace = true, features = ["sync"] }
|
||||
tracing = { workspace = true, features = ["attributes"] }
|
||||
unicode-normalization = { workspace = true }
|
||||
unicode-normalization.workspace = true
|
||||
uniffi = { workspace = true, optional = true }
|
||||
|
||||
emojis = "0.6.4"
|
||||
unicode-segmentation = "1.12.0"
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = { workspace = true }
|
||||
assert-json-diff = { workspace = true }
|
||||
assert_matches = { workspace = true }
|
||||
assert_matches2 = { workspace = true }
|
||||
eyeball-im-util = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
assert-json-diff.workspace = true
|
||||
assert_matches.workspace = true
|
||||
assert_matches2.workspace = true
|
||||
eyeball-im-util.workspace = true
|
||||
matrix-sdk = { workspace = true, features = ["testing", "sqlite"] }
|
||||
matrix-sdk-test = { workspace = true }
|
||||
stream_assert = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
url = { workspace = true }
|
||||
wiremock = { workspace = true }
|
||||
matrix-sdk-test.workspace = true
|
||||
stream_assert.workspace = true
|
||||
tempfile.workspace = true
|
||||
url.workspace = true
|
||||
wiremock.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -8,7 +8,7 @@ license = "Apache-2.0"
|
||||
name = "matrix-sdk"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
version = "0.11.0"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
@@ -66,39 +66,39 @@ unstable-msc4274 = ["matrix-sdk-base/unstable-msc4274"]
|
||||
[dependencies]
|
||||
anyhow = { workspace = true, optional = true }
|
||||
anymap2 = "0.13.0"
|
||||
aquamarine = { workspace = true }
|
||||
as_variant = { workspace = true }
|
||||
aquamarine.workspace = true
|
||||
as_variant.workspace = true
|
||||
assert_matches2 = { workspace = true, optional = true }
|
||||
async-channel = "2.3.1"
|
||||
async-stream = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
async-stream.workspace = true
|
||||
async-trait.workspace = true
|
||||
axum = { version = "0.8.1", optional = true }
|
||||
bytes = "1.9.0"
|
||||
bytesize = "2.0.1"
|
||||
cfg-if = "1.0.0"
|
||||
event-listener = "5.4.0"
|
||||
eyeball = { workspace = true }
|
||||
eyeball-im = { workspace = true }
|
||||
eyeball.workspace = true
|
||||
eyeball-im.workspace = true
|
||||
eyre = { version = "0.6.12", optional = true }
|
||||
futures-core = { workspace = true }
|
||||
futures-util = { workspace = true }
|
||||
http = { workspace = true }
|
||||
futures-core.workspace = true
|
||||
futures-util.workspace = true
|
||||
http.workspace = true
|
||||
imbl = { workspace = true, features = ["serde"] }
|
||||
indexmap = { workspace = true }
|
||||
indexmap.workspace = true
|
||||
js_int = "0.2.2"
|
||||
language-tags = { version = "0.3.2" }
|
||||
matrix-sdk-base = { workspace = true }
|
||||
matrix-sdk-common = { workspace = true }
|
||||
matrix-sdk-base.workspace = true
|
||||
matrix-sdk-common.workspace = true
|
||||
matrix-sdk-ffi-macros = { workspace = true, optional = true }
|
||||
matrix-sdk-indexeddb = { workspace = true, optional = true }
|
||||
matrix-sdk-sqlite = { workspace = true, optional = true }
|
||||
matrix-sdk-test = { workspace = true, optional = true }
|
||||
mime = { workspace = true }
|
||||
mime.workspace = true
|
||||
mime2ext = "0.1.53"
|
||||
oauth2 = { version = "5.0.0", default-features = false, features = ["reqwest", "timing-resistant-secret-traits"] }
|
||||
once_cell = { workspace = true }
|
||||
once_cell.workspace = true
|
||||
percent-encoding = "2.3.1"
|
||||
pin-project-lite = { workspace = true }
|
||||
pin-project-lite.workspace = true
|
||||
rand = { workspace = true, optional = true }
|
||||
ruma = { workspace = true, features = [
|
||||
"rand",
|
||||
@@ -111,12 +111,12 @@ ruma = { workspace = true, features = [
|
||||
"unstable-msc4108",
|
||||
"unstable-msc4278",
|
||||
] }
|
||||
serde = { workspace = true }
|
||||
serde_html_form = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
sha2 = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
serde.workspace = true
|
||||
serde_html_form.workspace = true
|
||||
serde_json.workspace = true
|
||||
sha2.workspace = true
|
||||
tempfile.workspace = true
|
||||
thiserror.workspace = true
|
||||
tokio-stream = { workspace = true, features = ["sync"] }
|
||||
tokio-util = "0.7.13"
|
||||
tower = { version = "0.5.2", features = ["util"], optional = true }
|
||||
@@ -125,8 +125,8 @@ uniffi = { workspace = true, optional = true }
|
||||
url = { workspace = true, features = ["serde"] }
|
||||
urlencoding = "2.1.3"
|
||||
uuid = { workspace = true, features = ["serde", "v4"], optional = true }
|
||||
vodozemac = { workspace = true }
|
||||
zeroize = { workspace = true }
|
||||
vodozemac.workspace = true
|
||||
zeroize.workspace = true
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
backon = "1.5.0"
|
||||
@@ -142,28 +142,28 @@ reqwest = { workspace = true, features = ["gzip", "http2"] }
|
||||
tokio = { workspace = true, features = ["macros"] }
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = { workspace = true }
|
||||
assert-json-diff = { workspace = true }
|
||||
assert_matches = { workspace = true }
|
||||
assert_matches2 = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
assert-json-diff.workspace = true
|
||||
assert_matches.workspace = true
|
||||
assert_matches2.workspace = true
|
||||
dirs = "6.0.0"
|
||||
futures-executor = { workspace = true }
|
||||
insta = { workspace = true }
|
||||
futures-executor.workspace = true
|
||||
insta.workspace = true
|
||||
matrix-sdk-base = { workspace = true, features = ["testing"] }
|
||||
matrix-sdk-test = { workspace = true }
|
||||
matrix-sdk-test.workspace = true
|
||||
serde_urlencoded = "0.7.1"
|
||||
similar-asserts = { workspace = true }
|
||||
stream_assert = { workspace = true }
|
||||
similar-asserts.workspace = true
|
||||
stream_assert.workspace = true
|
||||
tokio-test = "0.4.4"
|
||||
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
||||
proptest = { workspace = true }
|
||||
proptest.workspace = true
|
||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
||||
wiremock = { workspace = true }
|
||||
wiremock.workspace = true
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
||||
wasm-bindgen-test = { workspace = true }
|
||||
wasm-bindgen-test.workspace = true
|
||||
|
||||
[[test]]
|
||||
name = "integration"
|
||||
|
||||
@@ -13,12 +13,12 @@ name = "example-autojoin"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
# when copy-pasting this, please use a git dependency or make sure that you
|
||||
# have copied the example as it was at the time of the release you use.
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk" }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -13,15 +13,15 @@ name = "example-backups"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
clap = { version = "4.0.15", features = ["derive"] }
|
||||
futures-util = { workspace = true }
|
||||
futures-util.workspace = true
|
||||
# when copy-pasting this, please use a git dependency or make sure that you
|
||||
# have copied the example as it was at the time of the release you use.
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk" }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
url = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
url.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -13,12 +13,12 @@ name = "example-command-bot"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
# when copy-pasting this, please use a git dependency or make sure that you
|
||||
# have copied the example as it was at the time of the release you use.
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk" }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -13,13 +13,13 @@ name = "example-cross-signing-bootstrap"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
# when copy-pasting this, please use a git dependency or make sure that you
|
||||
# have copied the example as it was at the time of the release you use.
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk" }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
url = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
url.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -13,13 +13,13 @@ name = "example-custom-events"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
# when copy-pasting this, please use a git dependency or make sure that you
|
||||
# have copied the example as it was at the time of the release you use.
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk" }
|
||||
serde = "1.0"
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -13,15 +13,15 @@ name = "example-emoji-verification"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
clap = { version = "4.0.15", features = ["derive"] }
|
||||
futures-util = { workspace = true }
|
||||
futures-util.workspace = true
|
||||
# when copy-pasting this, please use a git dependency or make sure that you
|
||||
# have copied the example as it was at the time of the release you use.
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk" }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
url = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
url.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -13,13 +13,13 @@ name = "example-get-profiles"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
# when copy-pasting this, please use a git dependency or make sure that you
|
||||
# have copied the example as it was at the time of the release you use.
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk" }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
url = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
url.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -13,12 +13,12 @@ name = "example-getting-started"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
# when copy-pasting this, please use a git dependency or make sure that you
|
||||
# have copied the example as it was at the time of the release you use.
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk" }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -13,14 +13,14 @@ name = "example-image-bot"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
# when copy-pasting this, please use a git dependency or make sure that you
|
||||
# have copied the example as it was at the time of the release you use.
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk" }
|
||||
mime = "0.3.16"
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
url = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
url.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -13,13 +13,13 @@ name = "example-login"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
# when copy-pasting this, please use a git dependency or make sure that you
|
||||
# have copied the example as it was at the time of the release you use.
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk", features = ["sso-login"] }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
url = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
url.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -13,16 +13,16 @@ name = "example-oauth-cli"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
dirs = "6.0.0"
|
||||
futures-util = { workspace = true }
|
||||
futures-util.workspace = true
|
||||
matrix-sdk-ui = { path = "../../crates/matrix-sdk-ui" }
|
||||
rand = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
rand.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
url = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
url.workspace = true
|
||||
|
||||
[dependencies.matrix-sdk]
|
||||
path = "../../crates/matrix-sdk"
|
||||
|
||||
@@ -13,16 +13,16 @@ name = "example-persist-session"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
dirs = "6.0.0"
|
||||
# when copy-pasting this, please use a git dependency or make sure that you
|
||||
# have copied the example as it was at the time of the release you use.
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk" }
|
||||
rand = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
rand.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -13,11 +13,11 @@ name = "example-qr-login"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
clap = { version = "4.0.15", features = ["derive"] }
|
||||
futures-util = { workspace = true }
|
||||
futures-util.workspace = true
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
url = "2.3.1"
|
||||
|
||||
[dependencies.matrix-sdk]
|
||||
|
||||
@@ -13,14 +13,14 @@ name = "example-secret-storage"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
clap = { version = "4.0.15", features = ["derive"] }
|
||||
# when copy-pasting this, please use a git dependency or make sure that you
|
||||
# have copied the example as it was at the time of the release you use.
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk" }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
url = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
url.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -13,16 +13,16 @@ name = "example-timeline"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
clap = { version = "4.0.16", features = ["derive"] }
|
||||
futures-util = { workspace = true }
|
||||
futures-util.workspace = true
|
||||
# when copy-pasting this, please use a git dependency or make sure that you
|
||||
# have copied the example as it was at the time of the release you use.
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk" }
|
||||
matrix-sdk-ui = { path = "../../crates/matrix-sdk-ui" }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { workspace = true }
|
||||
url = { workspace = true }
|
||||
tracing-subscriber.workspace = true
|
||||
url.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -16,20 +16,20 @@ test = false
|
||||
clap = { version = "4.0.15", features = ["derive", "env"] }
|
||||
color-eyre = "0.6.2"
|
||||
crossterm = "0.28.1"
|
||||
futures-util = { workspace = true }
|
||||
imbl = { workspace = true }
|
||||
itertools = { workspace = true }
|
||||
futures-util.workspace = true
|
||||
imbl.workspace = true
|
||||
itertools.workspace = true
|
||||
matrix-sdk = { path = "../../crates/matrix-sdk", features = ["sso-login", "experimental-share-history-on-invite"] }
|
||||
matrix-sdk-base = { path = "../../crates/matrix-sdk-base" }
|
||||
matrix-sdk-common = { path = "../../crates/matrix-sdk-common" }
|
||||
matrix-sdk-ui = { path = "../../crates/matrix-sdk-ui" }
|
||||
ratatui = { version = "0.29.0", features = ["unstable-widget-ref"] }
|
||||
rpassword = "7.3.1"
|
||||
serde_json = { workspace = true }
|
||||
serde_json.workspace = true
|
||||
strum = { version = "0.27.1", features = ["derive"] }
|
||||
throbber-widgets-tui = "0.8.0"
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
tracing = { workspace = true }
|
||||
tracing.workspace = true
|
||||
tracing-appender = { version = "0.2.2" }
|
||||
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
||||
tui-framework-experiment = "0.4.0"
|
||||
|
||||
@@ -10,31 +10,31 @@ license = "Apache-2.0"
|
||||
release = false
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = { workspace = true }
|
||||
assert_matches = { workspace = true }
|
||||
assert_matches2 = { workspace = true }
|
||||
anyhow.workspace = true
|
||||
assert_matches.workspace = true
|
||||
assert_matches2.workspace = true
|
||||
assign = "1"
|
||||
eyeball = { workspace = true }
|
||||
eyeball-im = { workspace = true }
|
||||
eyeball.workspace = true
|
||||
eyeball-im.workspace = true
|
||||
futures = { version = "0.3.29", features = ["executor"] }
|
||||
futures-core = { workspace = true }
|
||||
futures-util = { workspace = true }
|
||||
http = { workspace = true }
|
||||
futures-core.workspace = true
|
||||
futures-util.workspace = true
|
||||
http.workspace = true
|
||||
json-structural-diff = "0.1.0"
|
||||
matrix-sdk = { workspace = true, default-features = true, features = ["testing", "qrcode", "experimental-share-history-on-invite"] }
|
||||
matrix-sdk-base = { workspace = true, default-features = true, features = ["testing", "qrcode"] }
|
||||
matrix-sdk-test = { workspace = true }
|
||||
matrix-sdk-test.workspace = true
|
||||
matrix-sdk-ui = { workspace = true, default-features = true }
|
||||
once_cell = { workspace = true }
|
||||
rand = { workspace = true }
|
||||
reqwest = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
similar-asserts = { workspace = true }
|
||||
stream_assert = { workspace = true }
|
||||
once_cell.workspace = true
|
||||
rand.workspace = true
|
||||
reqwest.workspace = true
|
||||
serde_json.workspace = true
|
||||
similar-asserts.workspace = true
|
||||
stream_assert.workspace = true
|
||||
tempfile = "3.3.0"
|
||||
tokio = { workspace = true, features = ["rt", "rt-multi-thread", "macros"] }
|
||||
tracing = { workspace = true }
|
||||
wiremock = { workspace = true }
|
||||
tracing.workspace = true
|
||||
wiremock.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -8,7 +8,7 @@ license = "Apache-2.0"
|
||||
name = "matrix-sdk-test-macros"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
version = "0.11.0"
|
||||
|
||||
[package.metadata.release]
|
||||
|
||||
@@ -8,7 +8,7 @@ license = "Apache-2.0"
|
||||
name = "matrix-sdk-test"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
rust-version = { workspace = true }
|
||||
rust-version.workspace = true
|
||||
version = "0.11.0"
|
||||
|
||||
[package.metadata.release]
|
||||
@@ -19,28 +19,28 @@ test = false
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
as_variant = { workspace = true }
|
||||
http = { workspace = true }
|
||||
insta = { workspace = true }
|
||||
as_variant.workspace = true
|
||||
http.workspace = true
|
||||
insta.workspace = true
|
||||
matrix-sdk-common = { version = "0.11.0", path = "../../crates/matrix-sdk-common" }
|
||||
matrix-sdk-test-macros = { version = "0.11.0", path = "../matrix-sdk-test-macros" }
|
||||
once_cell = { workspace = true }
|
||||
once_cell.workspace = true
|
||||
# Enable the unstable feature for polls support.
|
||||
# "client-api-s" enables need the "server" feature of ruma-client-api, which is needed to serialize Response objects to JSON.
|
||||
ruma = { workspace = true, features = ["canonical-json", "client-api-s", "rand", "unstable-msc3381"] }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
vodozemac = { workspace = true }
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
vodozemac.workspace = true
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
ctor = "0.2.9"
|
||||
tokio = { workspace = true, features = ["rt", "macros"] }
|
||||
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
||||
wiremock = { workspace = true }
|
||||
wiremock.workspace = true
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
getrandom = { version = "0.2.6", default-features = false, features = ["js"] }
|
||||
wasm-bindgen-test = { workspace = true }
|
||||
wasm-bindgen-test.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
+2
-2
@@ -17,6 +17,6 @@ camino = "1.0.8"
|
||||
clap = { version = "4.0.18", features = ["derive"] }
|
||||
fs_extra = "1"
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_json = { workspace = true }
|
||||
uniffi_bindgen = { workspace = true }
|
||||
serde_json.workspace = true
|
||||
uniffi_bindgen.workspace = true
|
||||
xshell = "0.2.2"
|
||||
|
||||
Reference in New Issue
Block a user