[dependencies.bincode]
default-features = false
features = ["serde", "std"]
version = "2"
[dependencies.dbstruct-derive]
version = "0.4.0"
[dependencies.rocksdb]
optional = true
version = "0.21"
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.sled]
optional = true
version = "0.34"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tempdir]
version = "0.3"
[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3"
[dev-dependencies.trybuild]
version = "1"
[[example]]
name = "advanced"
path = "examples/advanced.rs"
[[example]]
name = "map_wrapper"
path = "examples/map_wrapper.rs"
[[example]]
name = "pass_in_database"
path = "examples/pass_in_database.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "trivial"
path = "examples/trivial.rs"
[[example]]
name = "vecdeque"
path = "examples/vecdeque.rs"
[features]
default = ["sled"]
[lib]
name = "dbstruct"
path = "src/lib.rs"
[package]
authors = ["David Kleingeld"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["database", "caching"]
description = "Build a typed database by defining a struct"
edition = "2021"
exclude = [".github/", ".gitignore"]
keywords = ["database", "typed-database", "sled", "serde"]
license = "MIT"
name = "dbstruct"
readme = "Readme.md"
repository = "https://github.com/dvdsk/dbstruct"
resolver = "2"
rust-version = "1.60"
version = "0.6.0"
[[test]]
name = "default_trait"
path = "tests/default_trait.rs"
[[test]]
name = "error_handling"
path = "tests/error_handling.rs"
[[test]]
name = "macro_output"
path = "tests/macro_output.rs"
[[test]]
name = "persistance"
path = "tests/persistance.rs"
[[test]]
name = "setup_tracing"
path = "tests/setup_tracing.rs"
[[test]]
name = "simple_field"
path = "tests/simple_field.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[[test]]
name = "vec_deque"
path = "tests/vec_deque.rs"