# 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 = "couchbase-lite" version = "0.19.2" authors = ["Evgeniy A. Dushistov "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Ergonomic wrapper for couchbase-lite-core library" documentation = "https://docs.rs/couchbase-lite" readme = "README.md" keywords = [ "ffi", "couchbase", "couchbase-lite-core", "database", ] license = "BSD-3-Clause" repository = "https://github.com/dushistov/couchbase-lite-rust" [package.metadata.docs.rs] features = ["docs-rs"] [lib] name = "couchbase_lite" path = "src/lib.rs" [[test]] name = "functional_tests" path = "tests/functional_tests.rs" [dependencies.base64] version = "0.22.0" [dependencies.bitflags] version = "2.5.0" default-features = false [dependencies.couchbase-lite-core-sys] version = "0.12.2" default-features = false [dependencies.fallible-streaming-iterator] version = "0.1.9" [dependencies.futures-util] version = "0.3" optional = true default-features = false [dependencies.log] version = "0.4" [dependencies.serde] version = "1.0" features = ["std"] default-features = false [dependencies.serde-fleece] version = "0.8.1" default-features = false [dependencies.tokio] version = "1.16.1" features = [ "rt", "sync", "macros", "time", ] optional = true default-features = false [dependencies.tokio-tungstenite] version = "0.23.0" features = ["connect"] optional = true default-features = false [dependencies.uuid] version = "1.1.2" features = [ "v4", "serde", ] default-features = false [dependencies.va_list] version = "0.1.4" [dev-dependencies.env_logger] version = "0.11.3" default-features = false [dev-dependencies.serde] version = "1.0.104" features = [ "derive", "std", ] default-features = false [dev-dependencies.tempfile] version = "3.0" [dev-dependencies.tokio] version = "1.16.1" features = [ "sync", "rt", "rt-multi-thread", "net", "time", ] default-features = false [features] build-cpp = [ "couchbase-lite-core-sys/build", "serde-fleece/build-cpp", ] default = [ "build-cpp", "git-download-cpp", "use-couchbase-lite-sqlite", "use-tokio-websocket", "use-native-tls", ] docs-rs = [ "couchbase-lite-core-sys/docs-rs", "serde-fleece/docs-rs", ] git-download-cpp = [ "couchbase-lite-core-sys/git-download", "serde-fleece/git-download-cpp", ] use-couchbase-lite-sqlite = [ "couchbase-lite-core-sys/use-couchbase-lite-sqlite", "serde-fleece/use-couchbase-lite-sqlite", ] use-couchbase-lite-websocket = ["couchbase-lite-core-sys/use-couchbase-lite-websocket"] use-native-tls = ["tokio-tungstenite/native-tls"] use-tokio-websocket = [ "tokio-tungstenite", "tokio", "futures-util", ] with-asan = [ "couchbase-lite-core-sys/with-asan", "serde-fleece/with-asan", ]