rrkernel 0.3.0

Preemptive round-robin RTOS kernel: one API for bare-metal Cortex-M (SysTick+PendSV, cycle-exact slices) and std desktops, with an optional #[rrkernel] attribute that makes main() task 0.
Documentation
# 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"
rust-version = "1.88"
name = "rrkernel"
version = "0.3.0"
authors = ["Mohamed A.Taha <ahmed.boin@gmail.com>"]
build = false
exclude = [
    "examples/cortex-m-bluepill/",
    "examples/cortex-m-blackpill/",
    "firmware-cortex-m/",
    "firmware-riscv/",
    "firmware-arm-a/",
    "firmware-esp32/",
    "firmware-common/",
    "tools/",
    "scripts/",
    "avr-specs/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Preemptive round-robin RTOS kernel: one API for bare-metal Cortex-M (SysTick+PendSV, cycle-exact slices) and std desktops, with an optional #[rrkernel] attribute that makes main() task 0."
documentation = "https://docs.rs/rrkernel"
readme = "README.md"
keywords = [
    "rtos",
    "no_std",
    "embedded",
    "cortex-m",
    "scheduler",
]
categories = [
    "embedded",
    "no-std",
    "concurrency",
]
license = "MIT"
repository = "https://github.com/AhmedBoin/rrkernel"

[package.metadata.docs.rs]
features = ["std"]
default-target = "x86_64-unknown-linux-gnu"

[features]
default = ["macros"]
macros = ["dep:rrkernel-macros"]
std = []

[lib]
name = "rrkernel"
path = "src/lib.rs"

[[example]]
name = "io_layers"
path = "examples/io_layers.rs"
required-features = ["std"]

[[example]]
name = "jitter_bench"
path = "examples/jitter_bench.rs"
required-features = ["std"]

[[example]]
name = "roundrobin_demo"
path = "examples/roundrobin_demo.rs"
required-features = ["std"]

[[example]]
name = "sleep_fidelity"
path = "examples/sleep_fidelity.rs"
required-features = ["std"]

[[example]]
name = "smoke"
path = "examples/smoke.rs"
required-features = ["std"]

[[test]]
name = "blocking_contexts"
path = "tests/blocking_contexts.rs"

[[test]]
name = "event_state"
path = "tests/event_state.rs"

[[test]]
name = "ring_invariants"
path = "tests/ring_invariants.rs"

[[test]]
name = "ring_properties"
path = "tests/ring_properties.rs"

[dependencies.embedded-hal]
version = "1.0"

[dependencies.embedded-hal-async]
version = "1.0"

[dependencies.embedded-io]
version = "0.7"

[dependencies.embedded-io-async]
version = "0.7"

[dependencies.rrkernel-macros]
version = "0.2.0"
optional = true

[profile.dev]
opt-level = 1

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 2
panic = "abort"

[profile.test]
opt-level = 1