-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (55 loc) · 1.9 KB
/
Cargo.toml
File metadata and controls
64 lines (55 loc) · 1.9 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "hugr-cli"
version = "0.26.0"
edition = { workspace = true }
rust-version = { workspace = true }
license = { workspace = true }
readme = "README.md"
documentation = "https://docs.rs/hugr-cli/"
homepage = { workspace = true }
repository = { workspace = true }
description = "Compiler passes for Quantinuum's HUGR"
keywords = ["Quantum", "Quantinuum"]
categories = ["compilers"]
[lib]
bench = false
[features]
default = ["tracing"]
tracing = ["dep:tracing", "dep:tracing-subscriber"]
[dependencies]
clap = { workspace = true, features = ["derive", "cargo"] }
clap-verbosity-flag.workspace = true
derive_more = { workspace = true, features = ["display", "error", "from"] }
hugr = { path = "../hugr", version = "0.26.0" }
serde_json.workspace = true
serde = { workspace = true, features = ["derive"] }
clio = { workspace = true, features = ["clap-parse"] }
anyhow.workspace = true
thiserror.workspace = true
tracing = { version = "0.1.44", optional = true }
tracing-subscriber = { version = "0.3.20", features = ["fmt"], optional = true }
tabled = "0.20.0"
schemars = { workspace = true, features = ["derive"] }
[lints]
workspace = true
[package.metadata.cargo-semver-checks.lints]
workspace = true
# Temporarily disabled due to Package being moved to `hugr-core` triggering an error in rustdoc
# https://github.com/obi1kenobi/cargo-semver-checks/issues/355
enum_missing = "warn"
struct_missing = "warn"
[dev-dependencies]
assert_cmd = { workspace = true }
assert_fs = { workspace = true }
predicates = { workspace = true }
tempfile = { workspace = true }
rstest.workspace = true
[[bin]]
name = "hugr"
path = "src/main.rs"
doc = false
bench = false
[package.metadata.binstall]
# Override binstall default since there are multiple packages in the repo
# https://github.com/cargo-bins/cargo-binstall/blob/main/SUPPORT.md#Defaults
pkg-url = "{ repo }/releases/download/{ name }-v{ version }/{ name }-{ target }{ archive-suffix }"