# 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 = "sumchain-primitives"
version = "0.2.0"
authors = ["SUM Chain Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core primitive types and on-chain wire formats for SUM Chain (an L1 blockchain): addresses, hashes, blocks, transactions, receipts, and subprotocol payloads including the OmniNode InferenceAttestation suite."
readme = "README.md"
keywords = [
    "sumchain",
    "blockchain",
    "primitives",
    "l1",
    "wire",
]
categories = [
    "cryptography::cryptocurrencies",
    "data-structures",
    "encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SUM-INNOVATION/sum-chain"

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

[[test]]
name = "education_fixtures"
path = "tests/education_fixtures.rs"

[[test]]
name = "governance_fixtures"
path = "tests/governance_fixtures.rs"

[[test]]
name = "inference_attestation_fixtures"
path = "tests/inference_attestation_fixtures.rs"

[[test]]
name = "inference_settlement_fixtures"
path = "tests/inference_settlement_fixtures.rs"

[[test]]
name = "token_ops_fixtures"
path = "tests/token_ops_fixtures.rs"

[[test]]
name = "v2_wire_fixtures"
path = "tests/v2_wire_fixtures.rs"

[dependencies.bincode]
version = "1.3"

[dependencies.blake3]
version = "1.5"

[dependencies.bs58]
version = "0.5"

[dependencies.derive_more]
version = "0.99"

[dependencies.ed25519-dalek]
version = "2.1"
features = [
    "serde",
    "rand_core",
    "hazmat",
]

[dependencies.hex]
version = "0.4"

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

[dependencies.serde-big-array]
version = "0.5"

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.rand]
version = "0.8"
