# 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 = "2018"
rust-version = "1.66"
name = "rkv"
version = "0.19.0"
authors = [
    "Richard Newman <rnewman@twinql.com>",
    "Nan Jiang <najiang@mozilla.com>",
    "Myk Melez <myk@mykzilla.org>",
    "Victor Porof <vporof@mozilla.com>",
]
exclude = ["/tests/envs/*"]
description = "A simple, humane, typed key-value storage solution"
homepage = "https://github.com/mozilla/rkv"
documentation = "https://docs.rs/rkv"
readme = "README.md"
keywords = [
    "lmdb",
    "database",
    "storage",
]
categories = ["database"]
license = "Apache-2.0"
repository = "https://github.com/mozilla/rkv"

[[bin]]
name = "rand"
path = "src/bin/rand.rs"
required-features = ["lmdb"]

[[bin]]
name = "dump"
path = "src/bin/dump.rs"
required-features = ["lmdb"]

[[test]]
name = "env-all"
required-features = ["lmdb"]

[[test]]
name = "env-lmdb"
required-features = ["lmdb"]

[[test]]
name = "env-migration"
required-features = ["lmdb"]

[dependencies.arrayref]
version = "0.3"

[dependencies.bincode]
version = "1.0"

[dependencies.bitflags]
version = "2.4.1"
features = ["serde"]

[dependencies.byteorder]
version = "1"

[dependencies.id-arena]
version = "2.2"

[dependencies.lazy_static]
version = "1.1"

[dependencies.lmdb-rkv]
version = "0.14"
optional = true

[dependencies.log]
version = "0.4.20"

[dependencies.ordered-float]
version = "3.0.0"

[dependencies.paste]
version = "1.0.6"

[dependencies.serde]
version = "1.0.144"
features = [
    "derive",
    "rc",
]

[dependencies.serde_derive]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.url]
version = "2.0"

[dependencies.uuid]
version = "1.0"

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

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

[features]
db-dup-sort = []
db-int-key = []
default = [
    "db-dup-sort",
    "db-int-key",
]
lmdb = ["lmdb-rkv"]
no-canonicalize-path = []
with-asan = [
    "lmdb",
    "lmdb-rkv/with-asan",
]
with-fuzzer = [
    "lmdb",
    "lmdb-rkv/with-fuzzer",
]
with-fuzzer-no-link = [
    "lmdb",
    "lmdb-rkv/with-fuzzer-no-link",
]
