45 lines
1.1 KiB
TOML
45 lines
1.1 KiB
TOML
# 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 = "2018"
|
|
name = "critical-section"
|
|
version = "1.2.0"
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Cross-platform critical section"
|
|
readme = "README.md"
|
|
categories = [
|
|
"embedded",
|
|
"no-std",
|
|
"concurrency",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rust-embedded/critical-section"
|
|
|
|
[lib]
|
|
name = "critical_section"
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
restore-state-bool = []
|
|
restore-state-none = []
|
|
restore-state-u16 = []
|
|
restore-state-u32 = []
|
|
restore-state-u64 = []
|
|
restore-state-u8 = []
|
|
restore-state-usize = []
|
|
std = ["restore-state-bool"]
|