# 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"
name = "lilos"
version = "0.3.6"
authors = ["Cliff L. Biffle <code@cliffle.com>"]
description = "A tiny embedded OS based around Futures and async."
readme = "README.mkdn"
keywords = [
    "async",
    "embedded",
    "realtime",
    "os",
]
categories = ["embedded"]
license = "MPL-2.0"
repository = "https://github.com/cbiffle/lilos/"

[package.metadata.docs.rs]
default-target = "thumbv7em-none-eabihf"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
debug = true

[lib]
test = false
bench = false

[dependencies.cortex-m]
version = "0.7.4"
features = ["inline-asm"]

[dependencies.cortex-m-rt]
version = "0.7.1"

[dependencies.pin-project-lite]
version = "0.2.10"

[dependencies.scopeguard]
version = "1.1.0"
optional = true
default-features = false

[features]
default = [
    "mutex",
    "spsc",
    "handoff",
    "systick",
]
handoff = ["scopeguard"]
mutex = ["scopeguard"]
spsc = []
systick = []
