Skip to content

Commit

Permalink
Upgrade for Rust 2021
Browse files Browse the repository at this point in the history
We should use the Rust 2021 edition
  • Loading branch information
jkilpatr committed Feb 2, 2024
1 parent 8827d25 commit e302306
Show file tree
Hide file tree
Showing 14 changed files with 103 additions and 20 deletions.
93 changes: 88 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion althea_kernel_interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "Gets information from and changes settings of kernel network stac
license = "Apache-2.0"
name = "althea_kernel_interface"
version = "0.1.0"
edition = "2018"
edition = "2021"

[dependencies]
oping = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion althea_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Jehan <[email protected]>"]
name = "althea_types"
version = "0.1.0"
edition = "2018"
edition = "2021"
license = "Apache-2.0"


Expand Down
4 changes: 2 additions & 2 deletions antenna_forwarding_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "antenna_forwarding_client"
version = "0.1.0"
authors = ["Justin Kilpatrick <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
env_logger = "0.10"
Expand All @@ -16,4 +16,4 @@ serde_json = "1.0"
serde = "1.0"
get_if_addrs = "0.5"
lazy_static = "1.4"
rand = "0.8"
rand = "0.8"
2 changes: 1 addition & 1 deletion antenna_forwarding_protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "antenna_forwarding_protocol"
version = "0.1.0"
authors = ["Justin Kilpatrick <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
althea_types = { path = "../althea_types" }
Expand Down
2 changes: 1 addition & 1 deletion auto_bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "auto-bridge"
version = "0.1.5"
authors = ["Jehan <[email protected]>, Justin <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
web30 = {workspace = true}
Expand Down
2 changes: 1 addition & 1 deletion babel_monitor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["jkilpatr <[email protected]>"]
name = "babel_monitor"
version = "0.1.0"
edition = "2018"
edition = "2021"

[dependencies]
ipnetwork = "0.20"
Expand Down
2 changes: 1 addition & 1 deletion clu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Justin <[email protected]>"]
name = "clu"
version = "0.0.1"
edition = "2018"
edition = "2021"

[dependencies]
settings = { path = "../settings" }
Expand Down
2 changes: 1 addition & 1 deletion rita_bin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rita_bin"
version = "0.21.5"
edition = "2018"
edition = "2021"
license = "Apache-2.0"
build = "build.rs"

Expand Down
2 changes: 1 addition & 1 deletion rita_client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rita_client"
version = "0.21.5"
edition = "2018"
edition = "2021"
license = "Apache-2.0"


Expand Down
4 changes: 2 additions & 2 deletions rita_common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rita_common"
version = "0.21.5"
edition = "2018"
edition = "2021"
license = "Apache-2.0"

[dependencies]
Expand Down Expand Up @@ -46,7 +46,7 @@ default-features = false
features = ["std"]

[dev-dependencies]
env_logger = "0.10"
env_logger = "0.11"

[features]
# disables cors for dash debugging
Expand Down
2 changes: 1 addition & 1 deletion rita_exit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rita_exit"
version = "0.21.5"
edition = "2018"
edition = "2021"
license = "Apache-2.0"


Expand Down
2 changes: 1 addition & 1 deletion rita_extender/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rita_extender"
version = "0.21.5"
edition = "2018"
edition = "2021"
license = "Apache-2.0"


Expand Down
2 changes: 1 addition & 1 deletion settings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "settings"
version = "0.1.0"
authors = ["Ben <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
althea_types = { path = "../althea_types"}
Expand Down

0 comments on commit e302306

Please sign in to comment.