/ Cargo.toml
Cargo.toml
1 [dependencies] 2 serde = {version = "1.0", features = ["derive"]} 3 chrono = {version = "0.4.26", features = ["clock"]} 4 matrix-sdk = {version = "0.13", features = ["sqlite"]} 5 tokio = {version = "1.29.1", features = ["full"]} 6 anyhow = "1.0.71" 7 tracing-subscriber = "0.3.17" 8 futures = "0.3.28" 9 thiserror = "1.0.43" 10 dirs = "5.0.1" 11 rand = "0.8.5" 12 serde_json = "1.0.103" 13 # Necessary for compatibility with `Tokio` > 0.2 14 async-std = {version = "1", features = ["attributes", "tokio1"]} 15 clap = {version = "4.3.19", features = ["unstable-doc"]} 16 nom = "7.1.3" 17 ctrlc-async = "3.2.2" 18 # The requirements to get the following three libraries to work together are rather annoying to meet; 19 # The common constraint seems to be `rusqlite`, so we need to make sure that: 20 # - `rusqlite` is at the same version than `matrix-sdk` is using (_c.f._ https://github.com/matrix-org/matrix-rust-sdk/blob/main/crates/matrix-sdk-sqlite/Cargo.toml); 21 # - `r2d2_sqlite` is at a version that uses the same `rusqlite` version (_c.f._ https://github.com/ivanceras/r2d2-sqlite/blob/master/Cargo.toml); 22 # _c.f._ https://github.com/matrix-org/matrix-rust-sdk/issues/3689#issuecomment-2225348144 . 23 rusqlite = {version = "0.35.0", features = ["chrono"]} 24 r2d2 = "0.8.10" 25 r2d2_sqlite = "0.28.0" 26 27 [package] 28 name = "alfred" 29 version = "0.1.0" 30 edition = "2021"