[package]
edition = "2021"
rust-version = "1.74.0"
name = "basexx"
version = "0.2.0"
authors = ["aki <aki.akaguma@hotmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "basexx utilities. base32, base64, base58, base56..."
readme = "README.md"
keywords = [
"base32",
"base64",
"base56",
"base58",
"no_std",
]
categories = ["encoding"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/aki-akaguma/basexx"
[package.metadata.docs.rs]
features = ["dox"]
[features]
abench = ["bench"]
aligned-vec = ["dep:aligned-vec"]
bench = []
defaults = []
dox = []
no_std = []
nobench = []
rug = ["dep:rug"]
ubench = ["bench"]
[lib]
name = "basexx"
path = "src/lib.rs"
[[bin]]
name = "basexx"
path = "src/test_main.rs"
[[test]]
name = "base32_test1"
path = "tests/base32_test1.rs"
[[test]]
name = "base56_test1"
path = "tests/base56_test1.rs"
[[test]]
name = "base58_test1"
path = "tests/base58_test1.rs"
[[test]]
name = "base64_test1"
path = "tests/base64_test1.rs"
[[test]]
name = "more_test1"
path = "tests/more_test1.rs"
[[test]]
name = "more_test2"
path = "tests/more_test2.rs"
[[test]]
name = "more_test3"
path = "tests/more_test3.rs"
[[test]]
name = "utils"
path = "tests/utils.rs"
[[bench]]
name = "base32_bench1"
path = "benches/base32_bench1.rs"
harness = false
required-features = ["abench"]
[[bench]]
name = "base56_bench1"
path = "benches/base56_bench1.rs"
harness = false
required-features = ["abench"]
[[bench]]
name = "base58_bench1"
path = "benches/base58_bench1.rs"
harness = false
required-features = ["abench"]
[[bench]]
name = "base64_bench1"
path = "benches/base64_bench1.rs"
harness = false
required-features = ["abench"]
[[bench]]
name = "lib_bench"
path = "src/lib_bench.rs"
harness = false
required-features = ["ubench"]
[[bench]]
name = "utils"
path = "benches/utils.rs"
[dependencies.aligned-vec]
version = "0.6"
optional = true
[dependencies.bytemuck]
version = "1.21"
features = ["derive"]
[dependencies.num-bigint]
version = "0.4"
[dependencies.rug]
version = "1.26"
optional = true
[dev-dependencies.criterion]
version = "0.8"
features = ["rayon"]
default-features = false
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.rstest_reuse]
version = "0.7"
[profile.bench]