aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 4e7474e12487aad1716ae2074ed1a20aa6db80cd (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
46
47
48
49
[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", "lua"]
categories = ["command-line-utilities"]

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

[features]
default = ["lua"]
lua = ["rlua", "logos"]

[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" }

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"
rlua = { version = "0.19.4", optional = true }
logos = { version = "0.12.1", optional = true }

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

[dev-dependencies]
tempdir = "0.3.7"
serde_derive = "1.0"