[package]
edition = "2021"
rust-version = "1.85"
name = "ecr17-protocol"
version = "1.0.1"
authors = ["Padosoft <support@padosoft.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Italian ECR17 payment protocol (Nexi Group POS terminals) over LAN — pure-Rust protocol engine plus an async client and an optional tokio TCP transport."
readme = "README.md"
keywords = [
"ecr17",
"nexi",
"pos",
"payment",
"protocol",
]
categories = [
"network-programming",
"api-bindings",
"encoding",
]
license = "MIT"
repository = "https://github.com/padosoft/rust-ecr17-protocol"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
tokio-transport = [
"tokio/net",
"tokio/io-util",
]
[lib]
name = "ecr17_protocol"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.52.3"
features = [
"time",
"sync",
"rt",
]
default-features = false
[dev-dependencies.serde_json]
version = "1.0.150"
[dev-dependencies.tokio]
version = "1.52.3"
features = [
"macros",
"rt",
"rt-multi-thread",
"time",
"sync",
"test-util",
]
default-features = false