Skip to content

Commit e249fd2

Browse files
committed
specify edition and resolver for workspace and use in members
1 parent 153c014 commit e249fd2

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ members = [
33
"approx",
44
"approx-derive",
55
]
6+
resolver = "2"
67

78
[workspace.package]
89
version = "0.6.0-rc1"
10+
edition = "2021"

approx-derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "approx-derive"
33
version.workspace = true
4-
edition = "2021"
4+
edition.workspace = true
55
description = "Extends the approx crate by derive macros."
66
license = "Apache-2.0"
77

approx/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version.workspace = true
44
authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>"]
55
license = "Apache-2.0"
66
description = "Approximate floating point equality comparisons and assertions."
7-
edition = "2021"
7+
edition.workspace = true
88

99
documentation = "https://docs.rs/approx"
1010
homepage = "https://github.com/brendanzab/approx"

0 commit comments

Comments
 (0)