forgelab_common 1.0.1

Shared Rust utilities for Forge crates.
Documentation
  • Coverage
  • 33.33%
    1 out of 3 items documented0 out of 1 items with examples
  • Size
  • Source code size: 20.35 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 138.34 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 27s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • pfjhyyj

forgelab_common

Shared Rust utilities for Forge crates.

The crates.io distribution is named forgelab_common; its Rust library target remains forge_common so existing imports retain the family name.

This crate is intentionally lightweight. It currently provides tracing initialization helpers and may grow to include other cross-crate utilities as Forge evolves.

Tracing Usage

use forge_common::logger::init_tracing;

fn main() {
    init_tracing("my-node");
}

init_tracing initializes global tracing once and uses RUST_LOG for log level filtering when it is set.

Testing

Run the crate tests from the workspace root:

cargo test -p forgelab_common