forked from yara-blue/microbin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
67 lines (60 loc) · 2.32 KB
/
Cargo.toml
File metadata and controls
67 lines (60 loc) · 2.32 KB
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
[package]
name = "microbin"
version = "2.1.0"
edition = "2025"
rust-version = "1.88.0"
authors = ["Daniel Szabo <daniel@microbin.eu>", "David Kleingeld", "SamTV1998"]
license = "BSD-3-Clause"
description = "Simple, performant, configurable, entirely self-contained Pastebin and URL shortener."
readme = "README.md"
homepage = "https://microbin.eu"
repository = "https://github.com/dvdsk/microbin"
keywords = ["pastebin", "filesharing", "microbin", "axum", "selfhosted"]
categories = ["multimedia"]
[dependencies]
axum = { version = "0.8.4", features = ["multipart", "macros"] }
tokio-util={version = "0.7.15"}
axum-extra = {version = "0.10.1"}
tower-http = { version = "0.6.6", features = ["fs", "normalize-path"] }
tokio = {version = "1.46.1", features = ["full"]}
askama = "0.14.0"
askama-filters = { version = "0.1.3", features = ["chrono"] }
bytesize = { version = "2.0.1", features = ["serde"] }
chrono = "0.4.19"
clap = { version = "4.5.41", features = ["derive", "env"] }
env_logger = "0.11.8"
futures = "0.3"
harsh = "0.2"
html-escape = "0.2.13"
linkify = "0.10.0"
log = "0.4.21"
magic-crypt = "4.0.1"
mime_guess = "2.0.4"
qrcode-generator = "5.0.0"
rand = "0.9.1"
reqwest = { version = "0.12", default-features = false, features = ["charset",
"http2", "macos-system-configuration", "json", "blocking"] }
rusqlite = { version = "0.37.0", features = ["bundled"], optional = true }
rust-embed = "8.7.2"
# The rustls-rustcrypto version must support the rustls version, and the
# rustls version must match the one expected by reqwest;
rustls = { version = "0.23", default-features = false, features = ["custom-provider"], optional = true }
rustls-rustcrypto = { version = "0.0.2-alpha", optional = true }
serde_json = "1.0.114"
serde = { version = "1.0.197", features = ["derive"] }
syntect = { version = "5.2.0", default-features = false }
webpki-roots = { version = "1.0.2", optional = true }
tower = "0.5.2"
bytes = "1.8.0"
base64 = "0.22.1"
[features]
default = ["__rustcrypto-tls", "__syntect-fast", "dep:rusqlite"]
no-c-deps = ["__rustcrypto-tls", "__syntect-rust"]
__rustcrypto-tls = ["reqwest/rustls-tls-manual-roots-no-provider", "dep:rustls", "dep:rustls-rustcrypto", "webpki-roots"]
__syntect-fast = ["syntect/default-onig"]
__syntect-rust = ["syntect/default-fancy"]
[profile.release]
lto = true
strip = true
[dev-dependencies]
tempfile = "3.13.0"