cf-modkit-security 0.1.0

ModKit security library
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 = "cf-modkit-security"
version = "0.1.0"
authors = ["Hypernetix"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ModKit security library"
readme = false
keywords = [
    "cyberfabric",
    "cyberfabric-modkit",
]
license = "Apache-2.0"
repository = "https://github.com/hypernetix/hyperspot"

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

[[test]]
name = "bin_codec"
path = "tests/bin_codec.rs"

[[test]]
name = "root_constants"
path = "tests/root_constants.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.postcard]
version = "1.1.3"
features = ["alloc"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.uuid]
version = "1.19"
features = [
    "serde",
    "v4",
]

[lints.clippy]
async_yields_async = "deny"
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
clone_on_copy = "deny"
cognitive_complexity = "deny"
dbg_macro = "deny"
debug_assert_with_mut_call = "deny"
default_trait_access = "deny"
doc_link_with_quotes = "deny"
doc_markdown = "deny"
elidable_lifetime_names = "deny"
empty_line_after_outer_attr = "deny"
empty_structs_with_brackets = "deny"
enum_glob_use = "deny"
expect_used = "deny"
explicit_iter_loop = "deny"
float_cmp = "deny"
float_cmp_const = "deny"
format_push_string = "deny"
if_not_else = "deny"
ignore_without_reason = "deny"
ignored_unit_patterns = "deny"
implicit_clone = "deny"
implicit_hasher = "deny"
inefficient_to_string = "deny"
integer_division = "deny"
ip_constant = "deny"
items_after_statements = "deny"
large_stack_arrays = "deny"
large_types_passed_by_value = "deny"
lossy_float_literal = "deny"
manual_assert = "deny"
manual_filter_map = "deny"
manual_find_map = "deny"
manual_let_else = "deny"
manual_map = "deny"
manual_ok_or = "deny"
manual_string_new = "deny"
many_single_char_names = "deny"
map_clone = "deny"
map_unwrap_or = "deny"
match_bool = "deny"
match_same_arms = "deny"
match_wildcard_for_single_variants = "deny"
missing_errors_doc = "deny"
missing_fields_in_debug = "deny"
missing_panics_doc = "deny"
must_use_candidate = "deny"
mutex_atomic = "deny"
needless_borrow = "deny"
needless_collect = "deny"
needless_for_each = "deny"
needless_late_init = "deny"
needless_lifetimes = "deny"
needless_option_as_deref = "deny"
needless_pass_by_value = "deny"
no_effect_underscore_binding = "deny"
non_ascii_literal = "deny"
non_std_lazy_statics = "deny"
option_as_ref_cloned = "deny"
rc_buffer = "deny"
rc_mutex = "deny"
redundant_clone = "deny"
redundant_closure_for_method_calls = "deny"
redundant_else = "deny"
redundant_pattern_matching = "deny"
redundant_pub_crate = "deny"
ref_option = "deny"
regex_creation_in_loops = "deny"
return_self_not_must_use = "deny"
semicolon_if_nothing_returned = "deny"
similar_names = "deny"
single_char_pattern = "deny"
single_match_else = "deny"
str_to_string = "deny"
string_lit_as_bytes = "deny"
struct_excessive_bools = "deny"
suspicious_operation_groupings = "deny"
too_many_lines = "deny"
trivially_copy_pass_by_ref = "deny"
type_complexity = "deny"
unchecked_time_subtraction = "deny"
uninlined_format_args = "deny"
unnecessary_debug_formatting = "deny"
unnecessary_literal_bound = "deny"
unnecessary_wraps = "deny"
unnested_or_patterns = "deny"
unreadable_literal = "deny"
unused_async = "deny"
unused_self = "deny"
unwrap_used = "deny"
use_debug = "deny"
used_underscore_binding = "deny"
used_underscore_items = "deny"
useless_let_if_seq = "deny"
verbose_file_reads = "deny"
wildcard_dependencies = "deny"
wildcard_imports = "deny"

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
deprecated = "warn"
non_ascii_idents = "forbid"
noop_method_call = "warn"
unsafe_code = "forbid"
unused_import_braces = "warn"
unused_mut = "warn"

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