[package]
name = "simpleos"
version = "0.6.3"
edition = "2021"
description = "A Simple OS use for MCU, that implements single-threaded asynchronous runtime."
license = "MIT"
repository = "https://github.com/houxd/simpleos"
homepage = "https://github.com/houxd/simpleos"
documentation = "https://docs.rs/simpleos"
keywords = ["embedded", "mcu", "no-std", "async", "console"]
categories = ["no-std"]
authors = ["houxd.g@gmail.com"]
exclude = []
[lib]
crate-type = ["lib"]
[features]
default = ["util"]
util = []
allocator-cstdlib = []
panic-handler = []
[[example]]
name = "emulate"
[dependencies]
chrono = { version = "0.4", default-features = false, features = ["alloc"] }
anyhow = { version = "1.0", default-features = false }
async-trait = "0.1.89"
[dev-dependencies]
termion = "4.0.6"
[build-dependencies]
bindgen = "0.72"
anyhow = "1.0"
cc = "1.2.50"
[profile.dev]
opt-level = 0
[profile.release]
opt-level = "s"
codegen-units = 1
lto = true
[lints.rust]
unused_must_use = "warn"