# 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 = "freertos-next"
version = "0.12.0"
authors = ["Jalon Wong <jalonwong@gmail.com>"]
build = "build.rs"
links = "freertos"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Create to use FreeRTOS in rust projects.
The freertos-build crate can be used to build and link FreeRTOS from source inside build.rs."""
homepage = "https://github.com/mcu-rust/FreeRTOS/tree/main/freertos"
documentation = "https://docs.rs/freertos-next"
readme = "README.md"
keywords = [
    "FreeRTOS",
    "RTOS",
    "embedded",
    "MCU",
]
license = "MIT"

[features]
allocator = []
assert-hook = []
counting-semaphore = []
cpu-clock = []
critical-section-impl = ["critical-section/restore-state-u32"]
default = ["minimum"]
delay-until = []
delete-task = []
heap-free-size = ["allocator"]
interrupt = []
minimum = [
    "allocator",
    "sync",
    "time",
]
recursive-mutex = []
stack-high-water = []
standard = [
    "minimum",
    "delete-task",
    "heap-free-size",
    "stack-high-water",
    "critical-section-impl",
]
sync = ["interrupt"]
task-suspend = []
time = ["interrupt"]
trace-facility = []

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

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

[dependencies.critical-section]
version = "1"

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

[dependencies.os-trait]
version = "0.11"

[target.'cfg(all(target_arch = "arm", target_os = "none", any(target_abi = "eabi", target_abi = "eabihf")))'.dependencies.cortex-m]
version = "0.7"
