-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
87 lines (73 loc) · 1.61 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[package]
name = "theon"
version = "0.1.0"
authors = ["Sean Olson <[email protected]>"]
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 = [
"euclidean",
"geometry",
"linear",
]
categories = [
"graphics",
"mathematics",
]
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
# Enable all features so that trait implementations for types from commonly used
# crates are shown.
all-features = true
# Enable KaTex support.
rustdoc-args = [
"--html-in-header",
"doc/katex-header.html",
]
[features]
default = ["nalgebra"]
lapack = [
"dep:ndarray",
"dep:ndarray-linalg",
]
# Integrations.
cgmath = ["dep:cgmath"]
glam = ["dep:glam"]
mint = ["dep:mint"]
nalgebra = ["dep:nalgebra"]
ultraviolet = ["dep:ultraviolet"]
[dependencies]
approx = "^0.5.0"
decorum = "^0.4.0"
itertools = "^0.13.0"
num-traits = "^0.2.19"
typenum = "^1.17.0"
# Integrations.
[dependencies.cgmath]
version = "^0.18.0"
optional = true
[dependencies.glam]
version = "^0.29.0"
optional = true
[dependencies.mint]
version = "^0.5.0"
optional = true
[dependencies.nalgebra]
version = "^0.33.0"
optional = true
[dependencies.ultraviolet]
version = "^0.9.0"
optional = true
# Platform-specific features.
[target.'cfg(target_arch = "x86_64")'.dependencies.ndarray]
version = "^0.15.0"
optional = true
[target.'cfg(target_arch = "x86_64")'.dependencies.ndarray-linalg]
version = "^0.16.0"
features = ["intel-mkl-static"]
optional = true
[dev-dependencies]
nalgebra = "^0.33.0"