# 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 = "buffdb" version = "0.4.0" authors = [ "Marcus Eagan", "Jacob Pratt", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Embedded storage at the speed of light." readme = "README.md" keywords = [ "database", "storage", "embedded", "key-value", "blob", ] categories = [ "database-implementations", "embedded", ] license = "MIT OR Apache-2.0" repository = "https://github.com/buffdb/buffdb" [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"] targets = ["x86_64-unknown-linux-gnu"] [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" [lib] name = "buffdb" path = "src/lib.rs" [[bin]] name = "buffdb" path = "src/main.rs" required-features = ["binary"] [[test]] name = "integration" path = "tests/integration/main.rs" [dependencies.async-stream] version = "0.3.5" [dependencies.clap] version = "4.5.10" features = ["derive"] optional = true [dependencies.crossbeam] version = "0.8.4" [dependencies.duckdb] version = "1.0.0" features = ["bundled"] optional = true [dependencies.futures] version = "0.3.30" [dependencies.hyper-util] version = "0.1.6" [dependencies.prost] version = "0.13.1" [dependencies.prost-types] version = "0.13.1" [dependencies.rusqlite] version = "0.32.1" optional = true [dependencies.sha2] version = "0.10.8" [dependencies.tokio] version = "1" features = [ "rt-multi-thread", "fs", ] [dependencies.tokio-stream] version = "0.1.15" [dependencies.tonic] version = "0.12.1" [dependencies.tower] version = "0.4.13" [dev-dependencies.anyhow] version = "1.0.86" [dev-dependencies.serial_test] version = "3.1.1" [build-dependencies.tonic-build] version = "0.12.1" [features] binary = ["dep:clap"] default = [ "duckdb", "sqlite", ] duckdb = ["dep:duckdb"] sqlite = ["dep:rusqlite"] [lints.clippy] dbg-macro = "warn" decimal-literal-representation = "warn" explicit-auto-deref = "warn" get-unwrap = "warn" manual-let-else = "warn" missing-docs-in-private-items = "warn" missing-enforced-import-renames = "warn" obfuscated-if-else = "warn" option-if-let-else = "allow" print-stdout = "warn" redundant-pub-crate = "allow" semicolon-outside-block = "warn" todo = "warn" undocumented-unsafe-blocks = "deny" unimplemented = "warn" uninlined-format-args = "warn" unnested-or-patterns = "warn" unwrap-in-result = "warn" unwrap-used = "warn" use-debug = "warn" [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.nursery] level = "warn" priority = -1 [lints.rust] ambiguous-glob-reexports = "deny" clashing-extern-declarations = "deny" const-item-mutation = "deny" deref-nullptr = "deny" drop-bounds = "deny" future-incompatible = "deny" hidden-glob-reexports = "deny" improper-ctypes = "deny" improper-ctypes-definitions = "deny" invalid-from-utf8 = "deny" invalid-macro-export-arguments = "deny" invalid-nan-comparisons = "deny" invalid-reference-casting = "deny" invalid-value = "deny" keyword-idents = "warn" let-underscore = "warn" macro-use-extern-crate = "warn" meta-variable-misuse = "warn" missing-abi = "warn" missing-copy-implementations = "warn" missing-debug-implementations = "warn" missing-docs = "warn" named-arguments-used-positionally = "deny" non-ascii-idents = "deny" noop-method-call = "warn" opaque-hidden-inferred-bound = "deny" overlapping-range-endpoints = "deny" single-use-lifetimes = "warn" suspicious-double-ref-op = "deny" temporary-cstring-as-ptr = "deny" trivial-casts = "warn" trivial-numeric-casts = "warn" unconditional-recursion = "deny" unnameable-test-items = "deny" unreachable-pub = "warn" unsafe-op-in-unsafe-fn = "deny" unstable-syntax-pre-expansion = "deny" unused-import-braces = "warn" unused-lifetimes = "warn" unused-qualifications = "warn" unused-results = "warn" variant-size-differences = "warn" [lints.rust.unstable-name-collisions] level = "warn" priority = 1 [lints.rust.unused] level = "warn" priority = -1