[package] name = "aol" version = "0.3.2" edition = "2021" repository = "https://github.com/al8n/aol" homepage = "https://github.com/al8n/aol" documentation = "https://docs.rs/aol" description = "Generic purpose append only log implementation." license = "MIT OR Apache-2.0" categories = ["data-structures", "database-implementations", "development-tools", "filesystem"] keywords = ["log", "append-only", "append-only-log", "database", "manifest"] rust-version = "1.81.0" [workspace] exclude = ["integration"] [features] default = ["std", "either/default", "among/default"] alloc = ["dbutils/alloc"] std = ["thiserror", "memmap2", "dbutils/default", "either/use_std", "among/std"] filelock = ["std", "fs4"] xxhash64 = ["dbutils/xxhash64"] xxhash3 = ["dbutils/xxhash3"] [dependencies] among = { version = "^0.1.5", default-features = false, features = ["either"] } bitflags = "2" crc32fast = "1" dbutils = { version = "0.9", default-features = false, features = ["crc32fast"] } either = { version = "1", default-features = false } paste = "1" fs4 = { version = "0.10", optional = true } memmap2 = { version = "0.9", optional = true } serde = { version = "1", optional = true, features = ["derive"] } smallvec-wrapper = { version = "0.1", optional = true, default-features = false, features = ["std"] } smallvec = { version = "1", optional = true } thiserror = { version = "1", optional = true } viewit = "0.1.5" tracing = { version = "0.1", optional = true } [[test]] name = "aol" path = "tests/aol.rs" required-features = ["std", "tracing", "smallvec-wrapper"] [[test]] name = "integration" path = "tests/integration.rs" required-features = ["std", "tracing", "smallvec-wrapper"] [[example]] name = "bitcask_manifest" path = "examples/bitcask_manifest.rs" required-features = ["std", "tracing", "smallvec-wrapper"] [dev-dependencies] tempfile = "3" derive_more = { version = "1", features = ["full"] } smol_str = "0.3" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]