-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
33 lines (29 loc) · 874 Bytes
/
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
[package]
name = "dimensional_quantity"
version = "0.1.6"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Check units of measure at compile time using generic const expressions"
repository = "https://github.com/crystal-growth/dimensional_quantity"
homepage = "https://github.com/crystal-growth/dimensional_quantity"
documentation = "https://docs.rs/dimensional_quantity"
readme = "README.md"
keywords = [
"units",
"dimensions",
"quantities",
"measurement",
"dimensional-analysis",
]
categories = ["science"]
[dependencies]
num-traits = "0.2"
serde = { version = "1.0", features = ["derive"], optional = true }
rust_decimal = {version = "1.36", optional = true}
[build-dependencies]
serde = { version = "1", features = ["derive"] }
toml = "0.8"
num-traits = "0.2"
[features]
"use_serde" = ["dep:serde"]
"decimal" = ["dep:rust_decimal"]