ph-eventing 0.3.0

Deterministic zero-allocation SPSC primitives for no-std embedded targets — ring buffers, a latest-value snapshot channel, condition flags, saturating counters, and complete sample blocks: bounded behaviour, measured cost, Loom-verified orderings
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.92.0"
name = "ph-eventing"
version = "0.3.0"
authors = ["Steven Giacomelli <steve@giacomelli.ca>"]
build = "build.rs"
include = [
    "src/**/*.rs",
    "!src/loom_tests.rs",
    "build.rs",
    "Cargo.toml",
    "LICENSE",
    "/README.md",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic zero-allocation SPSC primitives for no-std embedded targets — ring buffers, a latest-value snapshot channel, condition flags, saturating counters, and complete sample blocks: bounded behaviour, measured cost, Loom-verified orderings"
homepage = "https://github.com/photon-circus/ph-eventing"
documentation = "https://docs.rs/ph-eventing"
readme = "README.md"
keywords = [
    "realtime",
    "no-std",
    "lock-free",
    "spsc",
    "ring-buffer",
]
categories = [
    "embedded",
    "no-std",
    "concurrency",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/photon-circus/ph-eventing"

[package.metadata.docs.rs]
features = ["portable-atomic"]

[features]
_cycles-probe = []
default = []
portable-atomic = ["dep:portable-atomic"]
portable-atomic-critical-section = [
    "portable-atomic",
    "portable-atomic/critical-section",
]
portable-atomic-unsafe-assume-single-core = [
    "portable-atomic",
    "portable-atomic/unsafe-assume-single-core",
]

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

[dependencies.portable-atomic]
version = "1.13"
features = ["require-cas"]
optional = true
default-features = false

[target."cfg(loom)".dev-dependencies.loom]
version = "0.7"

[lints.clippy]
alloc_instead_of_core = "warn"
std_instead_of_core = "warn"
undocumented_unsafe_blocks = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"

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