[package]
name = "bs58"
version = "0.5.1"
description = "Another Base58 codec implementation."
repository = "https://github.com/Nullus157/bs58-rs"
readme = "README.md"
keywords = ["base58"]
license = "MIT/Apache-2.0"
edition = "2021"
[workspace]
members = ["cli"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["std"]
std = ["alloc", "tinyvec?/std"]
alloc = ["tinyvec?/alloc"]
check = ["sha2"]
cb58 = ["sha2"]
[dependencies]
sha2 = { version = "0.10", optional = true, default-features = false }
smallvec = { version = "1", optional = true }
tinyvec = { version = "1.6.0", default-features = false, optional = true, features = ["grab_spare_slice"] }
[dev-dependencies]
criterion = "0.5"
base58 = "0.1.0"
rust-base58 = "0.0.4"
assert_matches = "1.3.0"
tinyvec = { version = "1.6.0", features = ["rustc_1_55"] }
[[bench]]
name = "encode"
path = "benches/encode.rs"
harness = false
[[bench]]
name = "decode"
path = "benches/decode.rs"
harness = false