nalgebra icon indicating copy to clipboard operation
nalgebra copied to clipboard

Disable default features for `glam`

Open Jondolf opened this issue 8 months ago • 2 comments

Objective

Currently, the convert-glamXYZ features add glam as a dependency with default features enabled. This unconditionally enables the std feature in glam, making it impossible to use nalgebra and glam interoperatively with the type conversions in no_std environments.

Solution

Disable default features from the glam dependencies. To make CI pass, std is still used if it's enabled for nalgebra.

Note that I also bumped the rustc version to 1.81.0 here since CI was failing because of it (unrelated to this PR).

Jondolf avatar Apr 17 '25 11:04 Jondolf

Seems like a good idea to me, but this PR seems to contain unrelated changes, e.g. to the rustc version used for trybuild tests.

Ralith avatar Apr 17 '25 20:04 Ralith

Yeah that's to make CI pass. Won't be needed if we first merge #1505 or some other PR that bumps the version

Jondolf avatar Apr 19 '25 00:04 Jondolf

Thanks!

sebcrozet avatar Jul 31 '25 10:07 sebcrozet