[package] name = "hwcalc" description = "An arbitrary bit-width calculator" authors = ["Noah Hellman "] license = "MIT" version = "0.2.0" edition = "2021" rust-version = "1.56" keywords = ["calculator", "binary"] homepage = "https://hllmn.net/projects/hwcalc" repository = "https://git.sr.ht/~nhellman/hwcalc" [workspace] members = [ "hwcalc_lib", "test/afl", ] [[bin]] path = "src/main.rs" name = "hc" [dependencies] hwcalc_lib = { path = "hwcalc_lib", version = "0.2.0" } rustyline = { version = "10.0", default-features = false, optional = true } rustyline-derive = { version = "0.7", default-features = false, optional = true } dirs = { version = "4.0", default-features = false, optional = true } [target.'cfg(unix)'.dependencies] nix = { version = "0.24", default-features = false, features = ["fs"] } [features] default = ["readline"] readline = ["rustyline", "dirs", "rustyline-derive"] small_max = ["hwcalc_lib/small_max"]