Sun, 27 Apr 2025 20:29:43 -0500
Fix build with stable rust.
For optimisations, build.rs now automatically sets a nightly cfg flag,
so problems with the nightly feature are avoided. It is still used for
required for additional nightly-only features.
94 | 1 | // Version of lib.rs for stable builds. |
2 | ||
0 | 3 | // The main documentation is in the README. |
4 | #![doc = include_str!("../README.md")] | |
5 | // We use unicode. We would like to use much more of it than Rust allows. | |
6 | // Live with it. Embrace it. | |
7 | #![allow(uncommon_codepoints)] | |
8 | #![allow(mixed_script_confusables)] | |
9 | #![allow(confusable_idents)] | |
94 | 10 | // Extra setup for builds with the nightly compiler |
11 | #![cfg_attr( | |
12 | nightly, | |
13 | feature( | |
14 | maybe_uninit_array_assume_init, | |
15 | maybe_uninit_slice, | |
16 | float_minimum_maximum, | |
17 | get_mut_unchecked, | |
18 | cow_is_borrowed | |
19 | ) | |
55
7b2ee3e84c5f
Add "nightly" feature and provide alternative low-performance implementations of several things when not available.
Tuomo Valkonen <tuomov@iki.fi>
parents:
54
diff
changeset
|
20 | )] |
9
f40dfaf2166d
Improvements and minor fixes to bisection tree refinement.
Tuomo Valkonen <tuomov@iki.fi>
parents:
8
diff
changeset
|
21 | |
94 | 22 | #[macro_use] |
23 | pub(crate) mod metaprogramming; | |
59
9226980e45a7
Significantly simplify Mapping / Apply through Instance
Tuomo Valkonen <tuomov@iki.fi>
parents:
58
diff
changeset
|
24 | pub mod collection; |
0 | 25 | pub mod error; |
94 | 26 | pub mod euclidean; |
27 | pub mod instance; | |
28 | pub mod maputil; | |
29 | pub mod nanleast; | |
30 | pub mod norms; | |
8
4e09b7829b51
Multithreaded bisection tree operations
Tuomo Valkonen <tuomov@iki.fi>
parents:
5
diff
changeset
|
31 | pub mod parallelism; |
0 | 32 | pub mod tuple; |
94 | 33 | pub mod types; |
0 | 34 | #[macro_use] |
35 | pub mod loc; | |
94 | 36 | pub mod bisection_tree; |
37 | pub mod coefficients; | |
38 | pub mod convex; | |
39 | pub mod direct_product; | |
40 | pub mod discrete_gradient; | |
41 | pub mod fe_model; | |
0 | 42 | pub mod iter; |
43 | pub mod iterate; | |
94 | 44 | pub mod lingrid; |
45 | pub mod linops; | |
0 | 46 | pub mod linsolve; |
94 | 47 | pub mod logger; |
0 | 48 | pub mod mapping; |
49 | pub mod nalgebra_support; | |
68
c5f70e767511
Split out and generalise Weighted
Tuomo Valkonen <tuomov@iki.fi>
parents:
59
diff
changeset
|
50 | pub mod operator_arithmetic; |
94 | 51 | pub mod sets; |
52 | pub mod tabledump; | |
0 | 53 | |
54 | pub use types::*; |