about summary refs log tree commit diff
path: root/Cargo.toml
blob: f8dbd6a320c68f2a384328e0aacfa529ea555472 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[package]
name = "kittybox"
version = "0.1.0"
authors = ["Vika <vika@fireburn.ru>"]
edition = "2021"
default-run = "kittybox"

[features]
default = []
util = ["anyhow"]

[[bin]]
name = "kittybox-bulk-import"
path = "src/bin/kittybox_bulk_import.rs"
required-features = ["util"]

[[bin]]
name = "pyindieblog-export"
path = "src/bin/pyindieblog_to_kittybox.rs"
required-features = ["util", "redis"]

[[bin]]
name = "kittybox-database-converter"
path = "src/bin/kittybox_database_converter.rs"
required-features = ["util", "redis"]

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

[dev-dependencies]
mockito = "^0.30.0"          # HTTP mocking for Rust.
tempdir = "^0.3.7"           # A library for managing a temporary directory and deleting all contents when it's dropped
paste = "^1.0.5"             # Macros for all your token pasting needs
test-logger = "^0.1.0"       # Simple helper to initialize env_logger before unit and integration tests
httpmock = "^0.6"            # HTTP mocking library that allows you to simulate responses from HTTP based services

[dependencies]
async-trait = "^0.1.50"      # Type erasure for async trait methods
bytes = "^1.1.0"
data-encoding = "^2.3.2"     # Efficient and customizable data-encoding functions like base64, base32, and hex
easy-scraper = "^0.2.0"      # HTML scraping library focused on ease of use
either = "^1.6.1"            # A general purpose sum type with two cases
ellipse = "^0.2.0"           # Truncate and ellipsize strings in a human-friendly way
env_logger = "^0.8.3"        # A logging implementation for `log` which is configured via an environment variable
futures = "^0.3.14"          # An implementation of futures and streams
futures-util = "^0.3.14"     # Common utilities and extension traits for the futures-rs library
lazy_static = "^1.4.0"       # A macro for declaring lazily evaluated statics in Rust
listenfd = "^0.5.0"          # A simple library to work with listenfds passed from the outside (systemd/catflap socket activation)
log = "^0.4.14"              # A lightweight logging facade for Rust
markdown = "^0.3.0"          # Native Rust library for parsing Markdown and (outputting HTML)
markup = "^0.12.0"           # HTML templating engine... ok also very funny about markdown and markup... i just realized the pun...
mediatype = "^0.19.1"        # MIME Media-type parsing
newbase60 = "^0.1.3"         # A library that implements Tantek Çelik's New Base 60
rand = "^0.8.4"              # Random number generators.
retainer = "^0.2.2"          # Minimal async cache in Rust with support for key expirations
serde_json = "^1.0.64"       # A JSON serialization file format
serde_urlencoded = "^0.7.0"  # `x-www-form-urlencoded` meets Serde
serde_variant = "^0.1.1"     # Retrieve serde provided variant names for enum objects
relative-path = "^1.5.0"     # Portable relative paths for Rust
sha2 = "^0.9.8"              # SHA-2 series of algorithms for Rust
warp-prometheus = "^0.5.0"   # An afterthought of prometheus metrics for Warp
[dependencies.tokio]
version = "^1.16.1"
features = ["full", "tracing"] # TODO determine if my app doesn't need some features
[dependencies.console-subscriber]
version = "0.1.3"
[dependencies.tokio-stream]
version = "^0.1.8"
features = ["time", "net"]
[dependencies.anyhow]
version = "^1.0.42"
optional = true
[dependencies.chrono]        # Date and time library for Rust
version = "^0.4.19"
features = ["serde"]
[dependencies.redis]
version = "^0.21.3"
optional = true
features = ["aio", "tokio-comp"]
[dependencies.prometheus]    # Prometheus instrumentation library for Rust applications
version = "^0.13.0"
features = ["process"]
[dependencies.serde]         # A generic serialization/deserialization framework
version = "^1.0.125"
features = ["derive"]
[dependencies.url]           # URL library for Rust, based on the WHATWG URL Standard
version = "^2.2.1"
features = ["serde"]
[dependencies.warp]
version = "^0.3.2"
default-features = false
features = ["multipart", "compression"]
[dependencies.http-types]    # Common types for HTTP operations
version = "^2.11.0"
features = ["http"]
[dependencies.hyper]
version = "^0.14.17"
features = ["client", "stream", "runtime"]
[dependencies.hyper-rustls]
version = "^0.23.0"
default-features = false
features = ["webpki-tokio", "http1", "http2", "tls12", "logging"]
[dependencies.reqwest]
version = "^0.11.10"
default-features = false
features = ["rustls-tls-webpki-roots", "gzip", "brotli", "json", "stream"]