-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
66 lines (56 loc) · 1.64 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
[package]
name = "frclib-core"
version = "0.2.4"
edition = "2021"
license = "MIT"
description = "A collection of utilities to be used across the FRC in rust ecosystem"
repository = "https://github.com/oh-yes-0-fps/frclib-core"
rust-version = "1.75.0"
keywords = [
]
categories = [
]
authors = [
"Bowan Foryt"
]
readme = "README.md"
[dependencies]
serde = { version = "^1.0", features = ["derive"], optional = true}
rmpv = { version = "1.3", optional = true}
serde_json = { version = "1.0.125", optional = true}
thiserror = { version = "1.0.63" }
inventory = { version = "0.3.15", optional = true}
# logos = { version = "0.13.0", optional = true}
nalgebra = { version = "0.33", optional = true}
num = { version = "0.4.3", optional = true}
simba = { version = "0.9", optional = true}
ctor = { version = "0.2.8", optional = true}
# frclib-structure-macros = { path = "./frclib-structure-macros", optional = true}
frclib-structure-macros = { version = "0.1.2", optional = true}
paste = { version = "1.0.15", optional = true }
[dev-dependencies]
approx = "0.5.1"
[features]
structure = ["inventory", "frclib-structure-macros", "num"]
value-union = ["structure", "serde", "rmpv", "serde_json"]
units = ["num", "nalgebra", "simba", "serde", "paste"]
time = ["ctor"]
hal = ["time", "units"]
# approx 40 packages
basic = ["value-union", "time"]
# approx 71 packages and much longer compile times
full = ["basic", "units", "hal"]
[package.metadata.docs.rs]
all-features = true
[package.metadata.playground]
features = ["full"]
[workspace]
members = [
"frclib-structure-macros"
]
resolver = "2"
[profile.release]
lto = true
opt-level = 3
codegen-units = 1
debug = false