[package]
edition = "2021"
name = "couchbase"
version = "1.0.0"
authors = [
"Charles Dixon <charles.dixon@couchbase.com>",
"Matt Wozakowski <matt.wozakowski@couchbase.com>",
"Will Broadbelt <william.broadbelt@couchbase.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The official Couchbase Rust SDK"
readme = "README.md"
keywords = [
"couchbase",
"database",
"json",
"nosql",
]
license = "Apache-2.0"
repository = "https://github.com/couchbaselabs/couchbase-rs"
[features]
default = ["default-tls"]
default-tls = ["rustls-tls"]
internal = []
native-tls = [
"dep:tokio-native-tls",
"couchbase-core/native-tls",
]
rustls-tls = [
"dep:tokio-rustls",
"couchbase-core/rustls-tls",
"dep:rustls-pki-types",
]
[lib]
name = "couchbase"
path = "src/lib.rs"
bench = false
[[test]]
name = "authenticator"
path = "tests/authenticator.rs"
[[test]]
name = "bucket"
path = "tests/bucket.rs"
[[test]]
name = "collection_crud"
path = "tests/collection_crud.rs"
[[test]]
name = "collections_management"
path = "tests/collections_management.rs"
[[test]]
name = "connections"
path = "tests/connections.rs"
[[test]]
name = "data_structures"
path = "tests/data_structures.rs"
[[test]]
name = "diagnostics"
path = "tests/diagnostics.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "query"
path = "tests/query.rs"
[[test]]
name = "search"
path = "tests/search.rs"
[[test]]
name = "user_management"
path = "tests/user_management.rs"
[[bench]]
name = "ci"
path = "benches/ci.rs"
harness = false
[[bench]]
name = "collection_crud"
path = "benches/collection_crud.rs"
harness = false
[[bench]]
name = "util"
path = "benches/util.rs"
[dependencies.bytes]
version = "1.11"
[dependencies.chrono]
version = "0.4.44"
[dependencies.couchbase-connstr]
version = "1.0.0"
[dependencies.couchbase-core]
version = "1.0.0"
default-features = false
[dependencies.futures]
version = "0.3.32"
[dependencies.hdrhistogram]
version = "7.5"
[dependencies.http]
version = "1.4"
[dependencies.lazy_static]
version = "1.5"
[dependencies.rustls-pki-types]
version = "1.14"
optional = true
[dependencies.serde]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[dependencies.tokio]
version = "1.50"
[dependencies.tokio-native-tls]
version = "0.3.1"
optional = true
[dependencies.tokio-rustls]
version = "0.26.4"
optional = true
[dependencies.tracing]
version = "0.1.44"
features = ["log"]
[dependencies.tracing-subscriber]
version = "0.3.22"
[dependencies.uuid]
version = "1.22"
features = ["v4"]
[dependencies.webpki-roots]
version = "1.0"
[dev-dependencies.criterion]
version = "0.8.2"
features = [
"html_reports",
"async_tokio",
"async",
]
[dev-dependencies.envconfig]
version = "0.11.1"
[dev-dependencies.rand]
version = "0.10.0"
[dev-dependencies.serde_json]
version = "1.0"
features = ["raw_value"]
[dev-dependencies.serde_yaml]
version = "0.9.33"
[dev-dependencies.serial_test]
version = "3.4"
[dev-dependencies.tokio]
version = "1.50"
[dev-dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]
[lints.rust]
unused = "allow"