aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 76cc2f2d306cfd0d43dd63348747f9743965d159 (plain)
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
[package]
name = "gitpad"
version = "0.1.1"
authors = ["Martin Fischer <martin@push-f.com>"]
edition = "2018"
license = "MIT"
description = "a git web interface with editing and Markdown support"
repository = "https://git.push-f.com/gitpad"
keywords = ["git", "wiki", "markdown"]
categories = ["command-line-utilities"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
md = ["dep:pulldown-cmark"]

[dependencies]
hyper = { version = "0.14.20",  features=["http1", "server", "runtime", "stream"]}
tokio = { version = "1", features=["rt-multi-thread", "macros"] }

serde = { version = "1.0", features = ["derive"] }
toml = "0.5"
percent-encoding = "2.1.0"

sputnik = { version = "0.4.2", features = ["hyper_body"] }

difference = { version = "2.0" }
pulldown-cmark = { version = "0.9", optional = true }

httpdate = "1"
git2 = { version = "0.14", default-features = false }

url = "2.2"

clap = { version = "3.2.15", features = ["derive"] }
chrono = { version = "0.4", features = ["alloc"], default-features = false }
multer = "2.0.3"
mime_guess = "2.0"
camino = "1"

[target.'cfg(unix)'.dependencies]
hyperlocal = { version = "0.8", features = ["server"] }

[dev-dependencies]
tempdir = "0.3.7"