-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
79 lines (67 loc) · 1.99 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[package]
name = "depict"
version = "0.3.0"
edition = "2021"
license = "MIT"
description = "Picture systems, tell stories"
documentation = "https://docs.rs/depict"
homepage = "https://github.com/mstone/depict"
repository = "https://github.com/mstone/depict"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["osqp-rust"]
desktop = ["interprocess/tokio_support"]
server = ["petgraph/serde-1", "serde", "serde/derive", "serde_json"]
client = ["petgraph/serde-1", "serde", "serde/derive", "serde_json"]
[dev-dependencies]
pretty_assertions = "1"
proptest = "1"
[dependencies]
anyhow = { version = "1" }
colorous = { version = "1" }
derive_more = "0.99"
dioxus = { version = "0.3", optional = true }
enum-kinds = "0.5.1"
factorial = "0.3"
include_dir = "0.7"
itertools = "0.10"
logos = "0.12"
ordered-float = "3"
petgraph = "0.6"
pomelo = { version = "0.1" }
self_cell = "0.10.2"
sorted-vec = "0.7"
svg = "0.10"
thiserror = "1.0"
typed-index-collections = "3.0"
# osqp
osqp = { version = "0.6", optional = true }
osqp-rust = { version = "0.6", optional = true, git = "https://github.com/mstone/osqp.rs" }
# server
serde = { version = "1", optional = true }
serde_json = { version = "1", optional = true }
# client
[target.'cfg(all(target_arch = "wasm32", target_os="unknown", target_vendor="unknown"))'.dependencies]
web-sys = { version = "0.3.4", features = [ "Window", "Performance", "PerformanceTiming" ] }
# depended on by dioxus-*; tokio_support feature is needed to fix "cargo doc", but must not be set on wasm32-unknown-unknown
[target.'cfg(not(all(target_arch = "wasm32", target_os="unknown", target_vendor="unknown")))'.dependencies]
interprocess = { version = "1", optional = true }
[lib]
name = "depict"
path = "src/lib.rs"
[workspace]
members = [
"dioxus",
#"objc",
"parse",
#"server",
#"tikz",
"web",
]
[profile.release]
#debug = 1
debug = true
split-debuginfo = "packed"
#split-debuginfo = "unpacked"
#incremental = true
strip = "none"