-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
90 lines (83 loc) · 2.63 KB
/
Cargo.toml
File metadata and controls
90 lines (83 loc) · 2.63 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[package]
name = "theframework"
version = "0.1.40"
edition = "2021"
description = "A cross platform application UI framework."
license = "MIT"
keywords = ["application", "framework", "graphics", "user-interface", "gui"]
repository = "https://github.com/markusmoenig/theframework.git"
exclude = ["Xcode"]
[dependencies]
log = "0.4"
fontdue = "0.9.3"
maths-rs = { version = "0.2.6", features = [
"short_types",
"short_hand_constructors",
"casts",
"serde",
"hash",
] }
vek = { version = "0.17.1", default-features = true }
winit = { version = "0.30", optional = true }
rust-embed = { version = "8", default-features = true, features = [
"include-exclude",
] }
png = "0.17"
rustc-hash = "2.1.1"
rfd = { version = "0.17.1", optional = true }
futures = { version = "0.3" }
serde = { version = "1.0", features = ["derive"], optional = false }
serde_json = { version = "1.0", optional = false }
flate2 = { version = "1.0" }
rayon = { version = "1" }
vectorize = "0.2.0"
indexmap = { version = "2", features = ["serde"], default-features = true }
zeno = { version = "0.3.1", optional = true }
lazy_static = "1.5.0"
unicode-segmentation = "1.11.0"
half = { version = "2.4", features = ["serde"] }
flags = "0.1.5"
softbuffer = { version = "0.4.6", optional = true }
web-time = "1.1.0"
markdown = "1.0.0"
font-kit = { version = "0.14.3", optional = true }
image = { version = "0.25", default-features = false, features = ["png"] }
[dependencies.uuid]
version = "1.1.2"
features = [
"v4", # Lets you generate random UUIDs
"fast-rng", # Use a faster (but still sufficiently random) RNG
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
"serde",
"js",
]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
arboard = "3.4.1"
syntect = "5.2.0"
log4rs = { version = "1.3.0", features = [
"compound_policy",
"fixed_window_roller",
"rolling_file_appender",
"size_trigger",
], default-features = false, optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1"
console_log = "1.0.0"
getrandom_0_2 = { package = "getrandom", version = "0.2.16", features = ["js"] }
getrandom_0_3 = { package = "getrandom", version = "0.3.3", features = [
"wasm_js",
] }
syntect = { version = "5.2.0", default-features = false, features = [
"default-fancy",
] }
wasm-bindgen = "0.2"
web-sys = { version = "0.3", features = ["GpuTextureFormat", "Performance"] }
[features]
ui = ["rfd", "rayon", "zeno"]
winit_app = ["winit", "softbuffer"]
log = ["log4rs"]
i18n = ["font-kit"]
default = ["winit_app"]
rayon = []
[workspace]
members = ["examples/*", "run-wasm"]