Skip to content

Commit 9e0e0ec

Browse files
committed
chore(examples): declare examples in Cargo.toml and tells cargo what features to enable
1 parent 9723d1f commit 9e0e0ec

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

ferogram/Cargo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,16 @@ async-recursion.workspace = true
4343

4444
[dev-dependencies]
4545
tokio = { workspace = true, features = ["macros"] }
46+
47+
[[example]]
48+
name = "from-env"
49+
path = "examples/from-env.rs"
50+
51+
[[example]]
52+
name = "dispatcher"
53+
path = "examples/dispatcher.rs"
54+
55+
[[example]]
56+
name = "dispatcher-with-macros"
57+
path = "examples/dispatcher-with-macros.rs"
58+
required-features = ["macros"]

0 commit comments

Comments
 (0)