[package] name = "rustutils-core" version = "0.1.1" edition = "2021" authors = ["Patrick M. Elsen "] license = "MIT" description = "Modern coreutils with a focus on simplicity" [dependencies] clap = { version = "3.2.12", features = ["derive"] } rustutils-arch = { version = "0.1.0", path = "utils/arch", optional = true } rustutils-base64 = { version = "0.1.0", path = "utils/base64", optional = true } rustutils-basename = { version = "0.1.0", path = "utils/basename", optional = true } rustutils-cat = { version = "0.1.0", path = "utils/cat", optional = true } rustutils-dirname = { version = "0.1.0", path = "utils/dirname", optional = true } rustutils-env = { version = "0.1.0", path = "utils/env", optional = true } rustutils-factor = { version = "0.1.0", path = "utils/factor", optional = true } rustutils-false = { version = "0.1.0", path = "utils/false", optional = true } rustutils-mkdir = { version = "0.1.0", path = "utils/mkdir", optional = true } rustutils-printenv = { version = "0.1.0", path = "utils/printenv", optional = true } rustutils-pwd = { version = "0.1.0", path = "utils/pwd", optional = true } rustutils-rmdir = { version = "0.1.0", path = "utils/rmdir", optional = true } rustutils-runnable = { version = "0.1.0", path = "./runnable" } rustutils-seq = { version = "0.1.0", path = "utils/seq", optional = true } rustutils-sleep = { version = "0.1.0", path = "utils/sleep", optional = true } rustutils-tee = { version = "0.1.0", path = "utils/tee", optional = true } rustutils-true = { version = "0.1.0", path = "utils/true", optional = true } rustutils-uname = { version = "0.1.0", path = "utils/uname", optional = true } rustutils-unlink = { version = "0.1.0", path = "utils/unlink", optional = true } rustutils-wc = { version = "0.1.0", path = "utils/wc", optional = true } rustutils-yes = { version = "0.1.0", path = "utils/yes", optional = true } [features] default = ["full", "multicall"] multicall = [] full = [ "arch", "cat", "false", "pwd", "rmdir", "seq", "sleep", "tee", "true", "uname", "unlink", "wc", "yes", "dirname", "basename", "mkdir", "env", "printenv", "base64", "factor", ] arch = ["rustutils-arch"] cat = ["rustutils-cat"] false = ["rustutils-false"] pwd = ["rustutils-pwd"] rmdir = ["rustutils-rmdir"] seq = ["rustutils-seq"] sleep = ["rustutils-sleep"] tee = ["rustutils-tee"] true = ["rustutils-true"] uname = ["rustutils-uname"] unlink = ["rustutils-unlink"] wc = ["rustutils-wc"] yes = ["rustutils-yes"] dirname = ["rustutils-dirname"] basename = ["rustutils-basename"] mkdir = ["rustutils-mkdir"] env = ["rustutils-env"] printenv = ["rustutils-printenv"] base64 = ["rustutils-base64"] factor = ["rustutils-factor"] # optimize for small binary size in release builds [profile.release] lto = true panic = "abort" opt-level = "z" strip = true codegen-units = 1 [workspace] members = [ "runnable", "utils/arch", "utils/base64", "utils/basename", "utils/cat", "utils/dirname", "utils/env", "utils/factor", "utils/false", "utils/mkdir", "utils/printenv", "utils/pwd", "utils/rmdir", "utils/seq", "utils/sleep", "utils/sync", "utils/tee", "utils/true", "utils/uname", "utils/unlink", "utils/wc", "utils/yes", ]