# 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"
rust-version = "1.85.0"
name = "osal-rs"
version = "0.4.3"
authors = ["Antonio Salsi"]
build = "build.rs"
exclude = [
    "target/",
    ".git/",
    ".github/",
    "*.swp",
    "*.swo",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Operating System Abstraction Layer for Rust with support for FreeRTOS and POSIX"
homepage = "https://github.com/HiHappyGarden/osal-rs"
documentation = "https://docs.rs/osal-rs"
readme = "README.md"
keywords = [
    "os",
    "rtos",
    "freertos",
    "embedded",
    "posix",
]
categories = [
    "embedded",
    "no-std",
    "os",
]
license = "GPL-3.0"
repository = "https://github.com/HiHappyGarden/osal-rs"

[features]
default = ["freertos"]
disable_panic = []
freertos = []
posix = []
serde = ["osal-rs-serde"]
std = ["disable_panic"]

[lib]
name = "osal_rs"
crate-type = [
    "staticlib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.osal-rs-serde]
version = "0.4"
features = ["derive"]
optional = true

[build-dependencies.osal-rs-build]
version = "0.4"

[profile.dev]
panic = "abort"

[profile.release]
panic = "abort"
