| 1 | [package] |
| 2 | authors = ["Damir Jelić <poljar@termina.org.uk>"] |
| 3 | description = "Helpers to write tests for the Matrix SDK" |
| 4 | edition = "2024" |
| 5 | homepage = "https://github.com/matrix-org/matrix-rust-sdk" |
| 6 | keywords = ["matrix", "chat", "messaging", "ruma"] |
| 7 | license = "Apache-2.0" |
| 8 | name = "matrix-sdk-test" |
| 9 | readme = "README.md" |
| 10 | repository = "https://github.com/matrix-org/matrix-rust-sdk" |
| 11 | rust-version.workspace = true |
| 12 | version = "0.18.0" |
| 13 | |
| 14 | [package.metadata.release] |
| 15 | release = true |
| 16 | |
| 17 | [lib] |
| 18 | test = false |
| 19 | doctest = false |
| 20 | |
| 21 | [features] |
| 22 | experimental-encrypted-state-events = ["ruma/unstable-msc4362"] |
| 23 | |
| 24 | [dependencies] |
| 25 | as_variant.workspace = true |
| 26 | http.workspace = true |
| 27 | insta.workspace = true |
| 28 | matrix-sdk-common = { version = "0.18.0", path = "../../crates/matrix-sdk-common" } |
| 29 | matrix-sdk-test-macros = { version = "0.18.0", path = "../matrix-sdk-test-macros" } |
| 30 | # Enable the unstable feature for polls support. |
| 31 | # "client-api-s" enables need the "server" feature of ruma-client-api, which is needed to serialize Response objects to JSON. |
| 32 | ruma = { workspace = true, features = ["client-api-s", "rand", "unstable-msc3381", "unstable-msc4274"] } |
| 33 | serde.workspace = true |
| 34 | serde_json.workspace = true |
| 35 | sha2.workspace = true |
| 36 | vodozemac.workspace = true |
| 37 | |
| 38 | [target.'cfg(not(target_family = "wasm"))'.dependencies] |
| 39 | ctor = "0.2.9" |
| 40 | tokio = { workspace = true, features = ["rt", "macros"] } |
| 41 | tracing-subscriber = { workspace = true, features = ["env-filter"] } |
| 42 | wiremock.workspace = true |
| 43 | |
| 44 | [target.'cfg(target_family = "wasm")'.dependencies] |
| 45 | getrandom = { workspace = true, features = ["wasm_js"] } |
| 46 | wasm-bindgen-test.workspace = true |
| 47 | |
| 48 | [lints] |
| 49 | workspace = true |