-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
57 lines (46 loc) · 1.57 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
[package]
name = "tencent_scf"
version = "0.3.0"
authors = ["Youmu <johnmave126@gmail.com>"]
license = "MIT OR Apache-2.0"
description = "Custom runtime for Tencent cloud serverless compute function"
repository = "https://github.com/johnmave126/tencent_scf"
documentation = "https://docs.rs/tencent_scf"
categories = ["api-bindings"]
keywords = ["runtime", "lambda", "tencent", "scf"]
readme = "README.md"
include = [
"/Cargo.toml",
"/LICENSE-APACHE",
"/LICENSE-MIT",
"/README.md",
"/src/**",
]
edition = "2018"
[dependencies]
base64 = { version = "0.13.0", optional = true }
tencent_scf_derive = { version = "0.1.0", optional = true, path = "derive" }
http = { version = "0.2.4", optional = true }
itertools = { version = "0.10.0", optional = true }
serde = { version = "1.0.125", optional = true }
serde_json = { version = "1.0.64", optional = true }
thiserror = { version = "1.0.24", optional = true }
ureq = "2.1.0"
[dev-dependencies]
serde = { version = "1.0.125", features = ["derive"] }
serde_json = "1.0.64"
serial_test = "0.5.1"
[features]
default = ["json"]
# enable built-in api gateway trigger support
builtin-api-gateway = ["builtin-common", "base64", "http", "itertools", "thiserror"]
# enable common built-in trigger support dependencies
builtin-common = ["json", "serde/derive"]
# enables auto serialize/deserialize of events and response
json = ["serde", "serde_json", "tencent_scf_derive"]
[workspace]
members = ["examples/*", "derive"]
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-musl"]
rustdoc-args = ["--cfg", "docsrs"]