-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (43 loc) · 1.43 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 = "qukit"
version = "0.0.0-pre5"
description = "a quantum simulator for rust and wasm"
repository = "https://github.com/28Smiles/qukit"
authors = ["Leon Camus <[email protected]>"]
edition = "2021"
license = "MIT"
categories = ["quantum-computer", "quantum-simulator", "quantum", "rust", "nightly"]
[lib]
name = "qukit"
crate-type = ["cdylib", "rlib"]
[features]
std = ["rand/std_rng", "rand/std"]
safe = []
parallel = ["rayon"]
wasm-parallel = ["parallel", "wasm-bindgen-rayon"]
wasm-pack = [ "serde", "wasm-bindgen", "tsify", "wee_alloc", "console_error_panic_hook", "js-sys", "serde-wasm-bindgen" ]
default = [ "std" ]
[dependencies]
const-trig = "0"
libm = "0"
rayon = { version = "1", optional = true }
wasm-bindgen-rayon = { version = "1", optional = true }
typenum = "1"
bit-array = "0"
spin = "0"
tinyvec = { version = "1", features = ["alloc"] }
paste = "1"
rand = { version = "0", default-features = false, features = ["small_rng"] }
serde = { version = "1", features = ["derive"], optional = true }
wasm-bindgen = { version = "0", features = ["serde-serialize"], optional = true }
tsify = { version = "0", optional = true }
console_error_panic_hook = { version = "0", optional = true }
wee_alloc = { version = "0", optional = true }
js-sys = { version = "0", optional = true }
serde-wasm-bindgen = { version = "0", optional = true }
[dev-dependencies]
float-cmp = "0.9"
[profile.release]
codegen-units = 1
opt-level = "s"
lto = "fat"