rust-bitcoin-unsafe-fast/units/tests
Tobin C. Harding 289a521426
units: Test for dyn compatibility
Phew! dyn compatibility is a non-trivial concept. There are four public
traits in `units`, only one is dyn compatible.

This patch is done in order to check off C-OBJECT from the Rust API
guidelines checklist.

Add a test to check the public traits in `units` for dyn compatibility.

While we are at it add a code comment on `Integer` stating why its not
dyn-compatible.

ref: https://rust-lang.github.io/api-guidelines/flexibility.html#c-object
2025-01-20 09:39:38 +11:00
..
data units: Add serde regression test 2024-12-28 08:15:13 +11:00
api.rs units: Test for dyn compatibility 2025-01-20 09:39:38 +11:00
serde.rs units: Add serde regression test 2024-12-28 08:15:13 +11:00
str.rs units: Add stringy regression tests 2024-11-27 13:35:45 +11:00