Transaction Science open standards monorepo. Each subdirectory is a self-contained reference protocol with its own README and licence. - openpay/ Apache-2.0 payment-acceptance stack (Rust, 26 crates) - smart-byte/ CC-BY-4.0 content-addressed value carrier (spec) - eoc/ CC-BY-4.0 energy-optimised compute (spec) The wire format and the right to fork are public. The optional hosted services are the offer; the protocols are not.
26 lines
821 B
TOML
26 lines
821 B
TOML
[package]
|
|
name = "op-emv"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "OpenPay EMV BER-TLV codec. Pure parser, no std required, zero alloc on the hot path."
|
|
|
|
[dependencies]
|
|
op-core = { path = "../op-core" }
|
|
thiserror = { workspace = true }
|
|
serde = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
proptest = { workspace = true }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
# Use the standard library. When disabled, the parser still works but
|
|
# the tree builder (which needs Vec) is excluded. This is what makes
|
|
# `op-emv` usable inside a smartcard's secure element if we ever ship
|
|
# a no-std target.
|
|
std = []
|
|
# Enable serde derives on Tlv / TlvTag so trees can be logged / cached.
|
|
serde = ["dep:serde", "op-core/default"]
|