# 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 = "armour"
version = "0.4.4"
authors = ["Rail Khusnutdinov <rail@33.run>"]
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/"
resolver = "1"

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

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

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

[dependencies.arrayvec]
version = "0.7"
features = ["serde"]

[dependencies.bincode]
version = "2.0.0-rc.2"
optional = true

[dependencies.blowfish]
version = "0.9"

[dependencies.compact_str]
version = "0.6"
features = [
    "bytes",
    "serde",
]

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

[dependencies.harsh]
version = "0.2"
optional = true

[dependencies.num-derive]
version = "0.3"

[dependencies.num-traits]
version = "0.2"
default-features = false

[dependencies.once_cell]
version = "1.8"
features = ["parking_lot"]

[dependencies.primitive-from-enum]
version = "0.1"

[dependencies.rapira]
version = "0.3"

[dependencies.rust_decimal]
version = "1.27"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

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

[dependencies.smallvec]
version = "1.10"
features = [
    "union",
    "const_generics",
    "const_new",
    "serde",
]
optional = true

[dependencies.specta]
version = "0.0.6"
features = [
    "time",
    "export",
]

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

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

[dependencies.twox-hash]
version = "1.6"

[dependencies.typescript-type-def]
version = "0.5.5"

[dependencies.wa_proto]
version = "0.1"
optional = true
default-features = false

[features]
default = [
    "std",
    "smallvec",
]
no_std = []
std = [
    "serde",
    "serde_json",
    "bincode",
    "time/std",
    "time/serde-human-readable",
    "thiserror",
    "anyhow",
    "harsh",
]
