-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
47 lines (42 loc) · 1.44 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
[package]
name = "gosub-gtk"
version = "0.1.0"
edition = "2021"
authors = ["Gosub Community <[email protected]>"]
description = "Gosub browser using GTK"
license = "MIT"
[dependencies]
gosub_engine = { version = "0.1.2", registry = "gosub" }
gtk-macros = "0.3"
gtk4 = { version = "0.9.5", features = ["v4_6", "v4_14"] }
chrono = { version = "0.4.39", features = [] }
uuid = { version = "1.11.0", features = ["v4", "v7"] }
log = "0.4.22"
once_cell = "1.5"
colog = "1.3.0"
tokio = { version = "1.42.0", features = ["rt-multi-thread"] }
async-channel = "2.3.1"
url = "2.5.2"
rusqlite = "0.32.1"
cookie = "0.18.1"
sourceview5 = { version = "0.9.1", features = ["gtk_v4_6"] }
anyhow = "1.0.95"
thiserror = "2.0.9"
futures-core = "0.3.31"
bytes = "1.9.0"
futures = "0.3.31"
lazy_static = "1.5.0"
# Optional dependencies
reqwest = { version = "0.12.11", features = ["blocking", "gzip", "brotli", "cookies", "deflate", "http2", "rustls-tls", "stream"], optional = true }
ureq = { version = "2.0.0", optional = true }
gophermap = { version = "0.1.2", optional = true }
[features]
default = ["proto-http", "http-agent-reqwest"]
http-agent = []
http-agent-reqwest = ["http-agent", "dep:reqwest"]
http-agent-ureq = ["http-agent", "dep:ureq"]
proto-http = [] # Enables the HTTP(s) protocol (required)
proto-ftp = [] # Enables the FTP protocol (ftp://)
proto-gopher = [ "dep:gophermap" ] # Enables the Gopher protocol (gopher://)
[build-dependencies]
glib-build-tools = "0.20.0"