zaru-core 0.1.0

A secure payment model engine with transaction state machine and cryptographic verification
# 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 = "zaru-core"
version = "0.1.0"
authors = ["Your Name <khodingtata@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A secure payment model engine with transaction state machine and cryptographic verification"
homepage = "https://github.com/KhodingNow/zaru-core"
documentation = "https://docs.rs/zaru-core"
readme = "README.md"
keywords = [
    "payment",
    "cryptography",
    "transaction",
    "ed25519",
    "wallet",
]
categories = [
    "cryptography",
    "data-structures",
    "finance",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/KhodingNow/zaru-core"

[features]
default = ["python-bindings"]
python-bindings = ["dep:pyo3"]

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

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

[dependencies.async-trait]
version = "0.1.89"

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]

[dependencies.hex]
version = "0.4"

[dependencies.pyo3]
version = "0.20.0"
features = ["extension-module"]
optional = true

[dependencies.rand]
version = "0.8"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.52.1"
features = ["full"]

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

[dev-dependencies.tokio-test]
version = "0.4"

[profile.release]
lto = true
codegen-units = 1
strip = true