[package]
name = "akd"
version = "0.10.0"
authors = ["akd contributors"]
description = "An implementation of an auditable key directory"
license = "MIT OR Apache-2.0"
edition = "2021"
keywords = ["key-transparency", "akd"]
repository = "https://github.com/facebook/akd"
readme = "../README.md"
[features]
whatsapp_v1 = ["akd_core/whatsapp_v1"]
experimental = ["akd_core/experimental"]
bench = ["experimental", "public_tests", "tokio/rt-multi-thread"]
public_tests = [
"dep:rand",
"dep:colored",
"dep:once_cell",
"serde_serialization",
"akd_core/public_tests",
"akd_core/rand",
"dep:paste",
]
public_auditing = ["dep:protobuf", "akd_core/protobuf"]
serde_serialization = ["dep:serde", "akd_core/serde_serialization"]
runtime_metrics = []
parallel_vrf = ["akd_core/parallel_vrf"]
parallel_insert = []
preload_history = []
slow_internal_db = []
greedy_lookup_preload = []
default = [
"public_auditing",
"parallel_vrf",
"parallel_insert",
"preload_history",
"greedy_lookup_preload",
"experimental",
]
[dependencies]
akd_core = { version = "0.10.0", path = "../akd_core", default-features = false, features = [
"vrf",
] }
async-recursion = "1"
async-trait = "0.1"
dashmap = "5"
hex = "0.4"
log = { version = "0.4", features = ["kv_unstable"] }
tokio = { version = "1", features = ["sync", "time", "rt"] }
serde = { version = "1", features = ["derive"], optional = true }
rand = { version = "0.8", optional = true }
colored = { version = "2", optional = true }
once_cell = { version = "1", optional = true }
protobuf = { version = "3", optional = true }
paste = { version = "1", optional = true }
[dev-dependencies]
criterion = "0.5"
serial_test = "2"
proptest = "1"
proptest-derive = "0.3"
colored = "2"
once_cell = "1"
ctor = "0.2"
tokio-test = "0.4"
tokio = { version = "1", features = ["rt", "sync", "time", "macros"] }
mockall = "0.11"
futures = "0.3"
itertools = "0.11"
akd = { path = ".", features = [
"public_tests",
"whatsapp_v1",
"experimental",
], default-features = false }
[[bench]]
name = "azks"
harness = false
required-features = ["bench"]
[[bench]]
name = "directory"
harness = false
required-features = ["bench"]