-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change upgrades to the 2021 Edition of Rust and establishes an MSRV of `1.56.0`. Manifests have been reformatted.
- Loading branch information
1 parent
1c7e9f1
commit b6d1126
Showing
2 changed files
with
72 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
[package] | ||
name = "eudoxus" | ||
description = "Abstraction of Euclidean spaces." | ||
keywords = ["geometry", "graphics", "math"] | ||
version = "0.0.1" | ||
authors = ["Sean Olson <[email protected]>"] | ||
edition = "2018" | ||
license = "MIT" | ||
readme = "../README.md" | ||
description = "Abstraction of Euclidean spaces." | ||
repository = "https://github.com/olson-sean-k/theon" | ||
readme = "../README.md" | ||
edition = "2021" | ||
rust-version = "1.56.0" | ||
license = "MIT" | ||
keywords = [ | ||
"geometry", | ||
"graphics", | ||
"math", | ||
"matrix", | ||
"vector", | ||
] | ||
|
||
[package.metadata.docs.rs] | ||
default-target = "x86_64-unknown-linux-gnu" | ||
|
@@ -22,22 +29,56 @@ rustdoc-args = [ | |
|
||
[features] | ||
default = [] | ||
geometry-cgmath = ["cgmath"] | ||
geometry-glam = ["glam"] | ||
geometry-mint = ["mint"] | ||
geometry-nalgebra = ["nalgebra"] | ||
geometry-ultraviolet = ["ultraviolet"] | ||
geometry-cgmath = [ | ||
"dep:arrayvec", | ||
"dep:cgmath", | ||
] | ||
geometry-glam = [ | ||
"dep:arrayvec", | ||
"dep:glam", | ||
] | ||
geometry-mint = [ | ||
"dep:arrayvec", | ||
"dep:mint", | ||
] | ||
geometry-nalgebra = [ | ||
"dep:arrayvec", | ||
"dep:nalgebra", | ||
] | ||
geometry-ultraviolet = [ | ||
"dep:arrayvec", | ||
"dep:ultraviolet", | ||
] | ||
|
||
[dependencies] | ||
num-traits = "^0.2.0" | ||
typenum = "^1.13.0" | ||
|
||
[dependencies.arrayvec] | ||
version = "^0.7.0" | ||
optional = true | ||
|
||
# Integrations. | ||
cgmath = { version = "=0.18.0", optional = true } | ||
glam = { version = "=0.17.1", optional = true } | ||
mint = { version = "=0.5.6", optional = true } | ||
nalgebra = { version = "=0.28.0", optional = true } | ||
ultraviolet = { version = "=0.8.1", optional = true } | ||
|
||
[dependencies.cgmath] | ||
version = "=0.18.0" | ||
optional = true | ||
|
||
[dependencies.glam] | ||
version = "=0.17.1" | ||
optional = true | ||
|
||
[dependencies.mint] | ||
version = "=0.5.6" | ||
optional = true | ||
|
||
[dependencies.nalgebra] | ||
version = "=0.28.0" | ||
optional = true | ||
|
||
[dependencies.ultraviolet] | ||
version = "=0.8.1" | ||
optional = true | ||
|
||
[dev-dependencies] | ||
nalgebra = "^0.22.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
[package] | ||
name = "theon" | ||
description = "Abstraction of Euclidean spaces." | ||
keywords = ["geometry", "graphics", "math"] | ||
version = "0.0.1" | ||
authors = ["Sean Olson <[email protected]>"] | ||
edition = "2018" | ||
license = "MIT" | ||
readme = "../README.md" | ||
description = "Abstraction of Euclidean spaces." | ||
repository = "https://github.com/olson-sean-k/theon" | ||
readme = "../README.md" | ||
edition = "2021" | ||
rust-version = "1.56.0" | ||
license = "MIT" | ||
keywords = [ | ||
"geometry", | ||
"graphics", | ||
"math", | ||
"matrix", | ||
"vector", | ||
] | ||
|
||
[package.metadata.docs.rs] | ||
default-target = "x86_64-unknown-linux-gnu" | ||
|
@@ -25,11 +32,13 @@ geometry-glam = ["eudoxus/geometry-glam"] | |
geometry-mint = ["eudoxus/geometry-mint"] | ||
geometry-nalgebra = ["eudoxus/geometry-nalgebra"] | ||
geometry-ultraviolet = ["eudoxus/geometry-ultraviolet"] | ||
lapack = ["ndarray", "ndarray-linalg"] | ||
lapack = [ | ||
"dep:ndarray", | ||
"dep:ndarray-linalg", | ||
] | ||
|
||
[dependencies] | ||
approx = "^0.5.0" | ||
arrayvec = "^0.7.0" | ||
decorum = "^0.3.0" | ||
itertools = "^0.10.0" | ||
num = "^0.3.0" | ||
|