blob: 4c716251ed2ad57d181f3e6a891fbcfac4cd5daa (
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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "api-worker"
version = "0.1.0"
authors = ["Fuwn <[email protected]>"]
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.5", features = ["js"] }
rand = "0.8.5"
dotenv = "0.15.0"
# Worker
worker = "0.0.9"
# Utility
cfg-if = "1.0.0"
const_format = "0.2.22"
lazy_static = "1.4.0"
# 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"
|