-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
82 lines (66 loc) · 1.84 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
[package]
authors = ["Ralph Tandetzky"]
description = "Quaternion numbers implementation for Rust"
documentation = "https://docs.rs/num-quaternion"
homepage = "https://github.com/ralphtandetzky/num-quaternion"
keywords = ["quaternion", "math", "algebra", "3d", "rotation"]
categories = ["algorithms", "data-structures", "science", "no-std", "mathematics"]
license = "MIT OR Apache-2.0"
name = "num-quaternion"
repository = "https://github.com/ralphtandetzky/num-quaternion"
version = "1.0.2"
readme = "README.md"
exclude = ["/.github/*"]
edition = "2021"
rust-version = "1.63.0"
[package.metadata.docs.rs]
features = ["std", "libm", "serde", "unstable"]
rustdoc-args = ["--html-in-header", "katex.html"]
[[bench]]
name = "norm_runtime"
harness = false
[[example]]
name = "benchmark_norm_accuracy"
required-features = ["std", "rand"]
[[example]]
name = "pose_animation"
required-features = ["std"]
[dependencies.num-traits]
version = "0.2"
default-features = false
[dependencies.num-integer]
version = "0.1.46"
default-features = false
[dependencies.serde]
optional = true
version = "1.0"
default-features = false
[dependencies.rand]
optional = true
version = "0.8"
default-features = false
features = ["small_rng"] # Needed only for testing. TODO: Move tests outside lib.rs and make this a development dependency
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.micromath]
version = "2.1"
features = ["quaternion", "vector"]
[dev-dependencies.nalgebra]
version = "0.33"
[dev-dependencies.quaternion]
version = "2.0"
[dev-dependencies.quaternion-core]
version = "0.5"
[dependencies.rand_distr]
optional = true
version = "0.4"
default-features = false
[dev-dependencies.serde_json]
version = "1.0"
[features]
default = ["std"]
std = ["num-traits/std"]
libm = ["num-traits/libm"]
rand = ["dep:rand", "dep:rand_distr"]
serde = ["dep:serde"]
unstable = []