-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
56 lines (50 loc) · 2.1 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
[package]
name = "texo-ui"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# dioxus = { path = "../dioxus/packages/dioxus" }
# dioxus = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus = "0.5.0"
tween ={ version = "2.0.2", default-features = false, features = ["libm"], optional = true}
log = "0.4.20"
thiserror = "1.0.56"
# generational-box = { path = "../dioxus/packages/generational-box", optional = true}
generational-box = { git = "https://github.com/dioxuslabs/dioxus", optional = true}
async-std = {version="1.12.0", features = ["unstable"]}
qrcode = { version = "0.14.0", optional = true, default-features = false, features = ["image"]}
image = { version = "0.25.0", optional = true }
base64 = { version = "0.22.0" }
wasm-bindgen-futures = { version = "0.4.40", optional = true }
web-sys = { version = "0.3.67", optional = true, features = ["Window", "Document", "HtmlElement"]}
arboard = { version = "3.3.0", optional = true}
fastrand = {version = "2.0.1", default-features = false}
markdown = "1.0.0-alpha.16"
typst = { git = "https://github.com/typst/typst", tag = "v0.10.0", optional = true }
typst-svg = { git = "https://github.com/typst/typst", tag = "v0.10.0", optional = true }
# latex2mathml = "0.2.3"
la-texer = { path = "../la-texer" }
# katex = { version = "0.4.6", default-features = false }
[features]
typst = ["dep:typst-svg", "dep:typst"]
tween = ["dep:tween"]
desktop = ["dioxus/desktop", "dep:arboard", "fastrand/std"]
web = ["dioxus/web", "dep:web-sys", "fastrand/js"]
clipboard = ["dep:web-sys", "dep:generational-box", "dep:wasm-bindgen-futures", "web-sys?/Clipboard", "web-sys?/Navigator", "web-sys?/Permissions"]
qrcode = ["dep:qrcode", "dep:image"]
# controller = ["dep:gilrs", "dep:async-std"]
[dev-dependencies]
# comemo = { version = "0.3.1" }
# log = "0.4.20"
# ureq = "2.9"
# tar = "0.4"
# zune-inflate = { version = "0.2", default_features = false, features = [
# "gzip",
# "std",
# ] }
# time = "0.3"
# ttf-parser = "0.20"
dioxus-logger = "0.4.1"
wasm-logger = "0.2.0"
pretty_env_logger = "0.5.0"