foundationdb-simulation 0.3.0

Embed Rust code within FoundationDB's simulation
Documentation
# 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 = "2024"
name = "foundationdb-simulation"
version = "0.3.0"
authors = [
    "Eloi DEMOLIS <eloi.demolis@clever-cloud.com>",
    "Pierre Zemb <contact@pierrezemb.fr>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Embed Rust code within FoundationDB's simulation
"""
documentation = "https://docs.rs/foundationdb-simulation"
readme = "README.md"
keywords = [
    "foundationdb",
    "simulation",
]
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",
]

[features]
cpp-abi = []
default = ["embedded-fdb-include"]
embedded-fdb-include = [
    "foundationdb/embedded-fdb-include",
    "foundationdb-sys/embedded-fdb-include",
]
fdb-7_1 = [
    "foundationdb/fdb-7_1",
    "foundationdb-sys/fdb-7_1",
    "cpp-abi",
]
fdb-7_3 = [
    "foundationdb/fdb-7_3",
    "foundationdb-sys/fdb-7_3",
    "cpp-abi",
]
fdb-7_4 = [
    "foundationdb/fdb-7_4",
    "foundationdb-sys/fdb-7_4",
]
fdb-docker = []

[lib]
name = "foundationdb_simulation"
path = "src/lib.rs"

[[example]]
name = "atomic"
crate-type = ["cdylib"]
path = "examples/atomic/lib.rs"

[[example]]
name = "noop"
crate-type = ["cdylib"]
path = "examples/noop/lib.rs"

[[example]]
name = "shared"
crate-type = ["cdylib"]
path = "examples/shared/lib.rs"

[dependencies.foundationdb]
version = "0.11.0"
default-features = false

[dependencies.foundationdb-sys]
version = "0.11.0"
default-features = false

[dev-dependencies.futures-util]
version = "0.3.32"

[build-dependencies.bindgen]
version = "0.72.1"

[build-dependencies.cc]
version = "1.2.65"