-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
53 lines (43 loc) · 1.08 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
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "api-worker"
version = "0.2.3"
authors = ["Fuwn <contact@fuwn.me>"]
edition = "2021"
description = "API (as a Cloudflare Worker!)"
readme = "README.rst"
homepage = "https://github.com/senpy-club/api-worker"
repository = "https://github.com/senpy-club/api-worker"
license = "GPL-3.0-only"
keywords = ["rust", "anime", "senpy"]
categories = ["web-programming", "web-programming::http-server"]
publish = false
[lib]
crate-type = ["cdylib", "rlib"]
# Slower builds, faster executables
[profile.release]
lto = "fat"
codegen-units = 1
# Optimize for size
opt-level = "s"
[dependencies]
# Serialization
serde = "1.0.136"
serde_derive = "1.0.136"
serde_json = "1.0.79"
# Utility
getrandom = { version = "0.2.6", features = ["js"] }
rand = "0.8.5"
dotenv = "0.15.0"
urlparse = "0.7.3"
# Worker
worker = "0.0.9"
# Web
reqwest = { version = "0.11.10", features = ["json"] }
# Allocator
wee_alloc = "0.4.5"
[build-dependencies]
# Build variables
vergen = "7.0.0"
# `Result`
anyhow = "1.0.56"