This commit is contained in:
Dimitri Sabadie 2018-10-13 03:31:44 +02:00
parent 37cf89b566
commit a3a2919eb4
No known key found for this signature in database
GPG Key ID: DE58C386A8DB2883
5 changed files with 53 additions and 40 deletions

View File

@ -1,3 +1,11 @@
## 0.2.3
> Sat 13th October 2018
- Add the `"impl-nalgebra"` feature gate. It gives access to some implementors for the `nalgebra`
crate.
- Enhance the documentation.
## 0.2.2 ## 0.2.2
> Sun 30th September 2018 > Sun 30th September 2018
@ -16,7 +24,8 @@
> Thu 6th September 2018 > Thu 6th September 2018
- Add the `"std"` feature gate, that can be used to compile with the standard library. - Add the `"std"` feature gate, that can be used to compile with the standard library.
- Add the `"impl-cgmath"` in order to make it optional, if wanted, the `cgmath` dependency. - Add the `"impl-cgmath"` feature gate in order to make optional, if wanted, the `cgmath`
dependency.
- Enhance the documentation. - Enhance the documentation.
## 0.1.1 ## 0.1.1

View File

@ -1,6 +1,6 @@
[package] [package]
name = "splines" name = "splines"
version = "0.2.2" version = "0.2.3"
license = "BSD-3-Clause" license = "BSD-3-Clause"
authors = ["Dimitri Sabadie <dimitri.sabadie@gmail.com>"] authors = ["Dimitri Sabadie <dimitri.sabadie@gmail.com>"]
description = "Spline interpolation made easy" description = "Spline interpolation made easy"

View File

@ -10,11 +10,15 @@ Feel free to dig in the [online documentation](https://docs.rs/splines) for furt
This crate has features! Heres a comprehensive list of what you can enable: This crate has features! Heres a comprehensive list of what you can enable:
- **Serialization / deserialization.** - **Serialization / deserialization.**
+ This feature implements both the `Serialize` and `Deserialize` traits from `serde`. + This feature implements both the `Serialize` and `Deserialize` traits from `serde` for all
types exported by this crate.
+ Enable with the `"serialization"` feature. + Enable with the `"serialization"` feature.
- **[cgmath](https://crates.io/crates/cgmath) implementors** - **[cgmath](https://crates.io/crates/cgmath) implementors.**
+ Adds some usefull implementations of `Interpolate` for some cgmath types. + Adds some useful implementations of `Interpolate` for some cgmath types.
+ Enable with the `"impl-cgmath"` feature. + Enable with the `"impl-cgmath"` feature.
- **[nalgebra](https://crates.io/crates/nalgebra) implementors.**
+ Adds some useful implementations of `Interpolate` for some nalgebra types.
+ Enable with the `"impl-nalgebra"` feature.
- **Standard library / no standard library.** - **Standard library / no standard library.**
+ Its possible to compile against the standard library or go on your own without it. + Its possible to compile against the standard library or go on your own without it.
+ Compiling with the standard library is enabled by default. + Compiling with the standard library is enabled by default.

View File

@ -81,10 +81,10 @@
//! types exported by this crate. //! types exported by this crate.
//! + Enable with the `"serialization"` feature. //! + Enable with the `"serialization"` feature.
//! - **[cgmath](https://crates.io/crates/cgmath) implementors.** //! - **[cgmath](https://crates.io/crates/cgmath) implementors.**
//! + Adds some usefull implementations of `Interpolate` for some cgmath types. //! + Adds some useful implementations of `Interpolate` for some cgmath types.
//! + Enable with the `"impl-cgmath"` feature. //! + Enable with the `"impl-cgmath"` feature.
//! - **[nalgebra](https://crates.io/crates/nalgebra) implementors.** //! - **[nalgebra](https://crates.io/crates/nalgebra) implementors.**
//! + Adds some usefull implementations of `Interpolate` for some nalgebra types. //! + Adds some useful implementations of `Interpolate` for some nalgebra types.
//! + Enable with the `"impl-nalgebra"` feature. //! + Enable with the `"impl-nalgebra"` feature.
//! - **Standard library / no standard library.** //! - **Standard library / no standard library.**
//! + Its possible to compile against the standard library or go on your own without it. //! + Its possible to compile against the standard library or go on your own without it.
@ -109,8 +109,8 @@
#[cfg(feature = "impl-cgmath")] use cgmath::{InnerSpace, Quaternion, Vector2, Vector3, Vector4}; #[cfg(feature = "impl-cgmath")] use cgmath::{InnerSpace, Quaternion, Vector2, Vector3, Vector4};
#[cfg(feature = "impl-nalgebra")] use nalgebra as na; #[cfg(feature = "impl-nalgebra")] use nalgebra as na;
#[cfg(feature = "impl-nalgebra")] use nalgebra::core::allocator::Allocator;
#[cfg(feature = "impl-nalgebra")] use nalgebra::core::{DimName, DefaultAllocator, Scalar}; #[cfg(feature = "impl-nalgebra")] use nalgebra::core::{DimName, DefaultAllocator, Scalar};
#[cfg(feature = "impl-nalgebra")] use nalgebra::core::allocator::Allocator;
#[cfg(feature = "std")] use std::cmp::Ordering; #[cfg(feature = "std")] use std::cmp::Ordering;
#[cfg(feature = "std")] use std::f32::consts; #[cfg(feature = "std")] use std::f32::consts;