-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
94 lines (68 loc) · 1.79 KB
/
Cargo.toml
File metadata and controls
94 lines (68 loc) · 1.79 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
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
[package]
name = "diskuto-api"
version = "1.0.0"
authors = ["Cody Casterline <cody.casterline@gmail.com>"]
edition = "2018"
description = "A distributed social network."
keywords = ["social", "network", "distributed"]
[[bin]]
name = "diskuto"
path = "src/main.rs"
[dependencies]
# Web:
actix-web = "4"
actix-web-codegen = "*"
# required for reading Actix Payloads:
futures = "*"
# Error handling:
anyhow = "*"
# CLI:
clap.version = "4"
clap.features = ["derive"]
webbrowser = "0.8.3"
multihash = "0.18"
rust-base58 = "*"
bs58 = { version = "*", features = ["check"] }
# crypto:
sodiumoxide = "*"
# Used when serving file attachments:
mime_guess = "2"
# Used to make Traits that have async functions which can be used as response
# objects with actix-web
async-trait = "*"
# Used by the code generated by protobuf-codegen
protobuf = "3"
time = "0.2.23"
# Used to deserialize strings in URL paths.
serde.version = "*"
serde.features = ["derive"]
# connection pooling for rusqlite:
r2d2 = "*"
r2d2_sqlite = "*"
log = "*"
env_logger = "*"
logging_timer = "*"
# To work around https://github.com/actix/actix-web/issues/1913
socket2 = "0.4"
# A nice library for getting blocking I/O out of the main thread(s)
blocking = "*"
tempfile = "*"
tablestream = "0.1.4"
[dependencies.identicon]
git = "https://github.com/NfNitLoop/identicon"
rev = "dcee725b1d72088128a396d9d84a684434b77012"
default-features = false
[dependencies.rusqlite]
# TODO: Switch to sqlx for async sql support?
version = "0.33"
features = [
# Use a bundled, statically-linked version of sqlite. (Simplifies building on Windows)
"bundled",
# Enable extra BLOB APIs for streaming large BLOBs:
"blob",
]
[dependencies.sizedisplay]
path = "crates/sizedisplay"
[build-dependencies]
# Generate rust from .proto files.
protobuf-codegen = "3"