Cargo Features
PDK has no features set by default.
[dependencies]
pdk = { version = "1.7.0", features = ["experimental", "ll", "script_stream", "experimental_metrics", "experimental_enable_stop_iteration"] }
- experimental = experimental_metrics
-
Enables experimental of pdk-classy, experimental and experimental_filter_name of pdk-core
- ll
-
Low Level Classy support.
This feature should not be used in production since it is defined for integration tests compatibilityAffects
pdk::policy_context… - script_stream
-
Enables stream_body of pdk-script
- experimental_metrics experimental? = metrics_lib
-
Affects
pdk::metrics… - experimental_enable_stop_iteration
-
Enables experimental_enable_stop_iteration of pdk-classy, pdk-flex-abi, and pdk-script
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.