Crate forc_util

source ·
Expand description

Utility items shared between forc crates.

Re-exports§

Modules§

Macros§

Structs§

  • A wrapper around ForcResult. Designed to be returned from entry points as it handles error reporting and exits with correct exit code.
  • A forc error type which is a wrapper around anyhow::Error. It enables propagation of custom exit code alongisde the original error.
  • A compiled regular expression for searching Unicode haystacks.

Constants§

Functions§

Type Aliases§

  • A result type for forc operations. This shouldn’t be returned from entry points, instead return ForcCliResult to exit with correct exit code.