aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 1073049833c2607396c20346469eaaa9a8a8131d (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
54
55
56
57
58
59
60
61
62
63
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[package]
name = "locus"
version = "0.0.0"
authors = ["Fuwn <[email protected]>"]
edition = "2021"
description = "Fuwn's Gemini Capsule"
readme = "README.txt"
homepage = "https://github.com/gemrest/locus"
repository = "https://github.com/gemrest/locus"
license = "GPL-3.0-only"
keywords = ["gemini"]
categories = ["web-programming"]

# Slower builds, faster executables
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1

[dependencies]
# Gemini
windmark = { version = "0.1.15", features = ["logger", "auto-deduce-mime"] }

# Loggging
log = "0.4.16"
pretty_env_logger = "0.4.0"

# Tokio
tokio = { version = "0.2.4", features = ["full"] }

# Database
pickledb = "0.4.1"

# Templates
yarte = "0.15.6"

# RNG
rand = "0.8.5"

# JSON
serde = "1.0.136"
serde_json = "1.0.79"

# Search
tantivy = "0.17.0"

# Temporary Files
tempfile = "3.3.0"

# HTTP
reqwest = { version = "0.11.10", features = ["blocking"] }

[build-dependencies]
# Templates
yarte = "0.15.6"

# Environment Variables
vergen = "7.0.0"

# `Result`
anyhow = "1.0.56"