-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
83 lines (76 loc) · 1.88 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
80
81
82
83
[package]
name = "cynthiaweb"
description = "A simple web server and generator based on plain file editing. I hate WordPress."
documentation = "https://cynthia-docs.strawmelonjuice.com/"
authors = ["MLC Bloeiman <[email protected]>"]
version = "3.0.0-alpha"
edition = "2021"
license = "AGPL-3.0-only"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "cynthiaweb"
path = "./source/Main/main.rs"
[features]
default = ["js_runtime", "selfinit"]
selfinit = ["dep:rust-lzma"]
js_runtime = []
[profile.dev]
opt-level = 3
debug = true
strip = "none"
debug-assertions = true
overflow-checks = true
lto = false
panic = 'unwind'
incremental = true
codegen-units = 256
[profile.release]
opt-level = 3
lto = true
panic = 'abort'
[dependencies]
rust-lzma = { version = "0.6.0", optional = true }
chrono = "0.4.38"
futures = "0.3.30"
actix-web = "4"
actix-files = "0.6"
serde = { version = "1.0.104", features = ["derive"] }
serde_yaml = "0.9.29"
# colored = "2.0.4" // No longer needed, Cynthia uses its own color module
simplelog = "0.12.2"
indicatif = "0.17.8"
log = "0.4.21"
handlebars = "6.0.0"
jsonc-parser = { version = "0.23.0", features = ["serde"] }
boa_engine = "0.19.0"
markdown = "1.0.0-alpha.18"
curl = "0.4.44"
flate2 = "1.0.28"
tar = "0.4.40"
fs_extra = "1.3.0"
mime = "0.3.17"
time = { version = "0.3.11", features = ["formatting"] }
serde_json = "1.0.120"
urlencoding = "2.1.3"
inquire = "0.7.5"
normalize-path = "0.2.1"
random-string = "1.1.0"
toml = "0.8.11"
strip-ansi-escapes = "0.2.0"
tokio = { version = "1.38.0", features = [
"rt",
"rt-multi-thread",
"process",
"macros",
"time",
] }
termsize = "0.1"
async-std = "1.12.0"
rand = "0.8.5"
reqwest = { version = "0.12.5" }
interactive_process = "0.1.3"
serde_dhall = "0.12.1"
regex = "1.10.3"
[build-dependencies]
rust-lzma = { version = "0.6.0", optional = true }
tar = "0.4.40"