# 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 = "2024"
name = "os-trait"
version = "0.3.1"
authors = ["Jalon Wong <jalonwong@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Traits used to adapter different embedded RTOS."
documentation = "https://docs.rs/os-trait"
readme = "README.md"
keywords = [
    "embedded",
    "no-std",
    "RTOS",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mcu-rust/os-trait"

[package.metadata.docs.rs]
features = ["std"]

[features]
alloc = []
default = ["alloc"]
std = ["timeout-trait/std"]
std-custom-mutex = [
    "std",
    "mutex/std",
]

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

[dependencies.cfg-if]
version = "1"

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

[dependencies.fugit]
version = "0.3"

[dependencies.mutex]
version = "1"

[dependencies.mutex-traits]
version = "1"

[dependencies.timeout-trait]
version = "0.1"
