# 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 = "2024"
name = "storekey"
version = "0.10.0"
authors = [
    "Tobie Morgan Hitchcock <tobie@surrealdb.com>",
    "Michal Hornicky <mhornick@redhat.com>",
    "Dan Burkert <dan@danburkert.com>",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lexicographic sort-order preserving binary encoding format for key-value stores"
homepage = "https://github.com/surrealdb/storekey"
readme = "README.md"
keywords = [
    "database",
    "encoding",
    "key-value",
    "kv-store",
    "serialization",
]
categories = ["encoding"]
license = "Apache-2.0"
repository = "https://github.com/surrealdb/storekey"

[features]
bytes = ["dep:bytes"]
default = ["derive"]
derive = ["storekey-derive"]
uuid = ["dep:uuid"]

[lib]
name = "storekey"
path = "src/lib.rs"

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

[dependencies.bytes]
version = "1.0"
optional = true

[dependencies.storekey-derive]
version = "0.10.0"
optional = true

[dependencies.uuid]
version = "1.18"
optional = true
