Cargo Features
[dependencies]
leanify-many = { version = "1.1.1", default-features = false, features = ["progress", "threads", "splash", "colour", "color", "checked_pass", "collect_err"] }
- default = collect_err, colour, progress, splash
-
These default features are set whenever
leanify-many
is added without
somewhere in the dependency tree.default-features = false - progress default = pin-project, termprogress
-
Enable progress bar
Affects
arg::Flags.progress
… - threads
-
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 hereEnables rt-threaded of tokio ^0.2
- splash default
-
Show program info when passing --help
- colour default color? = recolored
-
Enable output colouring
Affects
arg::Flags.coloured
,colour::Colour
… - color = colour
-
For americans
- checked_pass
-
Check arguments passed to children with
--passthough
by default - collect_err default
-
Collect
stderr
output instead of inheriting from parentstderr
Note: Disabling this can cause weird deadlock bugs sometimes
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- termprogress progress
-
Enables termprogress ^0.3
- recolored colour
- pin-project progress
-
Enables pin-project ^0.4