-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
48 lines (39 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "piecewise_polynomial"
version = "0.2.1"
authors = ["Mateusz Kowalczyk <[email protected]>"]
edition = "2018"
license = "BSD-3-Clause"
description = "Fitting and interpolation with piecewise polynomials"
repository = "https://github.com/tsurucapital/piecewise-polynomial-rust"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
arbitrary = { version = "1.0.0", features = ["derive"] }
approx = "0.5.0"
serde = { version = "1.0.123", features = ["derive"] }
borsh = { version = "1.2", default-features = false, optional = true, features = [
"derive",
] }
[dev-dependencies]
assert_approx_eq = "1.1.0"
criterion = "0.3.4"
[[bench]]
name = "poly_evaluate"
harness = false
[[bench]]
name = "haskell_ref"
harness = false
[[bench]]
name = "piecewise"
harness = false
[[bench]]
name = "piecewise_evaluator"
harness = false
[profile.release]
debug = true
lto = "thin" # full makes no differenc
codegen-units = 1
[profile.bench]
debug = true
lto = "thin"
codegen-units = 1