4 releases
0.2.0 | Nov 27, 2021 |
---|---|
0.1.2 | Aug 2, 2017 |
0.1.1 | Jul 30, 2017 |
0.1.0 | Oct 2, 2016 |
#440 in Value formatting
2,919 downloads per month
Used in 18 crates
(4 directly)
7KB
Use debug printlns, without the trait bounds (using specialization to find the right impl anyway).
NOTE: This uses experimental Rust features and is therefore
by itself experimental and unstable, and has all the problems of
feature(specialization)
.
For this reason, unsafe
is required to use this feature unfortunately.
debugit
Debug-print any value without trait bounds using specialization (Rust nightly channel). Requires Rust nightly.
Please read the API documentation here
|build_status|_ debugit at crates.io
Recent Changes
- 0.2.0
- Make debugit nightly-only and require unsafe to call due to soundness issues with specialization.
- 0.1.2
- Use version_matches for version checking (compiles faster)
- 0.1.1
- Edit docs
- Fix repository link
License
Dual-licensed to be compatible with the Rust project.
Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.