[package]
edition = "2024"
rust-version = "1.90"
name = "base64-ng"
version = "1.3.0"
build = false
include = [
"src/**",
"tests/**",
"benches/**",
"docs/**",
"portability/no_alloc_smoke/src/**",
"portability/migration_smoke/src/**",
"scripts/*.py",
"scripts/*.sh",
"Cargo.toml",
"release-crates.toml",
"rust-toolchain.toml",
"deny.toml",
"README.md",
"CONTRIBUTING.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 APIs and a security-heavy release process"
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 = []
default = [
"alloc",
"std",
]
fuzzing = []
kani = []
simd = []
std = ["alloc"]
stream = ["std"]
tokio = []
[lib]
name = "base64_ng"
path = "src/lib.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"
[dependencies]
[dev-dependencies]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(base64_ng_aarch64_csdb_attested)",
"cfg(base64_ng_kani_advanced)",
"cfg(kani)",
"cfg(miri)",
]