dimforge / dimforge/nalgebra

Multiple convert-glamXX features confuse compiler

Open
#924 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.8k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

I've ran into a problem when upgrading some dependencies where one crate used glam13, another glam15, but they both had to use the same version.
I tried to force it to use glam15 by enabling the convert-glam15 feature, but that only confused the compiler and lead to "cannot infer type" when using .into().
I believe it happened because multiple conversions (convert-glam13 and conver-glam15) were enabled.
I'm not sure if a fix is possible, but it's good to be aware.

Currently I fixed it by manually changing the feature in the crate I'm dependent on, but that may not be possible for bigger projects with more dependencies.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.