You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use Mat4::abs_diff_eq but it seems to be implemented using a trait from another crate (approx). As I understand it, in order to use this I have to add approx to my own Cargo.toml and make sure the versions match. In case of version mismatch (IIRC if I specify a version vek is not compatible with) it won't compile. If I have another dependency which uses approx similarly, I'm not sure I can resolve it if vek and my other dependency don't agree on compatible versions?
Anyhow, I'd prefer if vek re-exported crates (or maybe just the traits) so that I can get the right approx version with something like: use vek::approx::AbsDiffEq
There is some related discussion in the api-guidelines repo here
The text was updated successfully, but these errors were encountered:
This is very useful information! I've published a new version 0.15.1 with what I think is the appropriate fix. Please let me know if that works for you.
I tried to use Mat4::abs_diff_eq but it seems to be implemented using a trait from another crate (
approx
). As I understand it, in order to use this I have to addapprox
to my own Cargo.toml and make sure the versions match. In case of version mismatch (IIRC if I specify a versionvek
is not compatible with) it won't compile. If I have another dependency which usesapprox
similarly, I'm not sure I can resolve it ifvek
and my other dependency don't agree on compatible versions?Anyhow, I'd prefer if
vek
re-exported crates (or maybe just the traits) so that I can get the rightapprox
version with something like:use vek::approx::AbsDiffEq
There is some related discussion in the api-guidelines repo here
The text was updated successfully, but these errors were encountered: