Cargo Features

[dependencies]
tencent_scf = { version = "0.1.3", default-features = false, features = ["builtin-api-gateway", "builtin-common", "json"] }
default = json

The json feature is set by default whenever tencent_scf is added without default-features = false somewhere in the dependency tree.

builtin-api-gateway = base64, builtin-common, http, itertools, thiserror

enable built-in api gateway trigger support

Affects builtin::api

builtin-common builtin-api-gateway? = json

enable common built-in trigger support dependencies

Enables derive of serde

json default builtin-common? = serde, serde_json, tencent_scf_derive

enables auto serialize/deserialize of events and response

Affects convert::AsJson

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

base64 builtin-api-gateway?

Enables base64 ^0.13.0

tencent_scf_derive json
http builtin-api-gateway?

Enables http ^0.2.3

itertools builtin-api-gateway?

Enables itertools ^0.10.0

serde builtin-common? json
serde_json json
thiserror builtin-api-gateway?

Enables thiserror ^1.0.23