5 Commits

Author SHA1 Message Date
Robin Krahl
5b6c86aa81 Add rustfmt and clippy to CI and deny warnings 2023-03-31 10:43:26 +02:00
Sosthène Guédon
07de0e8b20 Use const instead of macros
This is pretty much a complete rewrite. It gives a much nicer API to
understand from the documentation. It also means that it doesn't rely on
\#[doc(hidden)] methods (except for `Interchange::const_new` so that it
can be removed once the required compiler features are stabilized)

Because everything doesn't need to be `'static` anymore, it can also be
tested efficiently with Loom, ensuring that there are no possible race
conditions.

It is a significantly breaking change
2023-01-31 17:08:53 +01:00
Robin Krahl
5c6a584b50 ci: Only deploy docs if on the main branch 2022-08-23 17:44:50 +02:00
Nicolas Stalder
4552c1b300 Improve API using new Rust 1.50 feature 2021-02-11 21:34:06 +01:00
Nicolas Stalder
1109819ab6 Prepare for release 2021-01-31 13:01:03 +01:00