[package]
edition = "2021"
rust-version = "1.88"
name = "rtcom-core"
version = "0.2.1"
authors = ["TrekMax"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for rtcom (Rust Terminal Communication): serial device abstraction, event bus, and session orchestration."
readme = "README.md"
keywords = [
"serial",
"terminal",
"uart",
"embedded",
"async",
]
categories = [
"asynchronous",
"embedded",
"hardware-support",
]
license = "Apache-2.0"
repository = "https://github.com/TrekMax/rtcom"
[lib]
name = "rtcom_core"
path = "src/lib.rs"
[[test]]
name = "pty_roundtrip"
path = "tests/pty_roundtrip.rs"
[[test]]
name = "session_loopback"
path = "tests/session_loopback.rs"
[dependencies.bytes]
version = "1"
[dependencies.serialport]
version = "4"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-serial]
version = "5.4"
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = ["signal"]
default-features = false
[lints.clippy]
module_name_repetitions = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"