Skip to content

Commit

Permalink
switch to 2021 edition
Browse files Browse the repository at this point in the history
resolver=2 line added as prompted by the compiler.
rustfmt.toml added for editors to be able to handle the syntax.
  • Loading branch information
benma committed Jun 29, 2024
1 parent ed3b8eb commit 86f990d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ members = [
"hidapi-async",
]

resolver = "2"

[workspace.dependencies]
futures = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion bitbox-bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "bitbox-bridge"
# If you bump this, also change the ProductCode in bitbox-bridge/release/windows/wix/Product.wxs.
version = "1.5.1"
authors = ["Niklas Claesson <nicke.claesson@gmail.com>"]
edition = "2018"
edition = "2021"
license = "Apache-2.0"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion hidapi-async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "hidapi-async"
version = "0.1.1"
authors = ["Niklas Claesson <nicke.claesson@gmail.com>"]
edition = "2018"
edition = "2021"
license = "Apache-2.0"
description = "Asynchronous bindings to hidapi"
repository = "https://github.com/digitalbitbox/bitbox-bridge"
Expand Down
1 change: 1 addition & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
edition = "2021"
2 changes: 1 addition & 1 deletion u2fframing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "u2fframing"
version = "0.1.0"
authors = ["Niklas Claesson <nicke.claesson@gmail.com>"]
edition = "2018"
edition = "2021"
license = "Apache-2.0"
description = "This package contains codecs for u2fhid standard."
repository = "https://github.com/digitalbitbox/bitbox-bridge"
Expand Down

0 comments on commit 86f990d

Please sign in to comment.