# 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 = "armour"
version = "0.32.0"
authors = ["Rail Khusnutdinov <rail@33.run>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DDL and serialization for key-value storage"
homepage = "https://github.com/libfunc/armour/"
documentation = "https://docs.rs/armour/"
readme = "README.md"
keywords = [
    "key-value",
    "ORM",
    "DDL",
    "serialization",
    "databases",
]
categories = []
license = "MIT OR Apache-2.0"
repository = "https://github.com/libfunc/armour/"

[package.metadata.cargo-machete]
ignored = [
    "brsl2",
    "primitive-from-enum",
]

[features]
bytemuck = ["dep:bytemuck"]
compact_str = [
    "dep:compact_str",
    "armour-core/compact_str",
]
default = [
    "std",
    "fjall",
    "rpc",
    "id_vec",
]
facet = [
    "dep:facet",
    "armour-core/facet",
]
fake = [
    "dep:fake",
    "armour-core/fake",
]
fjall = [
    "dep:fjall",
    "rapira/fjall",
]
id32 = []
id_vec = ["bytemuck"]
rkyv = [
    "dep:rkyv",
    "rkyv/std",
    "rkyv/alloc",
    "rkyv/bytecheck",
    "armour-core/rkyv",
]
rpc = [
    "fjall",
    "dep:armour-rpc",
    "dep:compio",
    "dep:futures-util",
    "dep:async-broadcast",
    "dep:ctrlc",
]
rust_decimal = [
    "dep:rust_decimal",
    "armour-core/rust_decimal",
]
smol_str = [
    "dep:smol_str",
    "armour-core/smol_str",
]
solana = [
    "solana-pubkey",
    "solana-signature",
    "armour-core/solana",
]
std = [
    "armour-core/std",
    "time/std",
    "time/serde-human-readable",
    "arrayvec/serde",
    "dep:thiserror",
    "dep:bytes",
    "dep:rand",
    "dep:parking_lot",
    "dep:async-broadcast",
    "dep:strum",
]
ts-rs = [
    "dep:ts-rs",
    "armour-core/ts-rs",
]
value_indexes = []

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

[[example]]
name = "decimal"
path = "examples/decimal.rs"
test = false
bench = false
required-features = ["rust_decimal"]

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

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

[dependencies.armour-core]
version = "0.3"
features = ["std"]

[dependencies.armour-derive]
version = "0.28"

[dependencies.armour-rpc]
version = "0.2"
optional = true

[dependencies.arrayvec]
version = "0.7"

[dependencies.async-broadcast]
version = "0.7"
optional = true

[dependencies.bitcode]
version = "0.6"
optional = true

[dependencies.bytemuck]
version = "1.23"
features = [
    "derive",
    "extern_crate_alloc",
]
optional = true

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

[dependencies.compact_str]
version = "0.9"
optional = true

[dependencies.compio]
version = "0.19"
features = [
    "runtime",
    "net",
    "io",
    "macros",
    "signal",
]
optional = true

[dependencies.const-decoder]
version = "0.4"

[dependencies.const-fnv1a-hash]
version = "1.1"

[dependencies.crc32fast]
version = "1.4"

[dependencies.crossbeam-skiplist]
version = "0.1"

[dependencies.ctrlc]
version = "3.4"
optional = true

[dependencies.data-encoding]
version = "2.4"

[dependencies.data-encoding-macro]
version = "0.1"

[dependencies.derive_more]
version = "2"
features = [
    "debug",
    "from",
    "deref",
    "deref_mut",
    "as_ref",
]

[dependencies.facet]
version = "0.46"
optional = true

[dependencies.fake]
version = "5.1"
optional = true

[dependencies.fjall]
version = "3.0"
optional = true

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.metrics]
version = "0.24"

[dependencies.num_cpus]
version = "1.15"

[dependencies.parking_lot]
version = "0.12"
optional = true

[dependencies.rand]
version = "0.10"
optional = true

[dependencies.rapira]
version = "0.13"

[dependencies.rayon]
version = "1.7"

[dependencies.rend]
version = "0.5"
features = [
    "zerocopy-0_8",
    "bytemuck-1",
]

[dependencies.rkyv]
version = "0.8"
features = []
optional = true
default-features = false

[dependencies.rust_decimal]
version = "1.30"
optional = true

[dependencies.scc]
version = "3.3"

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.smol_str]
version = "0.3"
optional = true

[dependencies.solana-pubkey]
version = "4.0"
optional = true

[dependencies.solana-signature]
version = "3.1"
optional = true

[dependencies.strum]
version = "0.28"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0"
optional = true

[dependencies.time]
version = "0.3"
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.ts-rs]
version = "12.0"
features = ["no-serde-warnings"]
optional = true

[dependencies.uuid]
version = "1.3"
default-features = false

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]

[dependencies.zerocopy]
version = "0.8"
features = ["derive"]

[dev-dependencies.bs58]
version = "0.5"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.harsh]
version = "0.2"

[dev-dependencies.sqids]
version = "0.4"
