# 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 = "tehuti"
version = "0.21.0"
authors = ["Patryk 'PsichiX' Budzynski <psichix@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Modular communication system for game development."
homepage = "https://github.com/PsichiX/tehuti"
documentation = "https://docs.rs/tehuti"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/PsichiX/tehuti"
resolver = "2"

[features]
decimal = ["dep:rust_decimal"]
default = [
    "postcard",
    "decimal",
]
postcard = ["dep:postcard"]

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

[dependencies.flume]
version = "0.12"
features = ["async"]
default-features = false

[dependencies.leb128]
version = "0.2"

[dependencies.postcard]
version = "1"
features = ["use-std"]
optional = true

[dependencies.rust_decimal]
version = "1.40"
features = [
    "macros",
    "maths",
    "std",
    "serde-float",
]
optional = true

[dependencies.seahash]
version = "4"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.smallvec]
version = "1.15"
features = ["serde"]

[dependencies.tracing]
version = "0.1"

[dependencies.typid]
version = "1"

[target.'cfg(target_arch = "wasm32")'.dependencies.instant]
version = "0.1"
features = ["wasm-bindgen"]
