# 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" name = "tonbo" version = "0.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An embedded persistent KV database in Rust." documentation = "https://docs.rs/tonbo" readme = "README.md" license = "Apache-2.0" resolver = "2" [package.metadata] msrv = "1.79.0" [profile.bench] debug = 2 inherits = "release" [profile.release] lto = "thin" codegen-units = 1 [lib] name = "tonbo" path = "src/lib.rs" [[example]] name = "datafusion" path = "examples/datafusion.rs" required-features = ["datafusion"] [[example]] name = "declare" path = "examples/declare.rs" required-features = [ "bytes", "tokio", ] [[test]] name = "data_integrity" path = "tests/data_integrity.rs" [[test]] name = "macros_correctness" path = "tests/macros_correctness.rs" [[bench]] name = "common" path = "benches/common.rs" [[bench]] name = "read_bench" path = "benches/read_bench.rs" harness = false required-features = ["bench"] [[bench]] name = "write_bench" path = "benches/write_bench.rs" harness = false required-features = ["bench"] [[bench]] name = "writes" path = "benches/criterion/writes.rs" harness = false required-features = ["sled"] [dependencies.arrow] version = "53" [dependencies.async-lock] version = "3" [dependencies.async-stream] version = "0.3" [dependencies.async-trait] version = "0.1" optional = true [dependencies.bytes] version = "1.7" optional = true [dependencies.crc32fast] version = "1" [dependencies.crossbeam-skiplist] version = "0.1" [dependencies.datafusion] version = "42" optional = true [dependencies.flume] version = "0.11" features = ["async"] [dependencies.fusio] version = "0.3.1" features = [ "aws", "dyn", "fs", "object_store", "tokio", "tokio-http", ] package = "fusio" [dependencies.fusio-dispatch] version = "0.2.1" features = [ "aws", "tokio", ] package = "fusio-dispatch" [dependencies.fusio-parquet] version = "0.2.1" package = "fusio-parquet" [dependencies.futures-core] version = "0.3" [dependencies.futures-io] version = "0.3" [dependencies.futures-util] version = "0.3" [dependencies.lockable] version = "0.0.8" [dependencies.log] version = "0.4.22" [dependencies.once_cell] version = "1" [dependencies.parquet] version = "53" features = ["async"] [dependencies.pin-project-lite] version = "0.2" [dependencies.redb] version = "2" optional = true [dependencies.regex] version = "1" [dependencies.rocksdb] version = "0.22" optional = true [dependencies.sled] version = "0.34" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["io-util"] default-features = false [dependencies.tokio-util] version = "0.7" [dependencies.tonbo_macros] version = "0.2.0" [dependencies.tracing] version = "0.1" [dependencies.ulid] version = "1" [dev-dependencies.bincode] version = "1" [dev-dependencies.comfy-table] version = "7" [dev-dependencies.criterion] version = "0.5" features = [ "async_tokio", "html_reports", ] [dev-dependencies.fastrand] version = "2" [dev-dependencies.futures] version = "0.3" [dev-dependencies.mimalloc] version = "0.1" [dev-dependencies.serde] version = "1" [dev-dependencies.tempfile] version = "3" [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.trybuild] version = "1.0" [features] bench = [ "redb", "rocksdb", "sled", ] bytes = ["dep:bytes"] datafusion = [ "dep:async-trait", "dep:datafusion", ] default = [ "bytes", "tokio", ] load_tbl = [] redb = ["dep:redb"] rocksdb = ["dep:rocksdb"] sled = ["dep:sled"] tokio = ["tokio/fs"] [target."cfg(unix)".dev-dependencies.pprof] version = "0.13" features = [ "criterion", "flamegraph", ]