# 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 = "2021" rust-version = "1.75" name = "sem_safe" version = "0.2.0" authors = ["Derick Eddington"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Safe usage of POSIX Semaphores (`sem_post`, `sem_wait`, etc)." readme = "README.md" keywords = [ "semaphore", "synchronization", "signals", "unix", "no_std", ] categories = [ "api-bindings", "concurrency", "os::unix-apis", "no-std::no-alloc", ] license = "Unlicense" repository = "https://app.radicle.xyz/nodes/ash.radicle.garden/rad:zUAeNZN24JCzNQ9YVkoxNbw8c8TU" [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", ] [lib] name = "sem_safe" path = "src/lib.rs" [[example]] name = "multi-proc" path = "examples/multi-proc/main.rs" [[test]] name = "usage" path = "tests/usage/main.rs" [dependencies.base64] version = "0.22.1" optional = true default-features = false [dependencies.errno] version = "0.3.9" optional = true default-features = false [dependencies.getrandom] version = "0.2.15" features = ["rdrand"] optional = true default-features = false [dependencies.libc] version = "0.2.155" default-features = false [dev-dependencies.cfg-if] version = "1.0.0" [dev-dependencies.errno] version = "0.3.9" default-features = false [features] anonymous = [ "named", "getrandom", "base64", ] default = [ "unnamed", "named", "anonymous", "plaster", ] named = ["errno"] plaster = [] unnamed = [] [lints.clippy] absolute_paths = "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"