| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "mls-rs-provider-sqlite" |
| 15 |
version = "0.15.0" |
| 16 |
build = false |
| 17 |
autolib = false |
| 18 |
autobins = false |
| 19 |
autoexamples = false |
| 20 |
autotests = false |
| 21 |
autobenches = false |
| 22 |
description = "SQLite based state storage for mls-rs" |
| 23 |
homepage = "https://github.com/awslabs/mls-rs" |
| 24 |
readme = false |
| 25 |
keywords = [ |
| 26 |
"mls", |
| 27 |
"mls-rs", |
| 28 |
] |
| 29 |
license = "Apache-2.0 OR MIT" |
| 30 |
repository = "https://github.com/awslabs/mls-rs" |
| 31 |
|
| 32 |
[features] |
| 33 |
default = ["sqlcipher-bundled"] |
| 34 |
sqlcipher = [ |
| 35 |
"sqlite", |
| 36 |
"rusqlite/sqlcipher", |
| 37 |
] |
| 38 |
sqlcipher-bundled = [ |
| 39 |
"sqlite", |
| 40 |
"rusqlite/bundled-sqlcipher", |
| 41 |
] |
| 42 |
sqlite = [] |
| 43 |
sqlite-bundled = [ |
| 44 |
"sqlite", |
| 45 |
"rusqlite/bundled", |
| 46 |
] |
| 47 |
|
| 48 |
[lib] |
| 49 |
name = "mls_rs_provider_sqlite" |
| 50 |
path = "src/lib.rs" |
| 51 |
|
| 52 |
[dependencies] |
| 53 |
async-trait = "^0.1" |
| 54 |
maybe-async = "0.2.10" |
| 55 |
rand = "0.8" |
| 56 |
thiserror = "1.0.40" |
| 57 |
|
| 58 |
[dependencies.hex] |
| 59 |
version = "0.4" |
| 60 |
|
| 61 |
[dependencies.mls-rs-core] |
| 62 |
version = "0.21.0" |
| 63 |
path = "../mls-rs-core" |
| 64 |
|
| 65 |
[dependencies.rusqlite] |
| 66 |
version = "^0.31" |
| 67 |
default-features = false |
| 68 |
|
| 69 |
[dependencies.wasm-bindgen] |
| 70 |
version = "0.2" |
| 71 |
optional = true |
| 72 |
|
| 73 |
[dependencies.zeroize] |
| 74 |
version = "1" |
| 75 |
features = ["zeroize_derive"] |
| 76 |
|
| 77 |
[dev-dependencies] |
| 78 |
anyhow = "1" |
| 79 |
assert_matches = "1" |
| 80 |
tempfile = "3" |
| 81 |
|
| 82 |
[lints.rust.unexpected_cfgs] |
| 83 |
level = "warn" |
| 84 |
priority = 0 |
| 85 |
check-cfg = ["cfg(mls_build_async)"] |