# 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 = "ssp-server" version = "0.4.0" authors = ["SSP Rust Developers"] description = "Reference server implementation for the SSP/eSSP serial communication protocol" readme = "README.md" keywords = [ "serial", "ssp", "bill-acceptor", "bill-validator", ] categories = ["network-programming"] license = "MIT" repository = "https://github.com/ssp-rs/ssp-server" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", ] [lib] name = "ssp_server" path = "src/lib.rs" [[bin]] name = "auto_ssp_server" path = "src/bin/auto_server.rs" [[bin]] name = "jsonrpc_ssp_server" path = "src/bin/jsonrpc_server.rs" required-features = ["jsonrpc"] [dependencies.bus] version = "2.4" [dependencies.crossbeam] version = "0.8" [dependencies.env_logger] version = "0.10" [dependencies.log] version = "0.4" [dependencies.parking_lot] version = "0.12" [dependencies.serde_json] version = "1.0" features = ["std"] optional = true [dependencies.serialport] version = "4.2" default-features = false [dependencies.signal-hook] version = "0.3" [dependencies.smol-jsonrpc] version = "0.2" features = ["std"] optional = true [dependencies.ssp] version = "0.5" features = ["std"] [features] default = ["jsonrpc"] jsonrpc = [ "serde_json", "smol-jsonrpc", "ssp/jsonrpc", ] mock = [] test-crypto = [] test-e2e = [] test-rainbow = []