Registry / utility / pi-print-any

pi-print-any

JSON →
library0.1.2rscratesunverified

Print any value without trait bounds using specialization (Rust nightly channel).

# Cargo.toml [dependencies] pi_print_any = "0.1.2"
INSTALL
IMPORT
SIG · PI-PRINT-ANY
P
pi-print-any
utilityrustv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

print_any
use pi_print_any::print_any;

Prints any value regardless of its trait bounds.

use pi_print_any::print_any; fn main() { print_any(&42); print_any(&"hello"); }
Debug
Known issues
gotchaRequires Rust nightly channel due to specialization feature.
fix
Switch to nightly Rust: rustup default nightly.
affects: >=0.1.0
Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pi-print-any — cargo add pi-print-any · libregistry