# 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" name = "cuttlestore" version = "0.2.1" authors = ["Kaan Barmore-Genç "] description = "A generic API for interacting with key-value stores that can be selected at runtime." readme = "Readme.md" license = "MIT" repository = "https://github.com/SeriousBug/cuttlestore" [[bench]] name = "put-sequential" harness = false [[bench]] name = "put-concurrent" harness = false [[bench]] name = "get-concurrent" harness = false [[bench]] name = "get-sequential" harness = false [dependencies.async-stream] version = "0.3.3" [dependencies.async-trait] version = "0.1.60" [dependencies.bb8] version = "0.8" optional = true [dependencies.bb8-redis] version = "0.12" optional = true [dependencies.bincode] version = "1.3.3" [dependencies.dashmap] version = "5.4" optional = true [dependencies.futures] version = "0.3.25" [dependencies.lazy-regex] version = "2.4.1" [dependencies.log] version = "0.4" optional = true [dependencies.redis] version = "0.22" features = [ "tokio-comp", "tokio-native-tls-comp", ] optional = true [dependencies.serde] version = "1.0.152" features = ["derive"] [dependencies.sqlx] version = "0.6" features = ["sqlite"] optional = true default-features = false [dependencies.thiserror] version = "1.0.38" [dependencies.tokio] version = "1.23.1" features = ["full"] [dependencies.tokio-stream] version = "0.1.11" features = ["fs"] [dependencies.tracing] version = "0.1" optional = true [dev-dependencies.criterion] version = "0.4" features = ["async_tokio"] [dev-dependencies.lipsum] version = "0.8" [dev-dependencies.nanoid] version = "0.4" [dev-dependencies.rand] version = "0.8" [dev-dependencies.tokio-test] version = "0.4" [features] backend-filesystem = [] backend-in-memory = ["dashmap"] backend-redis = [ "redis", "bb8", "bb8-redis", ] backend-sqlite = ["backend-sqlite-native-tls"] backend-sqlite-core = [] backend-sqlite-native-tls = [ "sqlx", "sqlite-native-tls", "backend-sqlite-core", ] backend-sqlite-rustls = [ "sqlx", "sqlite-rustls", "backend-sqlite-core", ] default = [ "backend-redis", "backend-in-memory", "backend-sqlite", "logging-tracing", ] logging-log = ["log"] logging-tracing = ["tracing"] sqlite-native-tls = ["sqlx/runtime-tokio-native-tls"] sqlite-rustls = ["sqlx/runtime-tokio-rustls"]