-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
34 lines (31 loc) · 1.04 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
[package]
name = "dimensional_quantity"
version = "0.1.10"
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 = {version = "0.2", default-features = false}
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
rust_decimal = {version = "1.36", optional = true, default-features = false}
[build-dependencies]
serde = { version = "1", features = ["derive"] }
toml = "0.8"
num-traits = "0.2"
[features]
default = ["std"]
"decimal" = ["dep:rust_decimal"]
"use_serde" = ["dep:serde", "rust_decimal?/serde"]
std = ["num-traits/std", "serde?/std", "rust_decimal?/std"]