[dependencies.base64]
default-features = false
optional = true
version = "0.22.1"
[dependencies.errno]
default-features = false
optional = true
version = "0.3.9"
[dependencies.getrandom]
default-features = false
features = ["rdrand"]
optional = true
version = "0.2.15"
[dependencies.libc]
default-features = false
version = "0.2.155"
[dev-dependencies.cfg-if]
version = "1.0.0"
[dev-dependencies.errno]
default-features = false
version = "0.3.9"
[[example]]
name = "multi-proc"
path = "examples/multi-proc/main.rs"
[features]
anonymous = ["named", "getrandom", "base64"]
default = ["unnamed", "named", "anonymous", "plaster"]
named = ["errno"]
plaster = []
unnamed = []
[lib]
name = "sem_safe"
path = "src/lib.rs"
[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
blanket_clippy_restriction_lints = "allow"
default_numeric_fallback = "allow"
deref_by_slicing = "allow"
disallowed_script_idents = "allow"
impl_trait_in_params = "allow"
implicit_return = "allow"
min_ident_chars = "allow"
missing_docs_in_private_items = "allow"
missing_trait_methods = "allow"
module_name_repetitions = "allow"
non_ascii_literal = "allow"
pattern_type_mismatch = "allow"
pub_use = "allow"
pub_with_shorthand = "allow"
question_mark_used = "allow"
self_named_module_files = "allow"
semicolon_outside_block = "allow"
separated_literal_suffix = "allow"
shadow_reuse = "allow"
single_call_fn = "allow"
single_char_lifetime_names = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.restriction]
level = "warn"
priority = -1
[lints.rust]
let_underscore_drop = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
redundant_lifetimes = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unstable_features = "forbid"
unused_crate_dependencies = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
unused_results = "warn"
variant_size_differences = "warn"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.nonstandard_style]
level = "warn"
priority = -1
[lints.rust.rust_2018_compatibility]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -1
[lints.rust.unused]
level = "warn"
priority = -1
[lints.rustdoc]
private_doc_tests = "warn"
[package]
authors = ["Derick Eddington"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "concurrency", "os::unix-apis", "no-std::no-alloc"]
description = "Safe usage of POSIX Semaphores (`sem_post`, `sem_wait`, etc)."
edition = "2021"
keywords = ["semaphore", "synchronization", "signals", "unix", "no_std"]
license = "Unlicense"
name = "sem_safe"
readme = "README.md"
repository = "https://app.radicle.xyz/nodes/ash.radicle.garden/rad:zUAeNZN24JCzNQ9YVkoxNbw8c8TU"
rust-version = "1.75"
version = "0.2.1"
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
targets = ["x86_64-apple-darwin", "x86_64-unknown-freebsd", "x86_64-unknown-illumos", "x86_64-unknown-linux-musl", "x86_64-unknown-netbsd", "x86_64-unknown-openbsd"]
[[test]]
name = "usage"
path = "tests/usage/main.rs"