[package]
edition = "2021"
rust-version = "1.97"
name = "hardless-core"
version = "0.1.1"
authors = ["Hardless contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sans-IO core of Hardless: device plugin interface, registry, event log, faults and clock."
homepage = "https://github.com/hardlessdev/hardless"
readme = "README.md"
keywords = [
"pos",
"emulator",
"escpos",
"testing",
"hardware",
]
categories = [
"emulators",
"development-tools::testing",
]
license = "Apache-2.0"
repository = "https://github.com/hardlessdev/hardless"
[features]
default = []
ts = ["dep:ts-rs"]
[lib]
name = "hardless_core"
path = "src/lib.rs"
[[test]]
name = "faults_and_ids"
path = "tests/faults_and_ids.rs"
[[test]]
name = "fr_01_device_plugin"
path = "tests/fr_01_device_plugin.rs"
[[test]]
name = "fr_02_peripherals"
path = "tests/fr_02_peripherals.rs"
[[test]]
name = "fr_02_registry"
path = "tests/fr_02_registry.rs"
[[test]]
name = "fr_03_event_log"
path = "tests/fr_03_event_log.rs"
[[test]]
name = "fr_04_scenario"
path = "tests/fr_04_scenario.rs"
[[test]]
name = "fr_05_clock"
path = "tests/fr_05_clock.rs"
[dependencies.bytes]
version = "1.12.1"
features = ["serde"]
[dependencies.schemars]
version = "1.2.3"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.154"
[dependencies.ts-rs]
version = "12.0.1"
features = [
"serde-json-impl",
"no-serde-warnings",
]
optional = true
[dev-dependencies.insta]
version = "1.49.0"
features = ["json"]
[dev-dependencies.proptest]
version = "1.12.0"
[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"