7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 1 | [package] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 2 | authors = ["Damir Jelić <poljar@termina.org.uk>"] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 3 | description = "Collection of common types and imports used in the matrix-sdk" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 4 | edition = "2024" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 5 | homepage = "https://github.com/matrix-org/matrix-rust-sdk" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 6 | keywords = ["matrix", "chat", "messaging", "ruma", "nio"] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 7 | license = "Apache-2.0" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 8 | name = "matrix-sdk-common" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 9 | readme = "README.md" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 10 | repository = "https://github.com/matrix-org/matrix-rust-sdk" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 11 | rust-version.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 12 | version = "0.18.0" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 13 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 14 | [package.metadata.docs.rs] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 15 | default-target = "x86_64-unknown-linux-gnu" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 16 | targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 17 | rustdoc-args = ["--generate-link-to-definition"] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 18 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 19 | [features] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 20 | js = ["wasm-bindgen-futures"] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 21 | uniffi = ["dep:uniffi"] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 22 | # Private feature, see |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 23 | # https://github.com/matrix-org/matrix-rust-sdk/pull/3749#issuecomment-2312939823 for the gory |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 24 | # details. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 25 | test-send-sync = [] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 26 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 27 | # Enable experimental support for encrypting state events; see |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 28 | # https://github.com/matrix-org/matrix-rust-sdk/issues/5397. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 29 | experimental-encrypted-state-events = [] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 30 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 31 | [dependencies] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 32 | eyeball-im.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 33 | futures-core.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 34 | futures-util.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 35 | imbl.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 36 | ruma.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 37 | serde.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 38 | serde_json.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 39 | thiserror.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 40 | tracing.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 41 | uniffi = { workspace = true, optional = true } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 42 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 43 | [target.'cfg(not(target_family = "wasm"))'.dependencies] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 44 | # Enable the test macro. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 45 | tokio = { workspace = true, features = ["rt", "time", "macros"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 46 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 47 | [target.'cfg(target_family = "wasm")'.dependencies] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 48 | futures-executor.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 49 | futures-util = { workspace = true, features = ["channel"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 50 | gloo-timers = { workspace = true, features = ["futures"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 51 | tokio = { workspace = true, features = ["sync", "macros", "time"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 52 | tracing-subscriber = { workspace = true, features = ["fmt", "ansi"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 53 | wasm-bindgen.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 54 | wasm-bindgen-futures = { version = "0.4.33", optional = true } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 55 | web-sys = { workspace = true, features = ["console"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 56 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 57 | [dev-dependencies] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 58 | assert_matches.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 59 | assert_matches2.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 60 | insta.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 61 | matrix-sdk-test-macros = { path = "../../testing/matrix-sdk-test-macros" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 62 | matrix-sdk-test-utils.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 63 | proptest.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 64 | wasm-bindgen-test.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 65 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 66 | [target.'cfg(target_family = "wasm")'.dev-dependencies] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 67 | # Enable the JS feature for getrandom. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 68 | getrandom = { workspace = true, default-features = false, features = ["wasm_js"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 69 | getrandom3 = { version = "0.3.4", package = "getrandom", default-features = false, features = ["wasm_js"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 70 | js-sys.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 71 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 72 | [lints] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 73 | workspace = true |