Today, all users of transit_model can't depend only on transit_model in their Cargo.toml because if one of the API returns a NaiveDate, or any Idx, the use basically needs to also import chrono and typed_index_collection. On top of that, it must find and import the exact same version of the dependency that the one declared in transit_model (or else, might face compilation errors).
Let's be more explicit on the API we expose. Note that I did not make an exhaustive research of all the things that we must re-export, only a brief dive to catch most of them. It's a step forward, might not be a perfect step though :shrug:
Today, all users of
transit_model
can't depend only ontransit_model
in theirCargo.toml
because if one of the API returns aNaiveDate
, or anyIdx
, the use basically needs to also importchrono
andtyped_index_collection
. On top of that, it must find and import the exact same version of the dependency that the one declared intransit_model
(or else, might face compilation errors).Let's be more explicit on the API we expose. Note that I did not make an exhaustive research of all the things that we must re-export, only a brief dive to catch most of them. It's a step forward, might not be a perfect step though :shrug: