aleph-types 0.7.0

Definitions for the most commonly used types in the Aleph Cloud network.
Documentation
# 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 = "aleph-types"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Definitions for the most commonly used types in the Aleph Cloud network."
homepage = "https://github.com/aleph-im/aleph-rs"
readme = "README.md"
license = "MIT"
repository = "https://github.com/aleph-im/aleph-rs"
resolver = "2"

[features]
default = ["signature"]
signature = [
    "signature-evm",
    "signature-sol",
]
signature-evm = [
    "dep:k256",
    "dep:sha3",
    "dep:hex",
]
signature-sol = [
    "dep:ed25519-dalek",
    "dep:bs58",
]

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

[dependencies.bs58]
version = "0.5"
optional = true

[dependencies.chrono]
version = "0.4.42"

[dependencies.ed25519-dalek]
version = "2"
features = ["std"]
optional = true
default-features = false

[dependencies.hex]
version = "0.4"
optional = true

[dependencies.k256]
version = "0.13"
features = ["ecdsa"]
optional = true

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.sha2]
version = "0.10.9"

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

[dependencies.thiserror]
version = "2.0.17"

[dev-dependencies.assert_matches]
version = "1.5.0"