# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70" name = "matrix-sdk-base" version = "0.7.0" authors = ["Damir Jelić "] description = "The base component to build a Matrix client library." homepage = "https://github.com/matrix-org/matrix-rust-sdk" readme = "README.md" keywords = [ "matrix", "chat", "messaging", "ruma", "nio", ] license = "Apache-2.0" repository = "https://github.com/matrix-org/matrix-rust-sdk" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.as_variant] version = "1.2.0" [dependencies.assert_matches] version = "1.5.0" optional = true [dependencies.assert_matches2] version = "0.1.1" optional = true [dependencies.async-trait] version = "0.1.60" [dependencies.bitflags] version = "2.1.0" [dependencies.eyeball] version = "0.8.7" features = ["tracing"] [dependencies.eyeball-im] version = "0.4.1" features = ["tracing"] [dependencies.futures-util] version = "0.3.26" features = ["alloc"] default-features = false [dependencies.http] version = "0.2.6" optional = true [dependencies.matrix-sdk-common] version = "0.7.0" [dependencies.matrix-sdk-crypto] version = "0.7.0" optional = true [dependencies.matrix-sdk-store-encryption] version = "0.7.0" [dependencies.matrix-sdk-test] version = "0.7.0" optional = true [dependencies.once_cell] version = "1.16.0" [dependencies.ruma] version = "0.9.3" features = [ "client-api-c", "compat-upload-signatures", "compat-user-id", "compat-arbitrary-length-ids", "unstable-msc3401", "canonical-json", "unstable-msc3381", ] [dependencies.serde] version = "1.0.151" features = ["rc"] [dependencies.serde_json] version = "1.0.91" [dependencies.thiserror] version = "1.0.38" [dependencies.tokio] version = "1.30.0" features = ["sync"] default-features = false [dependencies.tracing] version = "0.1.40" features = ["std"] default-features = false [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.assert_matches2] version = "0.1.1" [dev-dependencies.assign] version = "1.1.1" [dev-dependencies.futures-executor] version = "0.3.21" [dev-dependencies.http] version = "0.2.6" [dev-dependencies.matrix-sdk-test] version = "0.7.0" [dev-dependencies.stream_assert] version = "0.1.1" [features] automatic-room-key-forwarding = ["matrix-sdk-crypto?/automatic-room-key-forwarding"] default = [] e2e-encryption = ["dep:matrix-sdk-crypto"] experimental-sliding-sync = ["ruma/unstable-msc3575"] js = [ "matrix-sdk-common/js", "matrix-sdk-crypto?/js", "ruma/js", "matrix-sdk-store-encryption/js", ] message-ids = ["matrix-sdk-crypto?/message-ids"] qrcode = ["matrix-sdk-crypto?/qrcode"] testing = [ "dep:assert_matches", "dep:assert_matches2", "dep:http", "dep:matrix-sdk-test", "matrix-sdk-crypto?/testing", ] [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.tokio] version = "1.30.0" features = [ "sync", "rt-multi-thread", "macros", ] default-features = false [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] version = "0.3.33"