| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.48.0" |
| 15 |
name = "base64" |
| 16 |
version = "0.21.7" |
| 17 |
authors = [ |
| 18 |
"Alice Maz <[email protected]>", |
| 19 |
"Marshall Pierce <[email protected]>", |
| 20 |
] |
| 21 |
description = "encodes and decodes base64 as bytes or utf8" |
| 22 |
documentation = "https://docs.rs/base64" |
| 23 |
readme = "README.md" |
| 24 |
keywords = [ |
| 25 |
"base64", |
| 26 |
"utf8", |
| 27 |
"encode", |
| 28 |
"decode", |
| 29 |
"no_std", |
| 30 |
] |
| 31 |
categories = ["encoding"] |
| 32 |
license = "MIT OR Apache-2.0" |
| 33 |
repository = "https://github.com/marshallpierce/rust-base64" |
| 34 |
|
| 35 |
[package.metadata.docs.rs] |
| 36 |
rustdoc-args = ["--generate-link-to-definition"] |
| 37 |
|
| 38 |
[profile.bench] |
| 39 |
debug = 2 |
| 40 |
|
| 41 |
[profile.test] |
| 42 |
opt-level = 3 |
| 43 |
|
| 44 |
[[example]] |
| 45 |
name = "base64" |
| 46 |
required-features = ["std"] |
| 47 |
|
| 48 |
[[test]] |
| 49 |
name = "tests" |
| 50 |
required-features = ["alloc"] |
| 51 |
|
| 52 |
[[test]] |
| 53 |
name = "encode" |
| 54 |
required-features = ["alloc"] |
| 55 |
|
| 56 |
[[bench]] |
| 57 |
name = "benchmarks" |
| 58 |
harness = false |
| 59 |
required-features = ["std"] |
| 60 |
|
| 61 |
[dev-dependencies.clap] |
| 62 |
version = "3.2.25" |
| 63 |
features = ["derive"] |
| 64 |
|
| 65 |
[dev-dependencies.criterion] |
| 66 |
version = "0.4.0" |
| 67 |
|
| 68 |
[dev-dependencies.once_cell] |
| 69 |
version = "1" |
| 70 |
|
| 71 |
[dev-dependencies.rand] |
| 72 |
version = "0.8.5" |
| 73 |
features = ["small_rng"] |
| 74 |
|
| 75 |
[dev-dependencies.rstest] |
| 76 |
version = "0.13.0" |
| 77 |
|
| 78 |
[dev-dependencies.rstest_reuse] |
| 79 |
version = "0.6.0" |
| 80 |
|
| 81 |
[dev-dependencies.strum] |
| 82 |
version = "0.25" |
| 83 |
features = ["derive"] |
| 84 |
|
| 85 |
[features] |
| 86 |
alloc = [] |
| 87 |
default = ["std"] |
| 88 |
std = ["alloc"] |