[package]
edition = "2024"
rust-version = "1.85.1"
name = "foundationdb"
version = "0.11.0"
authors = [
"Benjamin Fry <benjaminfry@me.com>",
"Vincent Rouillé <vincent@clikengo.com>",
"Pierre Zemb <contact@pierrezemb.fr>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
High level client bindings for FoundationDB.
"""
documentation = "https://docs.rs/foundationdb"
readme = "README.md"
keywords = [
"foundationdb",
"kv",
]
categories = ["database"]
license = "MIT/Apache-2.0"
repository = "https://github.com/foundationdb-rs/foundationdb-rs"
resolver = "2"
[package.metadata.docs.rs]
features = [
"embedded-fdb-include",
"fdb-7_4",
"uuid",
"recipes",
]
[badges.codecov]
branch = "main"
repository = "foundationdb-rs/foundationdb-rs"
service = "github"
[features]
default = [
"uuid",
"recipes",
]
embedded-fdb-include = [
"foundationdb-sys/embedded-fdb-include",
"foundationdb-gen/embedded-fdb-include",
]
fdb-5_1 = [
"foundationdb-sys/fdb-5_1",
"foundationdb-gen/fdb-5_1",
]
fdb-5_2 = [
"foundationdb-sys/fdb-5_2",
"foundationdb-gen/fdb-5_2",
]
fdb-6_0 = [
"foundationdb-sys/fdb-6_0",
"foundationdb-gen/fdb-6_0",
]
fdb-6_1 = [
"foundationdb-sys/fdb-6_1",
"foundationdb-gen/fdb-6_1",
]
fdb-6_2 = [
"foundationdb-sys/fdb-6_2",
"foundationdb-gen/fdb-6_2",
]
fdb-6_3 = [
"foundationdb-sys/fdb-6_3",
"foundationdb-gen/fdb-6_3",
]
fdb-7_0 = [
"foundationdb-sys/fdb-7_0",
"foundationdb-gen/fdb-7_0",
]
fdb-7_1 = [
"foundationdb-sys/fdb-7_1",
"foundationdb-gen/fdb-7_1",
"serde",
"serde_json",
"serde_bytes",
]
fdb-7_3 = [
"foundationdb-sys/fdb-7_3",
"foundationdb-gen/fdb-7_3",
"serde",
"serde_json",
"serde_bytes",
]
fdb-7_4 = [
"foundationdb-sys/fdb-7_4",
"foundationdb-gen/fdb-7_4",
"serde",
"serde_json",
"serde_bytes",
]
num-bigint = [
"dep:num-bigint",
"foundationdb-tuple/num-bigint",
]
recipes = [
"recipes-leader-election",
"recipes-ranked-register",
]
recipes-leader-election = []
recipes-ranked-register = []
tenant-experimental = []
trace = ["tracing"]
uuid = [
"dep:uuid",
"foundationdb-tuple/uuid",
]
[lib]
name = "foundationdb"
path = "src/lib.rs"
[[example]]
name = "atomic-op-counter"
path = "examples/atomic-op-counter.rs"
[[example]]
name = "blob"
path = "examples/blob.rs"
[[example]]
name = "blob-with-manifest"
path = "examples/blob-with-manifest.rs"
[[example]]
name = "class-scheduling"
path = "examples/class-scheduling.rs"
[[example]]
name = "conflict_reporting"
path = "examples/conflict_reporting.rs"
[[example]]
name = "hello-world"
path = "examples/hello-world.rs"
[[example]]
name = "instrumented"
path = "examples/instrumented.rs"
[[example]]
name = "key_selectors"
path = "examples/key_selectors.rs"
[[example]]
name = "micro-queue"
path = "examples/micro-queue.rs"
[[example]]
name = "multi_version"
path = "examples/multi_version.rs"
[[example]]
name = "simple-index"
path = "examples/simple-index.rs"
[[example]]
name = "versionstamp"
path = "examples/versionstamp.rs"
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "api_ub"
path = "tests/api_ub.rs"
[[test]]
name = "atomic"
path = "tests/atomic.rs"
[[test]]
name = "database"
path = "tests/database.rs"
[[test]]
name = "directory"
path = "tests/directory.rs"
[[test]]
name = "error"
path = "tests/error.rs"
[[test]]
name = "future"
path = "tests/future.rs"
[[test]]
name = "get"
path = "tests/get.rs"
[[test]]
name = "hca"
path = "tests/hca.rs"
[[test]]
name = "leader_election"
path = "tests/leader_election.rs"
[[test]]
name = "metrics"
path = "tests/metrics.rs"
[[test]]
name = "range"
path = "tests/range.rs"
[[test]]
name = "ranked_register"
path = "tests/ranked_register.rs"
[[test]]
name = "runner_hooks"
path = "tests/runner_hooks.rs"
[[test]]
name = "tenant"
path = "tests/tenant.rs"
[[test]]
name = "timekeeper"
path = "tests/timekeeper.rs"
[[test]]
name = "tokio"
path = "tests/tokio.rs"
[[test]]
name = "trace"
path = "tests/trace.rs"
[[test]]
name = "tuple"
path = "tests/tuple.rs"
[[test]]
name = "watch"
path = "tests/watch.rs"
[dependencies.async-recursion]
version = "1.1.1"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.foundationdb-macros]
version = "0.4.0"
[dependencies.foundationdb-sys]
version = "0.11.0"
default-features = false
[dependencies.foundationdb-tuple]
version = "0.11.0"
[dependencies.futures]
version = "0.3.32"
[dependencies.num-bigint]
version = "0.4.6"
optional = true
[dependencies.rand]
version = "0.10.1"
features = ["default"]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true
[dependencies.serde_bytes]
version = "0.11.19"
optional = true
[dependencies.serde_json]
version = "1.0.150"
optional = true
[dependencies.static_assertions]
version = "1.1.0"
[dependencies.tracing]
version = "0.1.44"
optional = true
[dependencies.uuid]
version = "1.23.3"
optional = true
[dev-dependencies.byteorder]
version = "1.5.0"
[dev-dependencies.bytesize]
version = "2.4"
[dev-dependencies.data-encoding]
version = "2.11.0"
[dev-dependencies.futures-util]
version = "0.3.32"
[dev-dependencies.lazy_static]
version = "1.5.0"
[dev-dependencies.sha2]
version = "0.11.0"
[dev-dependencies.tokio]
version = "1.52.3"
features = ["full"]
[dev-dependencies.tracing-subscriber]
version = "0.3.23"
[dev-dependencies.uuid]
version = "1.23.3"
features = ["v4"]
[build-dependencies.foundationdb-gen]
version = "0.11.0"
default-features = false