Cargo.toml
toml
[dependencies]
poolite = "0.4.0"
or
toml
[dependencies]
poolite = { git = "https://github.com/biluohc/poolite",branch = "master", version = "0.4.0" }
cargo doc --open
after modified the toml file.daemon()
,num_cpus()
methods, and move documentation to doc.rs.unwrap()
and add load_limit(),is_empty(), tasks_len(), len(), wait_len(), strong_count()
methods.FnBox()
to support FnOnce()
(Only support Nightly now,Stable or Beta should use 0.2.0).min(),time_out(),name(),stack_size(),run()
methods.