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 = "Matrix encryption library" |
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-crypto" |
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 | rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 16 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 17 | [features] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 18 | default = [] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 19 | automatic-room-key-forwarding = [] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 20 | experimental-send-custom-to-device = [] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 21 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 22 | # Enable experimental support for encrypting state events; see |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 23 | # https://github.com/matrix-org/matrix-rust-sdk/issues/5397. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 24 | experimental-encrypted-state-events = [ |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 25 | "matrix-sdk-common/experimental-encrypted-state-events", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 26 | "ruma/unstable-msc4362" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 27 | ] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 28 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 29 | js = ["ruma/js", "vodozemac/js", "matrix-sdk-common/js"] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 30 | qrcode = ["dep:matrix-sdk-qrcode"] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 31 | experimental-algorithms = [] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 32 | uniffi = ["dep:uniffi"] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 33 | _disable-minimum-rotation-period-ms = [] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 34 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 35 | # Private feature, see |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 36 | # https://github.com/matrix-org/matrix-rust-sdk/pull/3749#issuecomment-2312939823 for the gory |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 37 | # details. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 38 | test-send-sync = [] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 39 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 40 | # Testing helpers for implementations based upon this |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 41 | testing = ["matrix-sdk-test"] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 42 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 43 | # Enable experimental support for pushing secrets; see |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 44 | # https://github.com/matrix-org/matrix-spec-proposals/pull/4385 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 45 | experimental-push-secrets = [] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 46 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 47 | [dependencies] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 48 | aes = { version = "0.8.4", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 49 | aquamarine.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 50 | as_variant.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 51 | async-trait.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 52 | bs58 = { version = "0.5.1", default-features = false, features = ["std"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 53 | byteorder.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 54 | cfg-if.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 55 | ctr = { version = "0.9.2", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 56 | eyeball.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 57 | futures-core.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 58 | futures-util.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 59 | hkdf.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 60 | hmac.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 61 | itertools.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 62 | js_option = { version = "0.2.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 63 | matrix-sdk-common.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 64 | matrix-sdk-qrcode = { workspace = true, optional = true } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 65 | matrix-sdk-test = { workspace = true, optional = true } # feature = testing only |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 66 | pbkdf2.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 67 | rand.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 68 | rmp-serde.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 69 | ruma = { workspace = true, features = ["rand", "unstable-msc3814"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 70 | serde = { workspace = true, features = ["derive", "rc"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 71 | serde_json.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 72 | sha2.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 73 | subtle = { version = "2.6.1", default-features = false, features = ["std", "i128"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 74 | thiserror.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 75 | time = { version = "0.3.47", default-features = false, features = ["std", "formatting"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 76 | tokio.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 77 | tokio-stream = { workspace = true, features = ["sync"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 78 | tracing = { workspace = true, features = ["attributes"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 79 | ulid = { version = "1.1.4", default-features = false, features = ["std"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 80 | uniffi = { workspace = true, optional = true } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 81 | url.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 82 | vodozemac.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 83 | zeroize = { workspace = true, features = ["zeroize_derive"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 84 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 85 | [target.'cfg(not(target_family = "wasm"))'.dependencies] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 86 | tokio = { workspace = true, features = ["time"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 87 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 88 | [target.'cfg(target_family = "wasm")'.dependencies] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 89 | tokio.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 90 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 91 | [dev-dependencies] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 92 | anyhow.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 93 | assert_matches.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 94 | assert_matches2.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 95 | futures-executor.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 96 | http.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 97 | insta.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 98 | matrix-sdk-test.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 99 | matrix-sdk-test-utils.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 100 | proptest.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 101 | rmp-serde.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 102 | similar-asserts.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 103 | # required for async_test macro |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 104 | stream_assert.workspace = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 105 | tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 106 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 107 | [lints] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 108 | workspace = true |