# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.60.0" name = "matrix-sdk-sql" version = "0.1.0-beta.2" authors = ["Charlotte 🦝 Delenk "] description = "SQL-Based State Storage for matrix-sdk" readme = "README.md" keywords = [ "matrix", "sql", ] categories = [ "database", "caching", ] license = "Apache-2.0" repository = "https://github.com/DarkKirb/matrix-sdk-statestore-sql" resolver = "2" [dependencies.anyhow] version = "1.0.57" [dependencies.async-trait] version = "0.1.53" [dependencies.bincode] version = "1.3.3" optional = true [dependencies.dashmap] version = "5.2.0" optional = true [dependencies.educe] version = "0.4.19" features = ["Debug"] optional = true default-features = false [dependencies.futures] version = "0.3.21" [dependencies.matrix-sdk-base] version = "0.5.0" [dependencies.matrix-sdk-crypto] version = "0.5.0" optional = true [dependencies.matrix-sdk-store-encryption] version = "0.1.0" optional = true [dependencies.parking_lot] version = "0.12.0" optional = true [dependencies.ruma] version = "0.6.2" [dependencies.serde] version = "1.0.137" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.81" optional = true [dependencies.sqlx] version = "0.5.13" features = [ "migrate", "json", ] [dev-dependencies.matrix-sdk-base] version = "0.5.0" features = ["testing"] [dev-dependencies.matrix-sdk-crypto] version = "0.5.0" features = ["testing"] [dev-dependencies.matrix-sdk-test] version = "0.5.0" [dev-dependencies.once_cell] version = "1.10.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.tempfile] version = "3.3.0" [dev-dependencies.tokio] version = "1.18.1" features = [ "macros", "rt-multi-thread", ] default-features = false [features] ci = [] default = [ "native-tls", "postgres", ] e2e-encryption = [ "bincode", "dashmap", "educe", "matrix-sdk-base/e2e-encryption", "matrix-sdk-crypto", "matrix-sdk-store-encryption", "parking_lot", "serde", "serde_json", ] native-tls = ["sqlx/runtime-tokio-native-tls"] postgres = ["sqlx/postgres"] rustls = ["sqlx/runtime-tokio-rustls"] sqlite = ["sqlx/sqlite"]