# 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.81.0" name = "aol" version = "0.3.2" build = "build.rs" autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Generic purpose append only log implementation." homepage = "https://github.com/al8n/aol" documentation = "https://docs.rs/aol" readme = "README.md" keywords = [ "log", "append-only", "append-only-log", "database", "manifest", ] categories = [ "data-structures", "database-implementations", "development-tools", "filesystem", ] license = "MIT OR Apache-2.0" repository = "https://github.com/al8n/aol" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "aol" path = "src/lib.rs" [[example]] name = "bitcask_manifest" path = "examples/bitcask_manifest.rs" required-features = [ "std", "tracing", "smallvec-wrapper", ] [[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", ] [dependencies.among] version = "^0.1.5" features = ["either"] default-features = false [dependencies.bitflags] version = "2" [dependencies.crc32fast] version = "1" [dependencies.dbutils] version = "0.9" features = ["crc32fast"] default-features = false [dependencies.either] version = "1" default-features = false [dependencies.fs4] version = "0.10" optional = true [dependencies.memmap2] version = "0.9" optional = true [dependencies.paste] version = "1" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.smallvec] version = "1" optional = true [dependencies.smallvec-wrapper] version = "0.1" features = ["std"] optional = true default-features = false [dependencies.thiserror] version = "1" optional = true [dependencies.tracing] version = "0.1" optional = true [dependencies.viewit] version = "0.1.5" [dev-dependencies.derive_more] version = "1" features = ["full"] [dev-dependencies.smol_str] version = "0.3" [dev-dependencies.tempfile] version = "3" [features] alloc = ["dbutils/alloc"] default = [ "std", "either/default", "among/default", ] filelock = [ "std", "fs4", ] std = [ "thiserror", "memmap2", "dbutils/default", "either/use_std", "among/std", ] xxhash3 = ["dbutils/xxhash3"] xxhash64 = ["dbutils/xxhash64"]