[package]
edition = "2024"
rust-version = "1.95"
name = "oxicrypt"
version = "0.26.1"
build = "build.rs"
links = "oxicrypt_ffi"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust interface to the separately built and signed oxicrypt shared library (liboxicrypt_ffi). Outside the cryptographic boundary and not the module itself: holds no cryptographic code and depends on no oxicrypt-* crate."
homepage = "https://oxicrypt.dev"
readme = "README.md"
keywords = [
"cryptography",
"fips",
"fips-140-3",
"nist",
"ffi",
]
categories = [
"cryptography",
"api-bindings",
]
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.1/docs/llm-api-manifest/llm-api.yaml"
spec = "https://github.com/lamaspec/lama/blob/main/SPEC.md"
[lib]
name = "oxicrypt"
path = "src/lib.rs"
[[example]]
name = "probe"
path = "examples/probe.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
[[test]]
name = "bounds"
path = "tests/bounds.rs"
[[test]]
name = "controls"
path = "tests/controls.rs"
[[test]]
name = "handles"
path = "tests/handles.rs"
[[test]]
name = "inventory"
path = "tests/inventory.rs"
[[test]]
name = "link"
path = "tests/link.rs"
[[test]]
name = "operational"
path = "tests/operational.rs"
[[test]]
name = "pins"
path = "tests/pins.rs"
[[test]]
name = "unrestricted"
path = "tests/unrestricted.rs"
[dev-dependencies]
[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"