intid-core 0.3.8

Defines the IntegerId trait without a dependency on intid_derive
Documentation

intid-core.rs

Defines the IntegerId 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.

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.

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.