aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 0a53160baef2c661c21a90127470fc24366079e2 (plain) (blame)
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
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[workspace]
members = ["rossweisse"]

[package]
name = "windmark"
version = "0.3.7"
authors = ["Fuwn <[email protected]>"]
edition = "2021"
description = "An elegant and highly performant async Gemini server framework"
documentation = "https://docs.rs/windmark"
readme = "README.md"
homepage = "https://github.com/gemrest/windmark"
repository = "https://github.com/gemrest/windmark"
license = "GPL-3.0-only"
keywords = ["gemini"]
categories = ["web-programming"]

[features]
default = ["tokio"]
logger = ["pretty_env_logger"]
auto-deduce-mime = ["tree_magic"]
response-macros = []
tokio = ["dep:tokio", "tokio-openssl"]
async-std = ["dep:async-std", "async-std-openssl"]

[dependencies]
# SSL
openssl = "0.10.38"
tokio-openssl = { version = "0.6.3", optional = true }
async-std-openssl = { version = "0.6.3", optional = true }

# Non-blocking I/O
tokio = { version = "1.26.0", features = ["full"], optional = true }
async-trait = "0.1.68"
async-std = { version = "1.12.0", features = ["attributes"], optional = true }

# Logging
pretty_env_logger = { version = "0.4.0", optional = true }
log = "0.4.16"

# URL
url = "2.2.2"
regex = "1.5.5"
matchit = "0.6.0"

tree_magic = { version = "0.2.3", optional = true } # MIME

paste = "1.0.12" # Token Pasting

[dev-dependencies]
rossweisse = { version = "0.0.0", path = "./rossweisse" }