# 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.74"
name = "picovolt"
version = "0.3.0"
build = false
exclude = [
    "/fuzz",
    "/.github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PicoVolt (PVDB): a polymorphic embedded database engine in Rust."
readme = "README.md"
keywords = [
    "database",
    "embedded",
    "storage-engine",
    "mvcc",
    "columnar",
]
categories = ["database-implementations"]
license = "Apache-2.0"
repository = "https://github.com/MiniJe/picovolt"

[features]
wasm = [
    "dep:wasm-bindgen",
    "dep:console_error_panic_hook",
]

[lib]
name = "picovolt"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "bench"
path = "examples/bench.rs"

[[example]]
name = "notes"
path = "examples/notes.rs"

[[example]]
name = "repl"
path = "examples/repl.rs"

[[test]]
name = "fuzz_smoke"
path = "tests/fuzz_smoke.rs"

[dependencies.blake3]
version = "1"

[dependencies.console_error_panic_hook]
version = "0.1"
optional = true

[dependencies.memmap2]
version = "0.9"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1.0"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.wasmi]
version = "0.50"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.wat]
version = "1"

[lints.rust]
unsafe_code = "allow"
