# 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 = "alto-types"
version = "2026.5.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common types used throughout alto."
homepage = "https://alto.commonware.xyz"
documentation = "https://docs.rs/alto-types"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/commonwarexyz/alto/tree/main/types"

[lib]
name = "alto_types"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"

[dependencies.bytes]
version = "1.7.1"

[dependencies.commonware-codec]
version = "2026.5.0"

[dependencies.commonware-consensus]
version = "2026.5.0"

[dependencies.commonware-cryptography]
version = "2026.5.0"

[dependencies.commonware-formatting]
version = "2026.5.0"

[dependencies.commonware-parallel]
version = "2026.5.0"

[dependencies.commonware-utils]
version = "2026.5.0"

[dependencies.rand]
version = "0.8.5"

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

[dependencies.serde-wasm-bindgen]
version = "0.6.5"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.wasm-bindgen]
version = "0.2.100"

[dev-dependencies.commonware-consensus]
version = "2026.5.0"
features = ["mocks"]

[dev-dependencies.commonware-cryptography]
version = "2026.5.0"
features = ["mocks"]

[dev-dependencies.commonware-math]
version = "2026.5.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3.4"
features = ["wasm_js"]
