rtic-sync 1.5.0

Synchronization primitives for asynchronous contexts
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"
name = "rtic-sync"
version = "1.5.0"
authors = [
    "The Real-Time Interrupt-driven Concurrency developers",
    "Emil Fresk <emil.fresk@gmail.com>",
    "Henrik Tjäder <henrik@tjaders.com>",
    "Jorge Aparicio <jorge@japaric.io>",
    "Per Lindgren <per.lindgren@ltu.se>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Synchronization primitives for asynchronous contexts"
readme = false
categories = [
    "concurrency",
    "embedded",
    "no-std",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rtic-rs/rtic"

[features]
default = []
defmt-03 = [
    "dep:defmt-03",
    "embedded-hal/defmt-03",
    "embedded-hal-async/defmt-03",
    "embedded-hal-bus/defmt-03",
]
testing = [
    "critical-section/std",
    "rtic-common/testing",
]

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

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

[dependencies.defmt-03]
version = "0.3"
optional = true
package = "defmt"

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

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

[dependencies.embedded-hal-bus]
version = "0.3.0"
features = ["async"]

[dependencies.heapless]
version = "0.9"

[dependencies.portable-atomic]
version = "1"
default-features = false

[dependencies.rtic-common]
version = "1.0.0"

[dev-dependencies.cassette]
version = "0.3.0"

[dev-dependencies.static_cell]
version = "2.1.0"

[target."cfg(loom)".dependencies.critical-section]
version = "1"
features = ["restore-state-bool"]

[target."cfg(loom)".dependencies.loom]
version = "0.7.2"
features = ["futures"]

[target."cfg(not(loom))".dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "time",
]
default-features = false

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ["cfg(loom)"]