-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (39 loc) · 1.28 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
[package]
name = "qmc"
version = "2.20.0"
authors = ["Sumner Hearth <[email protected]>"]
edition = "2021"
description = "Quantum Monte Carlo simulations in Rust"
documentation = "https://docs.rs/qmc/"
repository = "https://github.com/Renmusxd/IsingMonteCarlo"
license = "MIT"
[features]
default = []
# Calculate autocorrelation lengths for various functions of the sampled states.
autocorrelations = ["rustfft"]
# Enable nightly features in dependencies
nightly = ["smallvec/specialization", "smallvec/union"]
# Compile and export parallel-tempering code
tempering = ["itertools"]
# Add parallelization to parallel-tempering code
parallel-tempering = ["rayon", "tempering"]
# Add graph serialization.
serialize = ["serde", "rand/serde1", "smallvec/serde"]
# Add const generics to change sizes of vectors
const_generics = ["smallvec/const_generics"]
[dependencies]
rand = "^0.8"
smallvec = "^1.6"
itertools = {version = "^0.10", optional = true}
rayon = {version = "^1.5", optional = true}
serde = {version = "^1.0", optional = true, features = ["derive"]}
rustfft = {version = "^6.0", optional = true}
[dev-dependencies]
rand = {version = "^0.8", features = ["small_rng"]}
serde_json = "^1.0"
rand_chacha = {version = "^0.3"}
itertools = "^0.10"
[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"