-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
37 lines (33 loc) · 998 Bytes
/
Cargo.toml
File metadata and controls
37 lines (33 loc) · 998 Bytes
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
[package]
name = "twinstar"
version = "0.5.0"
authors = ["panicbit <panicbit.dev@gmail.com>"]
edition = "2024"
license = "MIT OR Apache-2.0"
description = 'Gemini server implementation (previously called "northstar")'
repository = "https://github.com/panicbit/twinstar"
documentation = "https://docs.rs/twinstar"
[features]
default = ["serve_dir"]
serve_dir = ["mime_guess", "tokio/fs"]
[dependencies]
anyhow = "1.0.33"
rustls = { version = "0.23.27" }
rustls-pemfile = { version = "2.2.0" }
tokio-rustls = "0.26.2"
tokio = { version = "1.47.0", features = ["io-util", "net", "time", "rt"] }
mime = "0.3.16"
uriparse = "0.6.3"
percent-encoding = "2.1.0"
futures-core = "0.3.7"
log = "0.4.11"
webpki = "0.22.4"
lazy_static = "1.4.0"
mime_guess = { version = "2.0.3", optional = true }
[dev-dependencies]
env_logger = "0.11.8"
futures-util = "0.3.7"
tokio = { version = "1.47.0", features = ["macros", "rt-multi-thread", "sync"] }
[[example]]
name = "serve_dir"
required-features = ["serve_dir"]