From 0093e4a78bdd18c77e9e6a52681c7ef825f0f331 Mon Sep 17 00:00:00 2001 From: ZihanType Date: Mon, 4 Sep 2023 14:11:53 +0800 Subject: [PATCH] fix: add the missing `rudi-macro` feature for examples --- examples/axum-example/Cargo.toml | 2 +- examples/condition/Cargo.toml | 2 +- examples/fake-real-world/Cargo.toml | 2 +- examples/hello-world-with-generic/Cargo.toml | 2 +- examples/hello-world-without-auto-register/Cargo.toml | 2 +- examples/hello-world/Cargo.toml | 2 +- examples/leptos-example/Cargo.toml | 2 +- examples/poem-openapi-example/Cargo.toml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/axum-example/Cargo.toml b/examples/axum-example/Cargo.toml index 286a8b4..28d39cf 100644 --- a/examples/axum-example/Cargo.toml +++ b/examples/axum-example/Cargo.toml @@ -11,7 +11,7 @@ include.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rudi = { workspace = true, features = ["auto-register"] } +rudi = { workspace = true, features = ["rudi-macro", "auto-register"] } axum = { workspace = true, features = ["http1", "tokio"] } tokio = { workspace = true } tracing-subscriber = { workspace = true } diff --git a/examples/condition/Cargo.toml b/examples/condition/Cargo.toml index 151c1c4..830f0bb 100644 --- a/examples/condition/Cargo.toml +++ b/examples/condition/Cargo.toml @@ -11,4 +11,4 @@ include.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rudi = { workspace = true, features = ["auto-register"] } +rudi = { workspace = true, features = ["rudi-macro", "auto-register"] } diff --git a/examples/fake-real-world/Cargo.toml b/examples/fake-real-world/Cargo.toml index cef5f12..a61e4b8 100644 --- a/examples/fake-real-world/Cargo.toml +++ b/examples/fake-real-world/Cargo.toml @@ -11,5 +11,5 @@ include.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rudi = { workspace = true, features = ["auto-register"] } +rudi = { workspace = true, features = ["rudi-macro", "auto-register"] } tokio = { workspace = true } diff --git a/examples/hello-world-with-generic/Cargo.toml b/examples/hello-world-with-generic/Cargo.toml index ec4e9f8..c319f22 100644 --- a/examples/hello-world-with-generic/Cargo.toml +++ b/examples/hello-world-with-generic/Cargo.toml @@ -11,4 +11,4 @@ include.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rudi = { workspace = true } +rudi = { workspace = true, features = ["rudi-macro"] } diff --git a/examples/hello-world-without-auto-register/Cargo.toml b/examples/hello-world-without-auto-register/Cargo.toml index 2f1fe68..19767c3 100644 --- a/examples/hello-world-without-auto-register/Cargo.toml +++ b/examples/hello-world-without-auto-register/Cargo.toml @@ -11,4 +11,4 @@ include.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rudi = { workspace = true } +rudi = { workspace = true, features = ["rudi-macro"] } diff --git a/examples/hello-world/Cargo.toml b/examples/hello-world/Cargo.toml index 0946732..f47644e 100644 --- a/examples/hello-world/Cargo.toml +++ b/examples/hello-world/Cargo.toml @@ -11,4 +11,4 @@ include.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rudi = { workspace = true, features = ["auto-register"] } +rudi = { workspace = true, features = ["rudi-macro", "auto-register"] } diff --git a/examples/leptos-example/Cargo.toml b/examples/leptos-example/Cargo.toml index e78a03e..e55ec61 100644 --- a/examples/leptos-example/Cargo.toml +++ b/examples/leptos-example/Cargo.toml @@ -11,5 +11,5 @@ include.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rudi = { workspace = true } +rudi = { workspace = true, features = ["rudi-macro"] } leptos = { workspace = true, features = ["serde", "csr"] } diff --git a/examples/poem-openapi-example/Cargo.toml b/examples/poem-openapi-example/Cargo.toml index 4b2ab59..81542ec 100644 --- a/examples/poem-openapi-example/Cargo.toml +++ b/examples/poem-openapi-example/Cargo.toml @@ -11,7 +11,7 @@ include.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rudi = { workspace = true, features = ["auto-register"] } +rudi = { workspace = true, features = ["rudi-macro", "auto-register"] } poem = { workspace = true } poem-openapi = { workspace = true, features = ["swagger-ui"] } tokio = { workspace = true }