[package]
edition = "2024"
rust-version = "1.90"
name = "base64-ng"
version = "2.0.1"
build = false
include = [
"src/**",
"tests/**",
"Cargo.toml",
"/README.md",
"CHANGELOG.md",
"SECURITY.md",
"/LICENSE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no_std-first Base64 encoding and decoding with strict RFC 4648 APIs and optional SIMD"
homepage = "https://github.com/valkyoth/base64-ng"
documentation = "https://docs.rs/base64-ng"
readme = "README.md"
keywords = [
"base64",
"encoding",
"no-std",
"simd",
]
categories = [
"encoding",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/valkyoth/base64-ng"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alloc = []
allow-compiler-fence-only-wipe = []
allow-wasm32-best-effort-wipe = []
checked-backend = ["simd"]
default = [
"alloc",
"std",
]
fuzzing = []
kani = []
secrets = []
simd = []
std = ["alloc"]
stream = ["std"]
tokio = []
[lib]
name = "base64_ng"
path = "src/lib.rs"
[[test]]
name = "big_endian"
path = "tests/big_endian.rs"
[[test]]
name = "rfc4648"
path = "tests/rfc4648.rs"
[[test]]
name = "simd_decode_dispatch"
path = "tests/simd_decode_dispatch.rs"
[[test]]
name = "stream"
path = "tests/stream.rs"
[[test]]
name = "v2_assurance"
path = "tests/v2_assurance.rs"
[[test]]
name = "v2_formatting_alloc"
path = "tests/v2_formatting_alloc.rs"
[[test]]
name = "v2_fuzz_properties"
path = "tests/v2_fuzz_properties.rs"
[[test]]
name = "v2_secret_decoder"
path = "tests/v2_secret_decoder.rs"
[[test]]
name = "v2_secret_encoder"
path = "tests/v2_secret_encoder.rs"
[[test]]
name = "v2_secret_storage"
path = "tests/v2_secret_storage.rs"
[dependencies]
[dev-dependencies]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(base64_ng_aarch64_csdb_attested)",
"cfg(base64_ng_perf_evidence)",
"cfg(base64_ng_require_high_assurance)",
"cfg(base64_ng_rvv_candidate)",
"cfg(base64_ng_sve_candidate)",
"cfg(base64_ng_kani_advanced)",
"cfg(kani)",
"cfg(miri)",
]