You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
leanify-many/Cargo.toml

57 lines
1.5 KiB

[package]
name = "leanify-many"
version = "1.1.1"
description = "spawn leanify subprocesses"
authors = ["Avril <flanchan@cumallover.me>"]
edition = "2018"
license = "GPL-3.0-or-later"
repository = "https://git.flanchan.moe/flanchan/leanify-many"
homepage = "https://git.flanchan.moe/flanchan/leanify-many"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
[features]
default = ["splash", "progress", "colour", "collect_err"]
# Enable progress bar
progress = ["termprogress", "pin-project"]
# Enable threaded scheduler
#
# Note: This is probably not desireable, since you'll want processors to be used by the child processes instead of the spawner here
threads = ["tokio/rt-threaded"]
# Show program info when passing --help
splash = []
# Enable output colouring
colour = ["recolored"]
# For americans
color = ["colour"]
# Check arguments passed to children with `--passthough` by default
checked_pass = []
# Collect `stderr` output instead of inheriting from parent `stderr`
#
# Note: Disabling this can cause weird deadlock bugs sometimes
collect_err = []
[dependencies]
lazy_static = "1.4"
tokio = {version = "0.2", features= ["rt-core", "rt-util", "macros", "fs", "io-driver", "io-util", "io-std", "process", "sync", "stream"]}
futures = "0.3"
termprogress = {version="0.3", optional=true}
cfg-if = "0.1"
recolored = { version = "1.9", optional = true }
num_cpus = "1.13"
pin-project = {version = "0.4", optional = true}
[build-dependencies]
rustc_version = "0.2"