[package]
name = "readable"
version = "0.11.0"
edition = "2021"
authors = ["hinto.janai <hinto.janai@protonmail.com>"]
description = "Human readable strings"
documentation = "https://docs.rs/readable"
repository = "https://github.com/hinto-janai/readable"
readme = "README.md"
keywords = ["human", "readable", "data", "formatting", "string"]
license = "MIT"
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
[features]
default = ["full"]
byte = []
date = ["once_cell", "regex"]
num = ["compact_str", "seq-macro"]
run = []
str = []
time = ["libc", "windows"]
toa = []
full = ["serde", "bincode", "byte", "date", "num", "run", "str", "time", "toa"]
[dependencies]
paste = "1.0.14"
serde = { version = "1.0.188", features = ["derive"], optional = true }
bincode = { version = "2.0.0-rc.3", features = ["serde", "derive"], optional = true }
compact_str = { version = "0.7.1", features = ["bytes", "serde"], optional = true }
seq-macro = { version = "0.3.5", optional = true }
regex = { version = "1.9.5", optional = true }
once_cell = { version = "1.18.0", optional = true }
[target.'cfg(not(windows))'.dependencies]
libc = { version = "0.2.149", optional = true }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.51.1", features = ["Win32_System_SystemInformation"], optional = true }