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 whenevertencent_scf
is added without
somewhere in the dependency tree.default-features = false - 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
- 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.