Skip to content

Commit db809bc

Browse files
committed
update rust edition to 2024
Signed-off-by: Eval EXEC <execvy@gmail.com>
1 parent ef03104 commit db809bc

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

bench/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "bench"
33
version = "0.1.0"
44
authors = ["piaoliu <441594700@qq.com>"]
5-
edition = "2021"
5+
edition = "2024"
66

77
[lib]
88
name = "bench"

fuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "tentacle-fuzz"
33
version = "0.0.1"
44
license = "MIT"
55
authors = ["Nervos Core Dev <dev@nervos.org>"]
6-
edition = "2021"
6+
edition = "2024"
77

88
[package.metadata]
99
cargo-fuzz = true

multiaddr/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
name = "tentacle-multiaddr"
33
version = "0.3.5"
44
authors = ["driftluo <driftluo@foxmail.com>"]
5-
edition = "2021"
6-
rust-version = "1.61.0"
5+
edition = "2024"
6+
rust-version = "1.85.0"
77
repository = "https://github.com/nervosnetwork/tentacle"
88
license = "MIT"
99
description = "Mini Implementation of multiaddr"

protocols/discovery/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description = "p2p discovery protocol main reference bitcoin"
77
keywords = ["network", "peer-to-peer", "p2p", "discovery"]
88
repository = "https://github.com/nervosnetwork/tentacle"
99
categories = ["network-programming", "asynchronous"]
10-
edition = "2018"
10+
edition = "2024"
1111

1212
[package.metadata.docs.rs]
1313
features = []

protocols/identify/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description = "p2p identify protocol"
77
keywords = ["network", "peer-to-peer", "p2p", "identify"]
88
repository = "https://github.com/nervosnetwork/tentacle"
99
categories = ["network-programming", "asynchronous"]
10-
edition = "2018"
10+
edition = "2024"
1111

1212
[package.metadata.docs.rs]
1313
features = []

protocols/ping/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords = ["network", "peer-to-peer", "p2p", "ping"]
77
categories = ["network-programming", "asynchronous"]
88
repository = "https://github.com/nervosnetwork/tentacle"
99
description = "ping protocol implementation for tentacle"
10-
edition = "2018"
10+
edition = "2024"
1111

1212
[package.metadata.docs.rs]
1313
features = []

secio/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ authors = ["piaoliu <driftluo@foxmail.com>", "Nervos Core Dev <dev@nervos.org>"]
77
repository = "https://github.com/nervosnetwork/tentacle"
88
keywords = ["network", "peer-to-peer"]
99
categories = ["network-programming", "asynchronous"]
10-
edition = "2021"
11-
rust-version = "1.70.0"
10+
edition = "2024"
11+
rust-version = "1.85.0"
1212
build = "build.rs"
1313

1414
[package.metadata.docs.rs]

simple_wasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "wasm-test"
33
version = "0.1.0"
44
authors = ["driftluo <driftluo@foxmail.com>"]
5-
edition = "2021"
5+
edition = "2024"
66

77
[lib]
88
crate-type = ["cdylib", "rlib"]

tentacle/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ repository = "https://github.com/nervosnetwork/tentacle"
88
readme = "README.md"
99
keywords = ["network", "peer-to-peer"]
1010
categories = ["network-programming", "asynchronous"]
11-
edition = "2021"
12-
rust-version = "1.80.1"
11+
edition = "2024"
12+
rust-version = "1.85.0"
1313

1414
[package.metadata.docs.rs]
1515
features = ["tokio-runtime", "tokio-timer", "upnp", "ws", "unstable", "tls"]

yamux/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ authors = [
88
"Linfeng Qian <thewawar@gmail.com>",
99
"Nervos Core Dev <dev@nervos.org>",
1010
]
11-
edition = "2021"
12-
rust-version = "1.70.0"
11+
edition = "2024"
12+
rust-version = "1.85.0"
1313

1414
[dependencies]
1515
bytes = "1.0.0"

0 commit comments

Comments
 (0)