txgate-policy 0.3.2

Policy engine for transaction approval rules in TxGate
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"
rust-version = "1.75"
name = "txgate-policy"
version = "0.3.2"
authors = ["TxGate Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Policy engine for transaction approval rules in TxGate"
readme = "README.md"
keywords = [
    "txgate",
    "policy",
    "rules",
    "authorization",
]
categories = [
    "cryptography",
    "config",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/luisjpf/txgate"

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

[dependencies.alloy-primitives]
version = "1.5"
features = ["serde"]

[dependencies.hex]
version = "0.4"

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

[dependencies.txgate-chain]
version = "0.3.2"

[dependencies.txgate-core]
version = "0.3.2"

[dev-dependencies.mockall]
version = "0.13"

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

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tempfile]
version = "3.14"

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

[lints.clippy]
expect_used = "warn"
indexing_slicing = "deny"
panic = "deny"
todo = "warn"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"