[package]
edition = "2021"
name = "crabmole"
version = "0.1.8"
description = "Porting Go standard library in Rust"
homepage = "https://github.com/al8n/crabmole"
documentation = "https://docs.rs/crabmole/"
readme = "README.md"
keywords = [
"base32",
"base64",
"pipe",
"sort",
]
categories = [
"development-tools",
"no-std",
"encoding",
]
license = "MIT OR Apache-2.0 OR BSD-3-Clause"
repository = "https://github.com/al8n/crabmole"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[dependencies.async-channel]
version = "1.7"
optional = true
[dependencies.async-lock]
version = "2.6"
optional = true
[dependencies.crabmole-derive]
version = "0.1"
optional = true
[dependencies.crossbeam-channel]
version = "0.5"
optional = true
[dependencies.futures-util]
version = "0.3"
optional = true
[dependencies.parking_lot]
version = "0.12"
optional = true
[dependencies.pollster]
version = "0.3"
optional = true
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tokio]
version = "1.22"
features = ["full"]
[features]
alloc = []
ascii85 = []
async-io = [
"std",
"async-pipe",
]
async-pipe = [
"std",
"async-channel",
"futures-util/io",
"async-lock",
]
base32 = []
base58 = []
base64 = []
binary = []
default = [
"std",
"derive",
]
derive = ["crabmole-derive"]
encoding = [
"ascii85",
"base32",
"base64",
"binary",
"hex",
]
full = [
"encoding",
"io",
"async-io",
"std",
"sort",
]
hex = []
io = [
"std",
"pipe",
]
pipe = [
"std",
"crossbeam-channel",
"parking_lot",
]
sort = []
std = ["alloc"]