intid-core.rs
==============
Defines the [`IntegerId`](https://docs.rs/intid-core/latest/intid_core/trait.IntegerId.html) trait, for types that can be identified by an integer value.
This contains all the same types that the [`intid`] crate does,
but has no dependency on [`intid_derive`] (even when the `intid/derive` feature is enabled).
This reduces compile times, similar to the separation between `serde_core` and `serde` introduced in [serde-rs/serde#2608].
It may be convenient to rename the `intid_core` dependency to `intid` using [dependency renaming].
```toml
intid = { version = "0.3", package = "intid_core" }
```
This renaming comes at no loss of clarity,
since the items in `intid_core` are simply a subset of the items in the `intid` crate.
If for some reason you decide to use `intid_derive` directly without depending on `intid`,
then you will need to do this renaming since the derived code references the `intid` crate.
[dependency renaming]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml
[serde-rs/serde#2608]: https://github.com/serde-rs/serde/pull/2608
[`intid`]: https://docs.rs/intid/latest/intid
[`intid_derive`]: https://docs.rs/intid-derive/latest/intid_derive
## License
Licensed under either the [Apache 2.0 License](../LICENSE-APACHE.txt) or [MIT License](../LICENSE-MIT.txt) 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.