Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
b056a4e9a7 | |||
042253ab9c | |||
270f225394 | |||
138828e798 | |||
0ca1c5aa48 | |||
f4c8be33b9 | |||
26bd5c88eb | |||
a4cd49fd20 | |||
09bc7069b2 | |||
8dc8606bf0 | |||
fc2f53200f |
22
.github/workflows/ci.yaml
vendored
22
.github/workflows/ci.yaml
vendored
@ -6,38 +6,22 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Build
|
||||
run: |
|
||||
cargo build --verbose --all-features
|
||||
- name: Test
|
||||
run: |
|
||||
cargo test --verbose --all-features
|
||||
run: cargo test --verbose --all-features
|
||||
|
||||
build-windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Build
|
||||
run: |
|
||||
cargo build --verbose --all-features
|
||||
- name: Test
|
||||
run: |
|
||||
cargo test --verbose --all-features
|
||||
run: cargo test --verbose --all-features
|
||||
|
||||
build-macosx:
|
||||
runs-on: macOS-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Rust requirements
|
||||
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal
|
||||
- name: Build
|
||||
run: |
|
||||
. ~/.cargo/env
|
||||
cargo build --verbose --all-features
|
||||
- name: Test
|
||||
run: |
|
||||
. ~/.cargo/env
|
||||
cargo test --verbose --all-features
|
||||
run: cargo test --verbose --all-features
|
||||
|
||||
quality:
|
||||
runs-on: ubuntu-latest
|
||||
|
20
CHANGELOG.md
20
CHANGELOG.md
@ -2,6 +2,8 @@
|
||||
|
||||
<!-- vim-markdown-toc GFM -->
|
||||
|
||||
* [4.1](#41)
|
||||
* [4.0.3](#403)
|
||||
* [4.0.2](#402)
|
||||
* [4.0.1](#401)
|
||||
* [4.0](#40)
|
||||
@ -41,12 +43,28 @@
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
|
||||
# 4.0.2
|
||||
# 4.1
|
||||
|
||||
> Mar 28, 2022
|
||||
|
||||
- Support for edition 2021.
|
||||
- Bump `float-cmp` dependency.
|
||||
- Bump `glam` dependency.
|
||||
- Bump `nalgebra` dependency.
|
||||
- Simplify the CI.
|
||||
|
||||
# 4.0.3
|
||||
|
||||
> Jul 11, 2021
|
||||
|
||||
- Add more implementors for `Interpolate`.
|
||||
|
||||
# 4.0.2
|
||||
|
||||
> Jul 11, 2021
|
||||
|
||||
- **Yanked.**
|
||||
|
||||
# 4.0.1
|
||||
|
||||
> Jul 11, 2021
|
||||
|
10
Cargo.toml
10
Cargo.toml
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "splines"
|
||||
version = "4.0.2"
|
||||
version = "4.1.0"
|
||||
license = "BSD-3-Clause"
|
||||
authors = ["Dimitri Sabadie <dimitri.sabadie@gmail.com>"]
|
||||
description = "Spline interpolation made easy"
|
||||
@ -11,7 +11,7 @@ repository = "https://github.com/phaazon/splines"
|
||||
documentation = "https://docs.rs/splines"
|
||||
readme = "README.md"
|
||||
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[badges]
|
||||
travis-ci = { repository = "phaazon/splines", branch = "master" }
|
||||
@ -29,12 +29,12 @@ std = []
|
||||
|
||||
[dependencies]
|
||||
cgmath = { version = ">=0.17, <0.19", optional = true }
|
||||
glam = { version = ">=0.10, <0.18", optional = true }
|
||||
nalgebra = { version = ">=0.21, <0.28", optional = true }
|
||||
glam = { version = ">=0.10, <0.21", optional = true }
|
||||
nalgebra = { version = ">=0.21, <0.31", optional = true }
|
||||
serde = { version = "1", features = ["derive"], optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
float-cmp = ">=0.6, < 0.9"
|
||||
float-cmp = ">=0.6, < 0.10"
|
||||
serde_json = "1"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
@ -1,4 +1,4 @@
|
||||
use crate::{impl_Interpolate, impl_InterpolateT!};
|
||||
use crate::impl_Interpolate;
|
||||
|
||||
use cgmath::{Quaternion, Vector1, Vector2, Vector3, Vector4};
|
||||
|
||||
@ -13,10 +13,3 @@ impl_Interpolate!(f64, Vector2<f64>, std::f64::consts::PI);
|
||||
impl_Interpolate!(f64, Vector3<f64>, std::f64::consts::PI);
|
||||
impl_Interpolate!(f64, Vector4<f64>, std::f64::consts::PI);
|
||||
impl_Interpolate!(f64, Quaternion<f64>, std::f64::consts::PI);
|
||||
|
||||
impl_InterpolateT!(f64, Vector1<f32>, std::f32::consts::PI);
|
||||
impl_InterpolateT!(f64, Vector2<f32>, std::f32::consts::PI);
|
||||
impl_InterpolateT!(f64, Vector3<f32>, std::f32::consts::PI);
|
||||
impl_InterpolateT!(f64, Vector4<f32>, std::f32::consts::PI);
|
||||
impl_InterpolateT!(f64, Quaternion<f32>, std::f32::consts::PI);
|
||||
|
||||
|
Reference in New Issue
Block a user