-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
116 lines (93 loc) · 2.77 KB
/
Cargo.toml
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
106
107
108
109
110
111
112
113
114
115
116
[package]
name = "telescope"
version = "0.9.1-dev"
authors = ["Antonia \"Nia\" Calia-Bogan <acaliabogan@acaliabogan.dev>"]
description = "The RCOS webapp"
edition = "2021"
rust-version = "1.58.1"
[dependencies]
# command line argument parser
structopt = "~0.3"
# environment variable reading through dotenv (.env files)
dotenv = "~0.15"
# config file reading
toml = "~0.5"
# actix actor framework -- system for running server and other tasks.
actix = "0.10.0"
# actix web server
actix-web = {version = "3.3.3", features = ["rustls"]}
# static file serving
actix-files = "~0.5"
# identity service -- cookie authentication
actix-identity = "~0.3"
# Handlebars for HTML rendering and templating.
handlebars = {version = "~4.2", features = ["dir_source"]}
# HTML Escaping with help from SIMD.
v_htmlescape = "0.14.1"
# Logging utilities
log = "~0.4"
env_logger = "~0.9"
# (de)serialization
serde = {version = "1.0.136", features = ["derive"]}
serde_json = "1.0.79"
serde_urlencoded = "~0.7"
# export data to csv
csv = "1.1"
# Regular expressions
regex = "1"
# cryptographically sound random number generation
rand = "~0.8"
# lazily evaluated statics.
lazy_static = "~1.4"
# utilities for dealing with async futures
futures = "0.3.21"
# async traits
async-trait = "0.1.52"
# Date and time utilities and formats
chrono = {version = "~0.4", features = ["serde", "std", "clock"]}
chrono-tz = {version = "~0.6", features = ["serde"]}
time = "0.2.27" # Latest version of time crate compatible with actix-identity 0.3.1
# URL formatting
url = {version = "2", features = ["serde"]}
# Derive traits like Error and Display
derive_more = "~0.99"
# JSON web tokens
jsonwebtoken = "~8.0"
# OAuth2 models and flows
oauth2 = "4.1.0"
# HTTP client alternative to the one that ships with actix-web
reqwest = {version = "0.10", features = ["json", "rustls"], default-features = false}
# Fast Concurrent HashMap. (this is used for CSRF tokens)
dashmap = "~5.2"
# CommonMark markdown rendering.
pulldown-cmark = "0.9.1"
# UUID used in user IDs.
uuid = {version = "0.8.2", features = ["serde", "v4"]}
# API stuff
# GraphQL client and queries
graphql_client = "0.10.0"
# Discord API and integration
# Serenity for sharding and models
[dependencies.serenity]
version = "0.10.10"
features = [
# Builder stype methods on Discord's API objects
"builder",
# Response caching -- disable this if RAM is an issue.
"cache",
# Discord API HTTP Client
"client",
# Discord WebSocket geteway events and interactions.
"gateway",
# HTTP client
"http",
# Discord API Models
"model",
# Interactions and Commands API
"unstable_discord_api",
# Utility functionality
"utils",
# Rustls with tokio 0.2 for compatibility with actix.
"rustls_tokio_0_2_backend"
]
default-features = false