Commit Graph

228 Commits

Author SHA1 Message Date
Sébastien Crozet
9d897a6b8a Add support for rust-cuda 2021-11-23 12:03:11 +01:00
Edgar Geier
bc21b6f1e6
Add support for conversion with glam 0.18 2021-08-30 18:31:21 +02:00
Sébastien Crozet
db63f6c031 Release v0.29.0 2021-08-08 17:54:35 +02:00
Sébastien Crozet
bd9e0fb72c Add support for conversion with glam 0.16 and 0.17 2021-08-08 17:41:10 +02:00
Sébastien Crozet
31c64a0aaa Use simba 0.6 2021-08-08 12:31:23 +02:00
Sébastien Crozet
d609a2f174 Address unsoundness in the resizing API. 2021-08-03 17:02:42 +02:00
Jeff Petkau
7dd12e8e7a
Include "rand" in feature list for docs.rs
Random support was gated by the "rand" feature in version 0.25.1, but not added to the docs.rs list, causing the gated functions to disappear from docs.
2021-07-26 10:13:58 -07:00
Crozet Sébastien
ca1297acfb Release v0.28.0 2021-07-11 17:42:45 +02:00
Crozet Sébastien
d7288bfd28 Release v0.27.1 2021-06-04 11:08:54 +02:00
Crozet Sébastien
dfc8ad3d6a Release v0.27.0 2021-06-02 15:15:17 +02:00
Crozet Sébastien
47a4f52e8d Replace unchecked glam conversion by TryFrom or checks 2021-06-01 10:48:24 +02:00
Crozet Sébastien
4af979c55b Support multiple version of the optional glam conversion 2021-06-01 10:27:32 +02:00
David Koloski
38dd3345e0 Switch to distributive implementations 2021-05-09 12:24:03 -04:00
David Koloski
b48b104d57 Add rkyv implementations for a few types 2021-05-09 12:23:16 -04:00
Sébastien Crozet
511a51592f
Merge pull request #866 from vks/improve-bench
Improvements to benchmarks
2021-05-09 16:59:23 +02:00
Sébastien Crozet
23ac85e896
Merge pull request #886 from Andlon/matrix-macro
Matrix macro
2021-05-09 16:52:04 +02:00
Andreas Longva
b85335bd9c Update matrixcompare version to 0.3.0
Fixes some warnings produced by earlier versions since Rust 1.51.
See https://github.com/Andlon/matrixcompare/pull/5 for more details.

Note that we only update dev-dependencies, so there is no API breakage.
2021-05-07 09:23:46 +02:00
Andreas Longva
0bde07f95c Document that feature needs to be enabled, and require macros feature for tests 2021-05-03 13:52:34 +02:00
Andreas Longva
eeab4db69a Add nalgebra/macros feature and re-export matrix macros from nalgebra 2021-05-03 13:52:34 +02:00
Andreas Longva
e97692255b Initial hacked together prototype without syn 2021-05-03 13:52:34 +02:00
Vinzent Steinberg
35b96344ba Fix criterion warning 2021-04-29 20:26:21 -03:00
Vinzent Steinberg
209b476301 Mark rand as required for benchmark 2021-04-29 20:25:25 -03:00
Vinzent Steinberg
c5a44ec66f Update criterion 2021-04-29 20:25:25 -03:00
Crozet Sébastien
58bea21d74 Release v0.26.2 2021-04-27 14:26:09 +02:00
Crozet Sébastien
3ec57016b9 Release v0.26.1 2021-04-12 17:52:59 +02:00
Crozet Sébastien
c5c6c139ab Release v0.26.0 2021-04-12 16:15:08 +02:00
Crozet Sébastien
9aa3c1e449 Add comment about the serde-serialize-no-std feature. 2021-04-12 14:36:55 +02:00
Crozet Sébastien
95b021dbfb Don't enable serde by default.
Don't enable `serde/std` by default.
Add a `serde-serialize-no-std` feature to enable serde without its default features.
2021-04-12 12:14:16 +02:00
Crozet Sébastien
24d546d3b6 Rename generic parameter N -> T 2021-04-11 13:57:54 +02:00
Crozet Sébastien
d17088398a Replace generic-array with a regular array based on min-const-generics. 2021-04-11 13:53:45 +02:00
Sébastien Crozet
f7daf31b0f
Merge pull request #862 from vks/better-error
Better error message when running `cargo test`
2021-04-11 13:41:29 +02:00
Vinzent Steinberg
9103a8b763 Use the new Cargo resolver from Rust 1.50
This should make it possible to add the dev-dependency on criterion
without breaking `no_std` builds.
2021-04-10 01:43:52 -03:00
Vinzent Steinberg
df33dec457 Make "compare" a required feature for the matrixcompare example
This avoids distracting error messages when running `cargo test` and
gives a better error when trying to run the example without the required
feature.
2021-04-10 00:52:54 -03:00
Crozet Sébastien
f8173bd668 Release v0.25.4 2021-04-01 12:16:54 +02:00
Crozet Sébastien
4e5b32a3fa Don't enable the serde/alloc feature when alloc is enabled.
It looks like serde still pulls std when only `alloc` is selected.
2021-04-01 11:53:19 +02:00
Crozet Sébastien
2602f48452 Fix compilation when only the serde-serialize feature of nalgebra is enabled. 2021-04-01 11:40:27 +02:00
Crozet Sébastien
d16411c6db Release v0.25.3 2021-04-01 11:39:45 +02:00
Crozet Sébastien
9ce8402ef3 Release v0.25.2 2021-03-06 14:05:38 +01:00
Crozet Sébastien
729a8fd7f2 Add conversion from/to glam types + move glam/alga/mint impls to a "third_party" module. 2021-03-06 12:20:38 +01:00
Crozet Sébastien
f282d02db1 Release v0.25.1 2021-03-02 14:25:10 +01:00
Crozet Sébastien
c32172b6b9 Make the rand dependency optional. 2021-03-02 12:25:12 +01:00
Crozet Sébastien
5b9b94c610 Release v0.25.0 2021-03-01 14:25:29 +01:00
Crozet Sébastien
e27ff8ce4e Fix wasm compilation. 2021-03-01 10:02:22 +01:00
Crozet Sébastien
6cfd2bca14 Use proptest for all nalgebra tests. 2021-02-28 17:52:14 +01:00
Sébastien Crozet
21cc428480
Merge pull request #803 from aweinstock314/no_unsound_assume_init
Propagate `mem::MaybeUninit` through the return types of `Allocator::…
2021-02-25 15:46:49 +01:00
Sébastien Crozet
69e2ad6a44
Merge pull request #831 from iMplode-nZ/dev
Added bytemuck implementations for static storages.
2021-02-25 15:46:28 +01:00
Avi Weinstock
36a3ac814f Propagate mem::MaybeUninit through the return types of Allocator::allocate_uninitialized and Matrix::new_uninitialized_generic.
Most call sites still invoke UB through `assume_init`. Said call sites instead invoke `unimplemented!()` if the `no_unsound_assume_init` feature is enabled, to make it easier to gradually fix them.

Progress towards #556.
2021-02-25 13:42:23 +01:00
Sébastien Crozet
adc82845d1
Merge pull request #823 from Andlon/sparse-rework
Sparse rework: nalgebra-sparse
2021-02-25 12:58:28 +01:00
Crozet Sébastien
4e4eeb2641 Don't pin the proptest version when running tests: this breaks all no-std builds.
This is extremely unfortunate, but we cannot pin the version of proptest because of the Cargo bug #4866 will cause a breakage of #[no-std] builds.
2021-02-25 11:00:48 +01:00
Crozet Sébastien
424897f55b Fix no-std cargo category. 2021-02-22 14:27:31 +01:00