Skip to content

Commit

Permalink
Really fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvc94ch committed Jul 19, 2021
1 parent b1294ae commit 825220a
Showing 1 changed file with 17 additions and 28 deletions.
45 changes: 17 additions & 28 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,23 @@ async-std = { version = "1.6.2", features = ["attributes"] }
env_logger = "0.8.1"
tokio = { version = "1.0.1", features = ["io-util", "io-std", "macros", "rt", "rt-multi-thread"] }

[dev-dependencies.libp2p]
path = "."
features = [
"dns-async-std",
"floodsub",
"gossipsub",
"kad",
"mdns",
"mplex",
"noise",
"ping",
"pnet",
"tcp-async-io",
"websocket",
"yamux",
]

[workspace]
resolver = "2"
members = [
Expand Down Expand Up @@ -106,34 +123,6 @@ members = [
"transports/wasm-ext"
]

[[example]]
name = "chat"
required-features = ["floodsub", "mdns"]

[[example]]
name = "chat-tokio"
required-features = ["tcp-tokio", "mdns"]

[[example]]
name = "distributed-key-value-store"
required-features = ["mdns", "websocket"]

[[example]]
name = "gossipsub-chat"
required-features = ["gossipsub"]

[[example]]
name = "ipfs-kad"
required-features = ["websocket"]

[[example]]
name = "ipfs-private"
required-features = ["gossipsub", "noise", "ping", "pnet", "tcp-async-io", "yamux"]

[[example]]
name = "mdns-passive-discovery"
required-features = ["mdns"]

[[example]]
name = "ping"
required-features = ["websocket"]

0 comments on commit 825220a

Please sign in to comment.