[package] name = "base64" version = "0.21.5" authors = ["Alice Maz ", "Marshall Pierce "] description = "encodes and decodes base64 as bytes or utf8" repository = "https://github.com/marshallpierce/rust-base64" documentation = "https://docs.rs/base64" readme = "README.md" keywords = ["base64", "utf8", "encode", "decode", "no_std"] categories = ["encoding"] license = "MIT OR Apache-2.0" edition = "2018" # dev-dependencies require 1.65, but the main code doesn't # This option was added in 1.56, keep it for when we bump MSRV. rust-version = "1.48.0" [[bench]] name = "benchmarks" harness = false required-features = ["std"] [[example]] name = "base64" required-features = ["std"] [[test]] name = "tests" required-features = ["alloc"] [[test]] name = "encode" required-features = ["alloc"] [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"] [dev-dependencies] criterion = "0.4.0" rand = { version = "0.8.5", features = ["small_rng"] } structopt = "0.3.26" # test fixtures for engine tests rstest = "0.12.0" rstest_reuse = "0.3.0" lazy_static = "1.4.0" [features] default = ["std"] alloc = [] std = ["alloc"] [profile.bench] # Useful for better disassembly when using `perf record` and `perf annotate` debug = true [profile.test] # Faster tests save much more than the increase in compilation time opt-level = 3