Fix feature documentation in both README and lib.rs.

This commit is contained in:
Dimitri Sabadie 2018-09-20 11:56:57 +02:00
parent 11791bed70
commit 3cd65dce54
No known key found for this signature in database
GPG Key ID: DE58C386A8DB2883
4 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,9 @@
# 0.2.1
> Thu 20th September 2018
- Enhance the features documentation.
# 0.2
> Thu 6th September 2018

View File

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

View File

@ -12,7 +12,10 @@ This crate has features! Heres a comprehensive list of what you can enable:
- **Serialization / deserialization.**
+ This feature implements both the `Serialize` and `Deserialize` traits from `serde`.
+ Enable with the `"serialization"` feature.
- **Standard library / no stdandard library**
- **[cgmath](https://crates.io/crates/cgmath) implementors**
+ Adds some usefull implementations of `Interpolate` for some cgmath types.
+ Enable with the `"impl-cgmath"` feature.
- **Standard library / no stdandard library.**
+ Its possible to compile against the standard library or go on your own without it.
+ Compiling with the standard library is enabled by default.
+ Use `defaut-features = []` in your `Cargo.toml` to disable.

View File

@ -80,10 +80,10 @@
//! + This feature implements both the `Serialize` and `Deserialize` traits from `serde` for all
//! types exported by this crate.
//! + 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.
//! + Enable with the `"impl-cgmath"` feature.
//! - **Standard library / no stdandard library**
//! - **Standard library / no stdandard library.**
//! + Its possible to compile against the standard library or go on your own without it.
//! + Compiling with the standard library is enabled by default.
//! + Use `defaut-features = []` in your `Cargo.toml` to disable.