[package]
edition = "2024"
name = "some-serial"
version = "0.4.0"
authors = ["周睿 <zrufo747@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified serial driver collection for embedded and bare-metal environments"
documentation = "https://docs.rs/some-serial"
readme = "README.md"
keywords = [
"serial",
"uart",
"embedded",
"bare-metal",
]
categories = [
"embedded",
"hardware-support",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/drivercraft/sparreal-os"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
targets = [
"aarch64-unknown-none-softfloat",
"x86_64-unknown-none",
]
[package.metadata.playground]
all-features = true
[lib]
name = "some_serial"
path = "src/lib.rs"
[[test]]
name = "test"
path = "tests/test.rs"
harness = false
[dependencies.bitflags]
version = "2.10"
[dependencies.enum_dispatch]
version = "0.3"
[dependencies.heapless]
version = "0.9"
[dependencies.log]
version = "0.4"
[dependencies.rdif-serial]
version = "0.7"
[dependencies.thiserror]
version = "2"
default-features = false
[dependencies.tock-registers]
version = "0.10"
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies.x86]
version = "0.52"
[target.'cfg(target_os = "none")'.dev-dependencies.bare-test]
version = "0.8"
[target.'cfg(target_os = "none")'.dev-dependencies.fdt-edit]
version = "0.2.3"
[target.'cfg(target_os = "none")'.dev-dependencies.rdif-intc]
version = "0.14"
[target.'cfg(target_os = "none")'.dev-dependencies.rdrive]
version = "0.20"
[target.'cfg(target_os = "none")'.dev-dependencies.spin]
version = "0.10"