adze-concurrency-parse-core 0.1.0

String parsing helpers for concurrency cap configuration values.
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 23.46 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.02 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 38s Average build duration of successful builds.
  • all releases: 38s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • EffortlessMetrics/adze
    0 0 24
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • EffortlessSteven

adze-concurrency-parse-core

String parsing helpers for concurrency cap configuration values.

Part of the adze workspace.

Usage

use adze_concurrency_parse_core::parse_positive_usize_or_default;

assert_eq!(parse_positive_usize_or_default(Some("16"), 8), 16);
assert_eq!(parse_positive_usize_or_default(None, 8), 8);

License

Licensed under either of Apache License, Version 2.0 or MIT License at your option.