Skip to content

Commit 2e15a8b

Browse files
committed
Remove examples features flag and remove empty request example.
I think it is nice if you can use the examples without the --features examples feature flag.
1 parent d38e92b commit 2e15a8b

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

Cargo.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,12 @@ testresult = "0.4.1"
5858
tracing-subscriber = { version = "0.3.19", features = ["fmt"] }
5959
tracing-test = "0.2.5"
6060
walkdir = "2.5.0"
61+
iroh = { version = "0.90", features = ["discovery-local-network"]}
6162

6263
[features]
6364
hide-proto-docs = []
6465
metrics = []
65-
default = ["hide-proto-docs", "examples"]
66-
examples = ["iroh/discovery-local-network"]
67-
68-
[[example]]
69-
name = "mdns-discovery"
70-
required-features = ["examples"]
66+
default = ["hide-proto-docs"]
7167

7268
[patch.crates-io]
7369
iroh = { git = "https://github.com/n0-computer/iroh.git", branch = "main" }

examples/request.rs

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)