# 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 = "lunatic-db" version = "0.1.2" description = "A collection of db drivers for the lunatic runtime" readme = "Readme.md" keywords = [ "database", "db", "mysql", "redis", "lunatic", ] categories = ["database-driver"] license = "Apache-2.0/MIT" repository = "https://github.com/lunatic-solutions/lunatic-db" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] targets = ["wasm32-wasi"] [profile.bench] debug = true [[example]] name = "redis-queues" path = "lunatic-redis/examples/queues.rs" [[example]] name = "redis-basic" path = "lunatic-redis/examples/basic.rs" [[example]] name = "redis-set-mget" path = "lunatic-redis/examples/set-mget.rs" [[example]] name = "redis-pub-sub" path = "lunatic-redis/examples/pub-sub.rs" [[example]] name = "redis-streams" path = "lunatic-redis/examples/streams.rs" [[example]] name = "redis-geospatial" path = "lunatic-redis/examples/geospatial.rs" [[example]] name = "redis-scan" path = "lunatic-redis/examples/scan.rs" [[test]] name = "redis-parser" path = "lunatic-redis/tests/parser.rs" [[test]] name = "redis-types" path = "lunatic-redis/tests/test_types.rs" [[test]] name = "redis-streams" path = "lunatic-redis/tests/test_streams.rs" [dependencies.lunatic-mysql] version = "0.1.1" optional = true [dependencies.lunatic-redis] version = "0.1.3" optional = true [dev-dependencies.fnv] version = "1.0.5" [dev-dependencies.lunatic] version = "0.12.0" [dev-dependencies.partial-io] version = "0.5" features = ["quickcheck1"] [dev-dependencies.quickcheck] version = "1.0.3" [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde] version = "1.0.132" features = ["derive"] [dev-dependencies.tempfile] version = "3.2" [features] default = [ "mysql", "redis", ] mysql = ["lunatic-mysql"] redis = ["lunatic-redis"]