-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
63 lines (50 loc) · 1.79 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
[package]
name = "angulus"
version = "0.6.0"
edition = "2021"
authors = ["Tristan Guichaoua <[email protected]>"]
description = "Unit agnostic angle"
rust-version = "1.61"
repository = "https://github.com/tguichaoua/angulus"
license = "MIT OR Apache-2.0"
keywords = ["utility", "angle", "math", "wrapper"]
categories = ["data-structures", "mathematics", "value-formatting"]
exclude = [".github/"]
# ---------------------------------------------------------------------------- #
[features]
default = ["std"]
std = []
# ---------------------------------------------------------------------------- #
[dependencies]
libm = { version = "0.2", optional = true, default-features = false }
rand = { version = "0.8", optional = true, default-features = false }
serde = { version = "1", optional = true, default-features = false }
[dev-dependencies]
float_eq = "1"
rand = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# ---------------------------------------------------------------------------- #
[package.metadata.docs.rs]
# To build locally:
# RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --no-deps --open
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
# ---------------------------------------------------------------------------- #
[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
let_underscore_drop = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
unsafe_code = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
unused_tuple_struct_fields = "warn"
variant_size_differences = "warn"
[lints.clippy]
cargo = "warn"
pedantic = "warn"
module_name_repetitions = { level = "allow", priority = 1 }
# ---------------------------------------------------------------------------- #