# 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.88" name = "selinux" version = "0.6.3" authors = ["Koutheir Attouchi "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Flexible Mandatory Access Control for Linux" homepage = "https://codeberg.org/koutheir/selinux.git" documentation = "https://docs.rs/selinux" readme = "README.md" keywords = [ "selinux", "security", "access-control", "linux", "filesystem", ] categories = [ "api-bindings", "filesystem", "os", "os::linux-apis", ] license = "MIT" repository = "https://codeberg.org/koutheir/selinux.git" [lib] name = "selinux" path = "src/lib.rs" [dependencies.bitflags] version = "2" [dependencies.errno] version = "0.3" [dependencies.libc] version = "0.2" [dependencies.once_cell] version = "1" [dependencies.parking_lot] version = "0.12" [dependencies.selinux-sys] version = "0.7" [dependencies.thiserror] version = "2" [dev-dependencies.assert_matches] version = "1" [dev-dependencies.serial_test] version = "3" [dev-dependencies.socketpair] version = "0.19" [dev-dependencies.tempfile] version = "3" [lints.clippy] absolute_paths = "allow" alloc_instead_of_core = "warn" arbitrary_source_item_ordering = "allow" default_numeric_fallback = "warn" doc_markdown = "allow" error_impl_error = "allow" exhaustive_structs = "allow" expect_used = "allow" field_scoped_visibility_modifiers = "allow" impl_trait_in_params = "allow" implicit_return = "allow" indexing_slicing = "allow" min_ident_chars = "allow" missing_docs_in_private_items = "allow" missing_errors_doc = "allow" missing_inline_in_public_items = "allow" missing_trait_methods = "allow" mod_module_files = "allow" module_name_repetitions = "allow" multiple_unsafe_ops_per_block = "allow" must_use_candidate = "warn" needless_pass_by_value = "allow" pattern_type_mismatch = "allow" pub_use = "allow" pub_with_shorthand = "allow" question_mark_used = "allow" separated_literal_suffix = "allow" shadow_reuse = "allow" shadow_unrelated = "allow" single_call_fn = "allow" single_char_lifetime_names = "warn" std_instead_of_alloc = "warn" std_instead_of_core = "warn" undocumented_unsafe_blocks = "allow" unused_self = "allow" unused_trait_names = "allow" upper_case_acronyms = "allow" [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] missing_docs = "warn" unsafe_op_in_unsafe_fn = "warn"