tap-msg 0.7.0

Core message processing library for the Transaction Authorization Protocol
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 = "2021"
name = "tap-msg"
version = "0.7.0"
authors = ["Pelle Braendgaard <pelle@notabene.id>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core message processing library for the Transaction Authorization Protocol"
readme = "README.md"
license = "MIT"
repository = "https://github.com/TransactionAuthorizationProtocol/tap-rs"

[features]
default = []
examples = []
wasm = [
    "wasm-bindgen",
    "js-sys",
    "web-sys",
    "getrandom/js",
    "console_error_panic_hook",
]

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

[[example]]
name = "derive_macro_demo"
path = "examples/derive_macro_demo.rs"

[[example]]
name = "enhanced_derive_demo"
path = "examples/enhanced_derive_demo.rs"

[[example]]
name = "policy_demo"
path = "examples/policy_demo.rs"

[[example]]
name = "test_connect_serialize"
path = "examples/test_connect_serialize.rs"

[[example]]
name = "test_transaction_id_serialization"
path = "examples/test_transaction_id_serialization.rs"

[[example]]
name = "trust_ping_demo"
path = "examples/trust_ping_demo.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "message_benchmark"
path = "benches/message_benchmark.rs"
harness = false

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.console_error_panic_hook]
version = "0.1"
optional = true

[dependencies.getrandom]
version = "0.2"
features = ["js"]
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.rand]
version = "0.8.5"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.tap-caip]
version = "0.7.0"

[dependencies.tap-msg-derive]
version = "0.7.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tracing]
version = "0.1.37"

[dependencies.uuid]
version = "1.18.0"
features = [
    "v4",
    "serde",
    "fast-rng",
    "js",
]

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.web-sys]
version = "0.3"
features = ["console"]
optional = true

[dev-dependencies.criterion]
version = "0.6.0"

[dev-dependencies.once_cell]
version = "1.21.3"

[dev-dependencies.proptest]
version = "1.7.0"

[dev-dependencies.tokio]
version = "1.47.1"
features = [
    "sync",
    "macros",
    "io-util",
    "rt",
    "time",
]
default-features = false