-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
49 lines (39 loc) · 1018 Bytes
/
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
[package]
name = "next-rust"
version = "0.1.0"
edition = "2021"
[dependencies]
tokio = { version = "1", features = ["macros"] }
serde_json = { version = "1", features = ["raw_value"] }
# Documentation: https://docs.rs/vercel_runtime/latest/vercel_runtime
vercel_runtime = { version = "1.1.0" }
url = "2.4.1"
reqwest = { version = "0.11.23", features = ["blocking", "json"] }
dotenv = "0.15.0"
serde = { version = "1.0", features = ["derive"] }
# libs
[lib]
path = "src/rs/utils.rs"
# Each handler has to be specified as [[bin]]
# Note that you need to provide unique names for each binary
[[bin]]
name = "crab"
path = "api/crab.rs"
[[bin]]
name = "examples-cache"
path = "api/examples/cache.rs"
[[bin]]
name = "examples-params"
path = "api/examples/params.rs"
[[bin]]
name = "examples-env"
path = "api/examples/env.rs"
[[bin]]
name = "examples-error"
path = "api/examples/error.rs"
[[bin]]
name = "examples-create"
path = "api/examples/create.rs"
[[bin]]
name = "examples-beer"
path = "api/examples/beer.rs"