-
Notifications
You must be signed in to change notification settings - Fork 97
/
Copy pathCargo.toml
47 lines (41 loc) · 1.44 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
[package]
name = "qsc_wasm"
version.workspace = true
authors.workspace = true
edition.workspace = true
# wasm-pack doesn't like the workspace format for the below, so copied in for now.
homepage = "https://github.com/microsoft/qsharp"
repository = "https://github.com/microsoft/qsharp"
license = "MIT"
description = "Wasm module for the qsc compiler"
[lib]
crate-type = ["rlib", "cdylib"]
doctest = false
[dependencies]
futures-util = { workspace = true }
js-sys = { workspace = true }
katas = { path = "../katas"}
log = { workspace = true }
miette = { workspace = true }
num-bigint = { workspace = true }
num-complex = { workspace = true }
qsls = { path = "../language_service" }
qsc = { path = "../compiler/qsc" }
qsc_codegen = { path = "../compiler/qsc_codegen" }
qsc_doc_gen = { path = "../compiler/qsc_doc_gen" }
qsc_project = { path = "../compiler/qsc_project" }
resource_estimator = { path = "../resource_estimator" }
serde = { workspace = true, features = ["derive"] }
serde-wasm-bindgen = { workspace = true}
wasm-bindgen = { workspace = true}
wasm-bindgen-futures = { workspace = true}
serde_json = { workspace = true }
rustc-hash = { workspace = true }
async-trait = { workspace = true }
# This is a transitive dependency of qir-stdlib which fails to build for wasm if 'js' feature isn't enabled.
getrandom = { workspace = true, features = ["js"] }
[dev-dependencies]
expect-test = { workspace = true }
indoc = { workspace = true }
[lints]
workspace = true