Skip to content

Conversation

@woshilapin
Copy link
Contributor

Some types from both osmpbfreader (NodeId and WayId) and ahash (Edge::tags) are part of osm4routing API. For consumers of the library, it creates a constraint of always needing to upgrade both dependencies together, making sure the versions are the same (or else, the compiler is not happy). One way some libraries deals with this is to reexpose the libraries, so then, the consumer can only depend on osm4routing only (and don't need other dependencies). What do you think?

We could also remove these lines

pub use osmpbfreader::objects::{NodeId, WayId};
maybe?

@Tristramg Tristramg merged commit 976a88e into rust-transit:main Apr 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants