dynamo-truthy 1.4.0

Canonical truthy/falsy boolean flag parsing for Dynamo
Documentation
  • Coverage
  • 100%
    7 out of 7 items documented0 out of 6 items with examples
  • Size
  • Source code size: 14.64 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 154.84 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • ai-dynamo/dynamo
    7775 1443 322
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • pvijayakrish dynamo-ops

Canonical truthy/falsy flag parsing for Dynamo.

Single owner of the boolean vocabulary accepted from user-supplied configuration (environment variables, HTTP headers, config values): truthy = 1 | true | on | yes, falsy = 0 | false | off | no or empty, case-insensitive, surrounding whitespace ignored.

dynamo_runtime::config re-exports these helpers and is the canonical import path for crates that already depend on dynamo-runtime. Crates that cannot (e.g. dynamo-memory, dynamo-kv-router, dynamo-mocker) depend on this crate directly. Do not hand-roll new bool parsers — a divergent accepted set means SOMEFLAG=on works for one flag and silently not another. tests/no_bool_parse_forks.rs greps the workspace for forks.