intid 0.3.9

Defines the IntegerId trait
Documentation

intid.rs

Defines the IntegerId trait, for types that can be identified by an integer value.

This crate simply re-exports all types from the intid_core crate. This reduces compile times by allowing crates to avoid proc macros. It is inspired by the separation between serde_core and serde introduced in serde-rs/serde#2608.

Note that many of the use-cases of a derive(...) macro can be achieved just as well (or better) using the intid::define_newtype_id declarative macro.

License

Licensed under either the Apache 2.0 License or MIT License at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.