Skip to content

Commit 2848039

Browse files
authored
chore: Add edition to workspace Cargo.toml and inherit workspace edition
Add edition to workspace Cargo.toml and Inherits workspace edition. Additionally, inherits rust-version in `libp2p-upnp` and `libp2p-websocket-websys`. Pull-Request: #5896.
1 parent 9caa7f5 commit 2848039

File tree

67 files changed

+69
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+69
-68
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ resolver = "2"
7171

7272
[workspace.package]
7373
rust-version = "1.83.0"
74+
edition = "2021"
7475

7576
[workspace.dependencies]
7677
libp2p = { version = "0.55.1", path = "libp2p" }

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libp2p-core"
3-
edition = "2021"
3+
edition.workspace = true
44
rust-version = { workspace = true }
55
description = "Core traits and structs of libp2p"
66
version = "0.43.0"

examples/autonat/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "autonat-example"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition.workspace = true
55
publish = false
66
license = "MIT or Apache-2.0"
77

examples/autonatv2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "autonatv2"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition.workspace = true
55
publish = false
66
license = "MIT or Apache-2.0"
77

examples/browser-webrtc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
authors = ["Doug Anderson <[email protected]>"]
33
description = "Example use of the WebRTC transport in a browser wasm environment"
4-
edition = "2021"
4+
edition.workspace = true
55
license = "MIT"
66
name = "browser-webrtc-example"
77
publish = false

examples/chat/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "chat-example"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition.workspace = true
55
publish = false
66
license = "MIT"
77

examples/dcutr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dcutr-example"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition.workspace = true
55
publish = false
66
license = "MIT"
77

examples/distributed-key-value-store/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "distributed-key-value-store-example"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition.workspace = true
55
publish = false
66
license = "MIT"
77

examples/file-sharing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "file-sharing-example"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition.workspace = true
55
publish = false
66
license = "MIT"
77

examples/identify/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "identify-example"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition.workspace = true
55
publish = false
66
license = "MIT"
77

0 commit comments

Comments
 (0)