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

[package]
name = "germ"
version = "0.4.6"
authors = ["Fuwn <[email protected]>"]
edition = "2021"
description = "The Ultimate Gemini Toolkit."
documentation = "https://docs.rs/germ"
readme = "README.md"
homepage = "https://github.com/gemrest/germ"
repository = "https://github.com/gemrest/germ"
license = "GPL-3.0-only"
keywords = ["gemini", "parser", "lexer", "markdown", "converter"]
categories = ["encoding"]

[features]
ast = []
blocking = ["rustls", "url", "anyhow"]
convert = ["ast"]
default = ["ast", "convert", "meta", "request"]
macros = ["ast", "convert"]
meta = []
request = ["rustls", "url", "anyhow", "tokio", "tokio-rustls"]
quick = []
example-gemtext = []

[dependencies]
anyhow = { version = "1.0.98", optional = true } # `Result`
rustls = { version = "0.21.12", features = [
  "dangerous_configuration",
], optional = true } # TLS
tokio-rustls = { version = "0.24.1", optional = true } # Non-blocking TLS
tokio = { version = "1.45.1", optional = true, default-features = false, features = [
  "net",
  "io-util",
  "rt-multi-thread",
  "macros",
] } # Non-blocking I/O
url = { version = "2.5.4", optional = true } # URL Validation