-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (35 loc) · 1.06 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
[package]
name = "sokoban-solver"
version = "0.1.0"
authors = ["Martin Taibr <taibr.martin@gmail.com>"]
edition = '2018'
# abort on panic might be better when using threads
# (https://vorner.github.io/2018/07/22/dont_panic.html)
[profile.dev]
panic = 'abort'
# criterion seems to be using profile.release
[profile.release]
panic = 'abort'
# makes compilation unacceptably slow (over a minute for simple changes)
#lto = true
# 5-10% speedup, doesn't seem to affect compile time for simple changes
codegen-units = 1
# for profiling, doesn't effect performance
debug = true
[[bench]]
name = "criterion_benches"
harness = false
[features]
graph = ["dot"]
# note to self: when adding features, update .gitlab.ci and git hooks
[dependencies]
clap = { version = "4.1.4", features = ["cargo"] }
dot = { version = "0.1.4", optional = true }
env_logger = "0.11.2"
fnv = "1.0.6"
log = { version = "0.4.3", features = ["release_max_level_info"] }
separator = "0.4"
typed-arena = "2.0.1"
[dev-dependencies]
assert_cmd = "2.0.0"
criterion = { version = "0.4.0", features = ['real_blackbox'] }