oxicrypt-module 0.26.0

Module structure targeting FIPS 140-3 Level 1: state machine, self-test runner, approved-mode indicator
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.95"
name = "oxicrypt-module"
version = "0.26.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Module structure targeting FIPS 140-3 Level 1: state machine, self-test runner, approved-mode indicator"
homepage = "https://oxicrypt.dev"
readme = "README.md"
keywords = [
    "cryptography",
    "fips",
    "fips-140-3",
    "no-std",
    "nist",
]
categories = [
    "cryptography",
    "no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/oxiforge/oxicrypt"
resolver = "2"

[package.metadata.lama]
manifest = "https://raw.githubusercontent.com/oxiforge/oxicrypt/v0.26.0/docs/llm-api-manifest/llm-api.yaml"
spec = "https://github.com/lamaspec/lama/blob/main/SPEC.md"

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

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

[dependencies]

[dev-dependencies]

[target.'cfg(any(target_os = "linux", target_os = "android", target_os = "macos", target_os = "ios", windows))'.dependencies.oxicrypt-imageread]
version = "0.26.0"

[lints.clippy]
arithmetic_side_effects = "warn"
dbg_macro = "deny"
doc_markdown = "allow"
expect_used = "deny"
indexing_slicing = "deny"
integer_division = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "warn"
unwrap_used = "deny"

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

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"
unused_lifetimes = "warn"