[package]
edition = "2021"
rust-version = "1.75"
name = "safe-decode"
version = "0.1.0"
authors = ["Albert Hui <albert.hui@gmail.com>"]
build = false
exclude = [
"fuzz/",
".github/",
"docs/",
"mkdocs.yml",
"deny.toml",
"renovate.json",
".pre-commit-config.yaml",
"release-plz.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Panic-free, allocating byte-to-value transforms with no format knowledge — ROT13, the UTF-16 decoder family with its NUL policy named in each function, and hex rendering."
homepage = "https://github.com/SecurityRonin/safe-decode"
documentation = "https://docs.rs/safe-decode"
readme = "README.md"
keywords = [
"forensics",
"utf16",
"decoding",
"rot13",
"no-panic",
]
categories = [
"encoding",
"parsing",
"text-processing",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/safe-decode"
[lib]
name = "safe_decode"
path = "src/lib.rs"
[dependencies]
[lints.clippy]
correctness = "deny"
suspicious = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 1
[lints.clippy.cast_possible_wrap]
level = "allow"
priority = 1
[lints.clippy.cast_precision_loss]
level = "allow"
priority = 1
[lints.clippy.cast_sign_loss]
level = "allow"
priority = 1
[lints.clippy.expect_used]
level = "deny"
priority = 0
[lints.clippy.indexing_slicing]
level = "deny"
priority = 0
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1
[lints.clippy.missing_panics_doc]
level = "allow"
priority = 1
[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1
[lints.clippy.must_use_candidate]
level = "allow"
priority = 1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.unwrap_used]
level = "deny"
priority = 0
[lints.rust]
unsafe_code = "forbid"