-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
59 lines (51 loc) · 1.67 KB
/
Copy pathCargo.toml
File metadata and controls
59 lines (51 loc) · 1.67 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
[package]
name = "restctl"
version = "0.1.0"
authors = ["flippingbitss <matharumanpreet00@gmail.com>"]
edition = "2024"
include = ["LICENSE-MIT", "**/*.rs", "Cargo.toml"]
# rust-version = "1.81"
publish = false
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
# targets = ["wasm32-unknown-unknown"]
[dependencies]
egui = "0.32"
eframe = { version = "0.32", default-features = false, features = [
"default_fonts", # Embed the default egui fonts.
"glow", # Use the glow rendering backend. Alternative: "wgpu".
"persistence", # Enable restoring app state when restarting the app.
"x11", # To support Linux (and CI)
] }
log = "0.4"
ehttp = "0.5.0"
egui_tiles = "0.13.0"
# You only need serde if you want app persistence:
serde = { version = "1", features = ["derive"] }
serde_json = "1.0.140"
egui_extras = { version = "0.32.0", features = ["syntect"]}
base64 = "0.22.1"
http = "1.3.1"
serde_urlencoded = "0.7.1"
aws-sigv4 = "1.3.3"
aws-credential-types = "1.2.4"
web-time = "1.1.0" # move to wasm only with cfg
reqwest = { version = "0.12.22", features = ["cookies"] }
cookie_store = "0.22.0"
url = "2.5.4"
bytes = "1.10.1"
cookie = "0.18.1"
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.47.0", features = ["rt", "rt-multi-thread"] }
env_logger = "0.11"
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
web-sys = "0.3.77" # to access the DOM (to hide the loading text)
[profile.release]
opt-level = 2 # fast and small wasm
# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2