[package] name = "solomondb" version = "0.0.1-beta.2" publish = true edition = "2021" readme = "CARGO.md" keywords = [ "database", "embedded-database", "graph-database", "key-value", "kv-store", ] categories = ["database-implementations", "data-structures", "embedded"] description = "An embedded and distributed Gremlin-compatible graph database." homepage = "https://github.com/nomadiz/solomon-db" documentation = "https://nomadiz.github.io/solomon-db/" repository = "https://github.com/nomadiz/solomon-db" include = ["**/*.rs", "Cargo.toml"] license = "MIT" [features] default = ["kv-rocksdb", "kv-redb", "ql-gremlin", "test-suite"] kv-rocksdb = ["dep:rocksdb"] kv-redb = ["dep:redb"] ql-gremlin = ["dep:solomon-gremlin"] test-suite = [] debug-suite = [] http = ["dep:surf"] [dependencies] redb = { version = "0.10.0", optional = true } rocksdb = { version = "0.19.0", optional = true, features = [ "multi-threaded-cf", ] } chrono = "0.4.22" thiserror = "1.0.37" async-trait = "0.1.58" futures = "0.3.25" rand = "0.8.5" uuid = { version = "1.2.1", features = ["v4"] } serde_json = "1.0.87" lazy_static = "1.4.0" byteorder = "1.4.3" serde = { version = "1.0.147", features = ["derive"] } log = "0.4.17" solomon-gremlin = { path = "../gremlin", version = "0.0.2", optional = true } pin-project-lite = "0.2.9" [dev-dependencies] tokio = { version = "1.21.2", features = ["macros", "rt"] } [target.'cfg(target_arch = "wasm32")'.dependencies] surf = { version = "2.3.2", optional = true, default-features = false, features = [ "encoding", "wasm-client", ] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] surf = { version = "2.3.2", optional = true, default-features = false, features = [ "encoding", "curl-client", ] } [lib] name = "db"