# 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 = "nintypes"
version = "0.2.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Nintondo shared types"
readme = "README.md"
license = "MIT"

[features]
bellscoin = [
    "dep:bellscoin",
    "dep:bitcoin_hashes",
]
bigdecimal = ["dep:bigdecimal"]
bitcode = ["dep:bitcode"]
default = []
dogecoin = [
    "dep:nintondo-dogecoin",
    "dep:bitcoin_hashes",
]
full = [
    "bellscoin",
    "dogecoin",
    "pepecoin",
    "pg",
    "utoipa",
    "utoipa-axum",
    "validator",
    "bigdecimal",
    "jwt",
    "bitcode",
]
jwt = [
    "dep:jsonwebtoken",
    "dep:tower-cookies",
]
pepecoin = [
    "dep:nintondo-pepecoin",
    "dep:bitcoin_hashes",
]
pg = ["dep:tokio-postgres"]
schema = ["dep:schemars"]
utoipa = ["dep:utoipa"]
utoipa-axum = [
    "utoipa",
    "dep:utoipa-axum",
    "dep:axum",
]
validator = ["dep:validator"]

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

[dependencies.ahash]
version = "0.8.11"

[dependencies.aligned]
version = "0.4.2"

[dependencies.anyhow]
version = "1.0.95"

[dependencies.arc-swap]
version = "1.7.1"

[dependencies.axum]
version = "0.8.1"
optional = true

[dependencies.bellscoin]
version = "0.30.7"
optional = true

[dependencies.bigdecimal]
version = "0.4.8"
optional = true

[dependencies.binary-heap-plus]
version = "0.5.0"

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

[dependencies.bitcoin_hashes]
version = "0.12.0"
optional = true

[dependencies.bitflags]
version = "2.8.0"
features = [
    "serde",
    "bytemuck",
]

[dependencies.bytemuck]
version = "1.21.0"
features = ["derive"]

[dependencies.bytes]
version = "1.9.0"

[dependencies.derive_more]
version = "1.0.0"
features = ["full"]

[dependencies.dutils]
version = "0.1.6"

[dependencies.fixedbitset]
version = "0.5.7"

[dependencies.fixedstr]
version = "0.5.8"
features = [
    "flex-str",
    "serde",
]

[dependencies.futures]
version = "0.3.31"

[dependencies.hex]
version = "0.4.3"

[dependencies.http]
version = "1.3.1"

[dependencies.indexmap]
version = "2.7.1"

[dependencies.int-enum]
version = "1.1.2"

[dependencies.itertools]
version = "0.14.0"

[dependencies.jsonwebtoken]
version = "9.3.0"
optional = true

[dependencies.kanal]
version = "0.1.0-pre8"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.nintondo-dogecoin]
version = "0.30.6"
optional = true

[dependencies.nintondo-pepecoin]
version = "0.30.7"
optional = true

[dependencies.num-format]
version = "0.4.4"

[dependencies.num-traits]
version = "0.2.19"

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

[dependencies.parking_lot]
version = "0.12.3"
features = ["serde"]

[dependencies.pin-project]
version = "1.1.8"

[dependencies.postcard]
version = "1.1.1"
features = [
    "alloc",
    "embedded-io",
    "use-std",
]

[dependencies.primitive-types]
version = "0.13.1"

[dependencies.rand]
version = "0.8.5"

[dependencies.rust_decimal]
version = "1.36.0"
features = ["serde-bincode"]

[dependencies.schemars]
version = "0.9.0"
optional = true

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

[dependencies.serde_json]
version = "1.0.137"

[dependencies.serde_with]
version = "3.12.0"

[dependencies.sha2]
version = "0.10.8"

[dependencies.sha256]
version = "1.5.0"

[dependencies.smallvec]
version = "1.13.2"
features = ["union"]

[dependencies.static_assertions]
version = "1.1.0"

[dependencies.strum]
version = "0.26.3"
features = ["derive"]

[dependencies.superslice]
version = "1.0.0"

[dependencies.thiserror]
version = "2.0.11"

[dependencies.tokio]
version = "1.43.0"
features = ["full"]

[dependencies.tokio-graceful-shutdown]
version = "0.15.3"

[dependencies.tokio-postgres]
version = "0.7.12"
features = ["array-impls"]
optional = true

[dependencies.tower-cookies]
version = "0.11.0"
optional = true

[dependencies.tracing]
version = "0.1.41"

[dependencies.utoipa]
version = "5.3.1"
optional = true

[dependencies.utoipa-axum]
version = "0.2.0"
optional = true

[dependencies.validator]
version = "0.20.0"
optional = true
