cortex-m 0.7.8

Low level access to Cortex-M processors
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 = "2024"
rust-version = "1.85"
name = "cortex-m"
version = "0.7.8"
build = "build.rs"
links = "cortex-m"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low level access to Cortex-M processors"
documentation = "https://docs.rs/cortex-m"
readme = "README.md"
keywords = [
    "arm",
    "cortex-m",
    "register",
    "peripheral",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-embedded/cortex-m"

[package.metadata.docs.rs]
targets = [
    "thumbv8m.main-none-eabihf",
    "thumbv6m-none-eabi",
    "thumbv7em-none-eabi",
    "thumbv7em-none-eabihf",
    "thumbv7m-none-eabi",
    "thumbv8m.base-none-eabi",
    "thumbv8m.main-none-eabi",
]

[features]
cm7 = []
cm7-r0p1 = ["cm7"]
critical-section = []
critical-section-single-core = ["critical-section/restore-state-u32"]
inline-asm = []
linker-plugin-lto = []
secure-mode = []
std = []

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

[dependencies.bare-metal]
version = "0.2.4"
features = ["const-fn"]

[dependencies.bitfield]
version = "0.13.2"

[dependencies.cortex-m-macros]
version = "=0.7.8"

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

[dependencies.eh0]
version = "0.2.4"
package = "embedded-hal"

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

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.volatile-register]
version = "0.2.2"