-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (71 loc) · 2.71 KB
/
Cargo.toml
File metadata and controls
77 lines (71 loc) · 2.71 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
[package]
name = "nju-schedule-ics"
version = "0.1.0"
edition = "2024"
[dependencies]
aes = "0.8.3"
anyhow = { version = "1.0.75", features = ["backtrace", "std"] }
base64 = "0.22.0"
cbc = { version = "0.1.2", features = ["alloc", "std"] }
chrono = "0.4.29"
clap = { version = "4.4.2", features = ["derive"] }
ics = "0.5.8"
reqwest = { version = "0.13.2", features = [
"cookies",
"json",
"form"
] }
reqwest-middleware = { version = "0.5.1", features = ["form"]}
reqwest-retry = "0.9.1"
serde = { version = "1.0.188", features = ["derive", "serde_derive"] }
tokio = { version = "1.29.1", features = ["macros", "rt-multi-thread"], default-features = false, optional = true }
toml = "0.8.10"
uuid = { version = "1.4.1", features = ["v4", "serde"], optional = true }
image = "0.25.8"
async-trait = "0.1.89"
downcast-rs = "2.0.2"
derivative = "2.2.0"
map-macro = "0.3.0"
serde_with = "3.14.0"
dioxus = { git = "https://github.com/SuperKenVery/dioxus.git", branch = "nju-schedule", features = ["fullstack", "router"] }
tracing = { version = "0.1.41", features = ["log", "async-await"] }
daisy_rsx = "0.1.42"
skyscraper = "0.6.4"
web-sys = "0.3.81"
js-sys = "0.3.81"
dyn-clone = "1.0.20"
urlencoding = "2.1.3"
sqlx = { version = "0.8.6", optional = true, features = ["runtime-tokio", "sqlite", "chrono"] }
axum = { version = "0.8.7", optional = true }
tower = "0.5.2"
futures-util = "0.3.31"
tower-cookies = "0.11.0"
serde_json = "1.0.145"
dioxus-cli-config = { git = "https://github.com/SuperKenVery/dioxus.git", branch = "nju-schedule" }
dioxus-logger = { git = "https://github.com/SuperKenVery/dioxus.git", branch = "nju-schedule" }
tower-http = { version = "0.6.8", features = ["compression-full"], optional = true }
opentelemetry = { version = "0.27", optional = true }
opentelemetry_sdk = { version = "0.27", features = ["rt-tokio"], optional = true }
opentelemetry-otlp = { version = "0.27", features = ["http-proto", "reqwest-client"], optional = true }
tracing-opentelemetry = { version = "0.28", optional = true }
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"], optional = true }
reqwest-tracing = "0.7.0"
[features]
default = []
web = ["dioxus/web"]
server = [
"dioxus/server", "dep:axum", "dep:tokio", "dep:uuid", "dep:sqlx", "dep:tower-http",
"dep:opentelemetry", "dep:opentelemetry_sdk", "dep:opentelemetry-otlp",
"dep:tracing-opentelemetry", "dep:tracing-subscriber",
]
tower-http = ["dep:tower-http"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom_02 = { package = "getrandom", version = "0.2", features = ["js"] }
getrandom = { version = "0.3", features = ["wasm_js"] }
[profile.wasm-dev]
inherits = "dev"
opt-level = 1
[profile.server-dev]
inherits = "dev"
[profile.android-dev]
inherits = "dev"