Cargo Features
[dependencies]
sever = { version = "1.1.2", default-features = false, features = ["limit-concurrency", "recursive", "limit-recursion", "splash", "parallel", "threads", "paranoid-dedup"] }
- default = limit-concurrency, limit-recursion, parallel, splash
-
These default features are set whenever
sever
is added without
somewhere in the dependency tree.default-features = false - limit-concurrency default = parallel
-
Limit the concurrent operations of parallel mode to 4096
- recursive limit-recursion
-
Handle directories recursively
- limit-recursion default = recursive
-
Limit the max recursion depth to 256
- splash default
-
Show splash message when ran with no arguments
- parallel default limit-concurrency threads? = futures, pin-project, tokio
-
Run operations in parallel
- threads = parallel
-
Run on a thread pool
Enables rt-threaded of tokio ^0.2
- paranoid-dedup = sha2
-
Use SHA256 hash algorithm for argument file deduping instead of default hasher.
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.
- tokio parallel threads?
-
Enables tokio ^0.2
- futures parallel
- pin-project parallel
-
Enables pin-project ^0.4.26
- sha2 paranoid-dedup?
-
Enables sha2 ^0.9.1