Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #95 from phaazon/update-deps
Browse files Browse the repository at this point in the history
Bump dependencies (cgmath, nalgebra) to latest.
  • Loading branch information
hadronized authored Feb 1, 2023
2 parents 88a7ee7 + df9815a commit decd85d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 13 deletions.
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Changelog

<!-- vim-markdown-toc GFM -->

* [4.1.2](#412)
* [4.1.1](#411)
* [4.1](#41)
* [4.0.3](#403)
Expand Down Expand Up @@ -42,7 +41,14 @@
* [0.1.1](#011)
* [0.1](#01)

<!-- vim-markdown-toc -->
# 4.2.0

> Feb 1, 2023
- Add support for `glam-0.22`.
- Add support for `nalgebra-0.32`.
- Add deprecation lints for `impl-*` feature gates. Those shouldn’t be used anymore and the `*` variant should be
preferred. For instance, if you used `impl-cgmath`, you should just use the `cgmath` feature gate now.

# 4.1.1

Expand Down
14 changes: 4 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "splines"
version = "4.1.1"
version = "4.2.0"
license = "BSD-3-Clause"
authors = ["Dimitri Sabadie <dimitri.sabadie@gmail.com>"]
description = "Spline interpolation made easy"
Expand All @@ -13,12 +13,6 @@ readme = "README.md"

edition = "2021"

[badges]
travis-ci = { repository = "phaazon/splines", branch = "master" }
is-it-maintained-issue-resolution = { repository = "phaazon/splines" }
is-it-maintained-open-issues = { repository = "phaazon/splines" }
maintenance = { status = "actively-developed" }

[features]
default = ["std"]
impl-cgmath = ["cgmath"]
Expand All @@ -29,16 +23,16 @@ std = []

[dependencies]
cgmath = { version = ">=0.17, <0.19", optional = true }
glam = { version = ">=0.10, <0.22", optional = true }
nalgebra = { version = ">=0.21, <0.32", optional = true }
glam = { version = ">=0.10, <0.23", optional = true }
nalgebra = { version = ">=0.21, <0.33", optional = true }
serde = { version = "1", features = ["derive"], optional = true }

[dev-dependencies]
float-cmp = ">=0.6, < 0.10"
serde_json = "1"

[package.metadata.docs.rs]
all-features = true
features = ["std", "cgmath", "glam", "nalgebra", "serde"]

[[example]]
name = "hello-world"
Expand Down
11 changes: 11 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,17 @@
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(not(feature = "std"), feature(alloc))]
#![cfg_attr(not(feature = "std"), feature(core_intrinsics))]
#![cfg_attr(
any(
feature = "impl-cgmath",
feature = "impl-glam",
feature = "impl-nalgebra"
),
deprecated(
since = "4.2.0",
note = "you are using an impl-* feature gate; please switch to * (e.g. impl-cgmath becomes cgmath)"
)
)]

#[cfg(not(feature = "std"))]
extern crate alloc;
Expand Down

0 comments on commit decd85d

Please sign in to comment.