-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
113 lines (99 loc) · 2.63 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[package]
name = "autodj"
version = "0.5.3"
description = "Automatic Differentiation Library"
authors = [
"Maksim Elizarev <maxim.elizarev.research@gmail.com>",
"https://djmaxus.github.io/",
]
categories = ["mathematics", "science", "simulation"]
keywords = ["automatic", "derivative", "jacobian", "dual-number", "comp-math"]
repository = "https://github.com/djmaxus/autodj"
edition = "2021"
license = "MIT OR Apache-2.0"
[features]
default = ["std", "uuid"]
std = ["num-traits/std", "uuid?/std", "no-std-compat/std"]
sparse = ["no-std-compat/compat_hash"]
uuid = ["sparse", "dep:uuid"]
[dependencies.num-traits]
version = "0.2.19"
default-features = false
features = ["libm"]
[dependencies.no-std-compat]
version = "0.4.1"
default-features = false
features = ["alloc"]
[dependencies.uuid]
version = "1.10.0"
default-features = false
features = ["v4"]
optional = true
[dev-dependencies]
autodiff = "0.7.0"
nalgebra = "0.33.0"
[[example]]
name = "pendulum_sparse"
required-features = ["uuid"]
[package.metadata.docs.rs]
features = ["std", "uuid"]
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
private_interfaces = "warn"
private_bounds = "warn"
pub_use_of_private_extern_crate = "warn"
exported_private_dependencies = "warn"
unused = "warn"
unused_results = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
[lints.clippy]
pedantic = "warn"
suspicious = "warn"
perf = "warn"
style = "warn"
complexity = "warn"
type_repetition_in_bounds = "warn"
allow_attributes_without_reason = "warn"
as_conversions = "warn"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
default_numeric_fallback = "warn"
exhaustive_enums = "warn"
expect_used = "warn"
float_cmp_const = "warn"
if_then_some_else_none = "warn"
impl_trait_in_params = "warn"
lossy_float_literal = "warn"
missing_docs_in_private_items = "warn"
redundant_pub_crate = "warn"
cargo = "warn"
disallowed_methods = "warn"
unwrap_used = "warn"
fallible_impl_from = "warn"
get_unwrap = "warn"
map_unwrap_or = "warn"
unnecessary_safety_comment = "warn"
unwrap_in_result = "warn"
cast_lossless = "warn"
indexing_slicing = "warn"
trivially_copy_pass_by_ref = "warn"
[lints.rustdoc]
private_doc_tests = "warn"
private_intra_doc_links = "warn"
all = "warn"
missing_crate_level_docs = "warn"
# [dependencies]
# auto_ops = ">=0"
## trying to include examples in docs.rs page
# [package.metadata.docs.rs]
# cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples=examples"]
# [[example]]
# name = "ideal_gas"
# crate-type = ["bin"]
# doc = true
# rustdoc-args = ["--scrape-examples"]
# [package.metadata.docs.rs.examples]
# "ideal_gas" = { path = "examples/ideal_gas.rs" }