| 1 | [package] |
| 2 | name = "macltok" |
| 3 | version = "0.1.0" |
| 4 | edition = "2024" |
| 5 | description = "A compact application backend on top of the Matrix Rust SDK" |
| 6 | |
| 7 | [features] |
| 8 | default = [] |
| 9 | serde = ["dep:serde"] |
| 10 | sqlite = ["matrix-sdk/sqlite", "serde", "dep:url"] |
| 11 | bundled-sqlite = ["sqlite", "matrix-sdk/bundled-sqlite"] |
| 12 | |
| 13 | [dependencies] |
| 14 | futures-util = { version = "0.3.31", default-features = false, features = ["std"] } |
| 15 | http = "1" |
| 16 | matrix-sdk = { version = "0.18.0", default-features = false, features = ["e2e-encryption"] } |
| 17 | matrix-sdk-crypto = { version = "0.18.0", default-features = false } |
| 18 | matrix-sdk-ui = { version = "0.18.0", default-features = false } |
| 19 | ruma = { version = "0.16.0", default-features = false } |
| 20 | serde = { version = "1.0.219", features = ["derive", "rc"], optional = true } |
| 21 | thiserror = "2.0.16" |
| 22 | mime = "0.3.17" |
| 23 | sha2 = "0.10.9" |
| 24 | tokio = { version = "1.47.1", features = ["macros", "sync"] } |
| 25 | tracing = "0.1.41" |
| 26 | url = { version = "2.5.7", optional = true } |
| 27 | |
| 28 | [dev-dependencies] |
| 29 | matrix-sdk = { version = "0.18.0", default-features = false, features = ["testing"] } |
| 30 | matrix-sdk-test = "0.18.0" |
| 31 | serde_json = "1.0.143" |
| 32 | tokio = { version = "1.47.1", features = ["macros", "rt-multi-thread", "signal", "time"] } |
| 33 | wiremock = "0.6.5" |
| 34 | |
| 35 | [[example]] |
| 36 | name = "headless" |
| 37 | required-features = ["sqlite"] |
| 38 | |
| 39 | [lints.rust] |
| 40 | unsafe_code = "forbid" |
| 41 | |
| 42 | [lints.clippy] |
| 43 | all = "warn" |