Skip to content

Commit

Permalink
fix: add the missing rudi-macro feature for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihanType committed Sep 4, 2023
1 parent f87e4cc commit 0093e4a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/axum-example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
2 changes: 1 addition & 1 deletion examples/condition/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion examples/fake-real-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
2 changes: 1 addition & 1 deletion examples/hello-world-with-generic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion examples/hello-world-without-auto-register/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion examples/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion examples/leptos-example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion examples/poem-openapi-example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 0093e4a

Please sign in to comment.