# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80.0" name = "opp" version = "0.0.7" authors = ["29 <791603901@qq.com>"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = """ 🚧 OpenPlugin Protocol (WIP, nothing usable for now). """ homepage = "https://github.com/opensound-org/opp" documentation = "https://docs.rs/opp" readme = "README.md" keywords = [ "http", "ipc", "gateway", "tokio", "plug-in", ] categories = [ "asynchronous", "authentication", "network-programming", "web-programming", "web-programming::websocket", ] license = "MIT/Apache-2.0" repository = "https://github.com/opensound-org/opp" [package.metadata.docs.rs] all-features = true [lib] name = "opp" path = "src/lib.rs" [[bin]] name = "opk" path = "src/main.rs" required-features = ["opk"] [dependencies.anyhow] version = "1.0.89" [dependencies.http-body-util] version = "0.1.2" optional = true [dependencies.hyper] version = "1.4.1" optional = true [dependencies.hyper-util] version = "0.1.9" features = [ "tokio", "server-auto", "server-graceful", ] optional = true [dependencies.nu-ansi-term] version = "0.50.1" optional = true [dependencies.tokio] version = "1.40.0" features = [] [dependencies.tracing] version = "0.1.40" optional = true [dependencies.tracing-subscriber] version = "0.3.18" features = ["chrono"] optional = true [build-dependencies.version_check] version = "0.9.5" [features] bin = [ "tracing", "tokio/rt-multi-thread", "tokio/macros", "dep:nu-ansi-term", "dep:tracing-subscriber", ] kernel = [ "tokio/net", "dep:http-body-util", "dep:hyper", "dep:hyper-util", ] opk = [ "kernel", "bin", ] tracing = ["dep:tracing"]