[package]
edition = "2021"
name = "transientdb"
version = "0.2.5"
authors = ["Sovran.la <support@sovran.la>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, thread-safe temporary data storage system designed for efficient handling of transient data in Rust applications"
readme = "README.md"
keywords = [
"database",
"storage",
"temporary",
"thread-safe",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/sovran-rs/transientdb"
[features]
default = []
web = [
"web-sys",
"js-sys",
"wasm-bindgen",
"wasm-bindgen-futures",
"futures-channel",
]
[lib]
name = "transientdb"
path = "src/lib.rs"
[[bin]]
name = "release"
path = "tools/release.rs"
[[example]]
name = "directory_example"
path = "examples/directory_example.rs"
[[example]]
name = "memory_example"
path = "examples/memory_example.rs"
[[test]]
name = "performance_tests"
path = "tests/performance_tests.rs"
[[test]]
name = "recovery_tests"
path = "tests/recovery_tests.rs"
[[test]]
name = "stress_tests"
path = "tests/stress_tests.rs"
[[test]]
name = "transient_unit_tests"
path = "tests/transient_unit_tests.rs"
[[test]]
name = "transient_wasm_tests"
path = "tests/transient_wasm_tests.rs"
[dependencies.chrono]
version = "0.4"
[dependencies.futures-channel]
version = "0.3"
optional = true
[dependencies.js-sys]
version = "0.3"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.toml_edit]
version = "0.22"
[dependencies.wasm-bindgen]
version = "0.2"
optional = true
[dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true
[dependencies.web-sys]
version = "0.3"
features = [
"console",
"Window",
"Event",
"EventTarget",
"IdbFactory",
"IdbDatabase",
"IdbObjectStore",
"IdbObjectStoreParameters",
"IdbOpenDbRequest",
"IdbRequest",
"IdbTransaction",
"IdbTransactionMode",
"IdbVersionChangeEvent",
"DomStringList",
]
optional = true
[dev-dependencies.rand]
version = "0.9.0-alpha.2"
[dev-dependencies.tempfile]
version = "3.14.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.gloo-timers]
version = "0.3"
features = ["futures"]
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(wasm_bindgen_unstable_test_coverage)"]