aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 48532d5602931c06615aebf66e48529fdba4aecd (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
# 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 = "2024"
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"]

[workspace]
members = ["amenadiel"]

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

[dependencies]
tokio = { version = "1.38.0", features = ["full"] } # Asynchronous Runtime
chrono = "0.4.38" # Date and Time
pickledb = "0.5.1" # Database
tantivy = "0.19.2" # Full-text Search Engine
windmark = { version = "0.4.2", features = [
  "logger",
  "auto-deduce-mime",
  "response-macros",
] } # Gemini Server Framework
reqwest = { version = "0.12.4", default-features = false, features = ["blocking", "json", "rustls-tls"] } # HTTP Client
serde_json = "1.0.117" # JSON Serialization
log = "0.4.21" # Logging Macros
pretty_env_logger = "0.5.0" # Pretty Log Printing
rand = "0.8.5" # Random Number Generation
serde = "1.0.203" # Serialization
yarte = "0.15.6" # Templating Engine
tempfile = "3.10.1" # Temporary File Creation and Access
dotenv = "0.15.0" # .env File Support
germ = { version = "0.4.0", default-features = false, features = [
  "ast",
] } # Gemini Tool-kit
chardetng = "0.1.17" # Character Encoding Detection
amenadiel = { version = "*", path = "./amenadiel" } # Procedural Macros
tl = "0.7.8" # HTMl Parser
url = "2.3.1" # WHATWG URL Parser
time = "0.3.36" # Pin time to ignore nightly warnings

[build-dependencies]
vergen = { version = "8.3.1", features = [
  "git",
  "gitoxide",
] } # Compile-time Environment Variables
yarte = "0.15.6" # Templating Engine