# 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"
rust-version = "1.75"
name = "citadeldb"
version = "0.15.0"
authors = ["Yuriy Peysakhov"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Citadel: encrypted-first embedded database engine that outperforms unencrypted SQLite"
homepage = "https://citadeldb.dev"
readme = "README.md"
keywords = [
    "database",
    "embedded-database",
    "encryption",
    "sql",
    "encrypted-database",
]
categories = [
    "database-implementations",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yp3y5akh0v/citadel"

[features]
audit-log = [
    "dep:hmac",
    "dep:sha2",
    "dep:parking_lot",
]
default = ["audit-log"]
fips = ["citadel-crypto/fips"]
io-uring = ["citadel-io/io-uring"]

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

[[test]]
name = "audit_log"
path = "tests/audit_log.rs"

[[test]]
name = "audit_torture"
path = "tests/audit_torture.rs"

[[test]]
name = "backup"
path = "tests/backup.rs"

[[test]]
name = "btree_reference"
path = "tests/btree_reference.rs"

[[test]]
name = "btree_torture"
path = "tests/btree_torture.rs"

[[test]]
name = "compaction"
path = "tests/compaction.rs"

[[test]]
name = "diff_engine"
path = "tests/diff_engine.rs"

[[test]]
name = "diff_torture"
path = "tests/diff_torture.rs"

[[test]]
name = "encryption_roundtrip"
path = "tests/encryption_roundtrip.rs"

[[test]]
name = "fips"
path = "tests/fips.rs"

[[test]]
name = "integrity"
path = "tests/integrity.rs"

[[test]]
name = "key_backup"
path = "tests/key_backup.rs"

[[test]]
name = "key_rotation"
path = "tests/key_rotation.rs"

[[test]]
name = "kv_torture"
path = "tests/kv_torture.rs"

[[test]]
name = "merkle"
path = "tests/merkle.rs"

[[test]]
name = "merkle_sync"
path = "tests/merkle_sync.rs"

[[test]]
name = "merkle_torture"
path = "tests/merkle_torture.rs"

[[test]]
name = "multi_table_sync"
path = "tests/multi_table_sync.rs"

[[test]]
name = "named_table_merkle"
path = "tests/named_table_merkle.rs"

[[test]]
name = "named_table_reader"
path = "tests/named_table_reader.rs"

[[test]]
name = "named_tables"
path = "tests/named_tables.rs"

[[test]]
name = "patch_torture"
path = "tests/patch_torture.rs"

[[test]]
name = "peer_to_peer"
path = "tests/peer_to_peer.rs"

[[test]]
name = "public_api"
path = "tests/public_api.rs"

[[test]]
name = "sync_patch"
path = "tests/sync_patch.rs"

[[test]]
name = "sync_session"
path = "tests/sync_session.rs"

[[test]]
name = "sync_torture"
path = "tests/sync_torture.rs"

[[test]]
name = "table_enumeration"
path = "tests/table_enumeration.rs"

[[test]]
name = "transactions"
path = "tests/transactions.rs"

[[bench]]
name = "kv_bench"
path = "benches/kv_bench.rs"
harness = false

[dependencies.citadel-buffer]
version = "0.15.0"
package = "citadeldb-buffer"

[dependencies.citadel-core]
version = "0.15.0"
package = "citadeldb-core"

[dependencies.citadel-crypto]
version = "0.15.0"
package = "citadeldb-crypto"

[dependencies.citadel-io]
version = "0.15.0"
package = "citadeldb-io"

[dependencies.citadel-page]
version = "0.15.0"
package = "citadeldb-page"

[dependencies.citadel-sync]
version = "0.15.0"
package = "citadeldb-sync"

[dependencies.citadel-txn]
version = "0.15.0"
package = "citadeldb-txn"

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.parking_lot]
version = "0.12"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.sha2]
version = "0.10"
optional = true

[dev-dependencies.blake3]
version = "1"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.mimalloc]
version = "0.1"

[dev-dependencies.rustc-hash]
version = "2.1"

[dev-dependencies.tempfile]
version = "3"
