[package]
edition = "2024"
rust-version = "1.97"
name = "generic-atomics"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generic Atomic types for types that implement num-primitive traits"
homepage = "https://codeberg.org/crop/generic-atomics"
documentation = "https://docs.rs/generic_atomics"
readme = "README.md"
keywords = [
"atomic",
"float",
"generic",
"numerics",
"primitive",
]
categories = [
"concurrency",
"data-structures",
"no-std",
"rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/crop/generic-atomics"
[features]
[lib]
name = "generic_atomics"
path = "src/lib.rs"
[[test]]
name = "tests"
path = "tests/tests.rs"
[dependencies.atomic-traits]
version = "0.4.0"
[dependencies.num-primitive]
version = "0.3.9"
[dependencies.num-traits]
version = "0.2.19"
default-features = false
[dev-dependencies.num-traits]
version = "0.2.19"
default-features = false
[lints.clippy.all]
level = "warn"
priority = -3
[lints.clippy.allow_attributes]
level = "warn"
priority = 0
[lints.clippy.inline_always]
level = "allow"
priority = 0
[lints.clippy.missing_const_for_fn]
level = "allow"
priority = -1
[lints.clippy.missing_errors_doc]
level = "allow"
priority = -1
[lints.clippy.missing_panics_doc]
level = "allow"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -3
[lints.clippy.pedantic]
level = "warn"
priority = -3
[lints.clippy.perf]
level = "warn"
priority = -3
[lints.clippy.redundant_pub_crate]
level = "allow"
priority = -1
[lints.clippy.unwrap_used]
level = "warn"
priority = -1
[lints.rust]
non_ascii_idents = "warn"
noop_method_call = "warn"
unsafe_code = "warn"
unused_crate_dependencies = "warn"
unused_lifetimes = "warn"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.let_underscore]
level = "warn"
priority = -1
[lints.rust.nonstandard_style]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]
[lints.rust.unused]
level = "warn"
priority = -1