Cargo Features

opp has no features set by default.

[dependencies]
opp = { version = "0.0.7", features = ["tracing", "kernel", "bin", "opk"] }
tracing bin?

Enables tracing

Universal optional dependencies
通用可选依赖

kernel opk?

Enables http-body-util, hyper, and hyper-util

http-body-util:

Kernel dependencies
内核依赖

and net of tokio

Universal dependencies
通用依赖

Affects opp::kernel

bin opk? = tracing

The feature set required for all binaries
所有二进制都需要的特性集合

Enables tracing-subscriber, macros and rt-multi-thread of tokio and nu-ansi-term

Gadget dependencies
Gadget依赖

All dependencies required for each demo Gadgets and Kernel binary 各演示Gadget及Kernel二进制需要的所有依赖项

opk = bin, kernel

Feature that needs to be enabled for binary opk (OpenPlugin Kernel) 二进制opk(OpenPlugin Kernel)需要启用的特性

Required by the opk binary