println!() in debug, noop in release.
Use the crates.io repository; add this to your Cargo.toml along with the rest of your dependencies:
Cargo.toml
[dependencies] debugln = "*"
Zach Pomerantz is the primary author and maintainer of debug.
MIT
A utility for managing cargo dependencies from the command line.
Find unused dependencies in Cargo.toml
🔮 util.Compress and util.Decompress but for Rust!
Research using Rust and Cargo to contribute value to Ethereum & Polkadot projects
Rust crate package to link to a system libz (zlib)
Bindings to liblzma in Rust (xz streams in Rust)
Core Rust and Haskell libraries used by various components of the Concordium blockchain, as well ...
Empowering everyone to build reliable and efficient software.
Databend 内幕大揭秘
Fast and combinable Rust logging crate
The Rust package manager
A demo project showing dependency injection approaches