Skip to content

Commit dece9b8

Browse files
committed
Update Rust edition to 2021.
1 parent 23963d3 commit dece9b8

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

docs/book_examples/Cargo.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
[package]
22
name = "book_examples"
33
version = "0.1.0"
4+
license = "Apache-2.0"
5+
repository = "https://github.com/linebender/druid"
46
authors = ["Colin Rofls <[email protected]>"]
5-
edition = "2018"
7+
edition = "2021"
8+
publish = false
69

710
[dependencies]
811
druid = { path = "../../druid", features = [ "im" ] }

druid-shell/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description = "Platform abstracting application shell used for druid toolkit."
77
repository = "https://github.com/linebender/druid"
88
readme = "README.md"
99
categories = ["os::macos-apis", "os::windows-apis", "gui"]
10-
edition = "2018"
10+
edition = "2021"
1111

1212
[package.metadata.docs.rs]
1313
rustdoc-args = ["--cfg", "docsrs"]

druid/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repository = "https://github.com/linebender/druid"
88
categories = ["gui"]
99
readme = "README.md"
1010
keywords = ["gui", "ui", "toolkit"]
11-
edition = "2018"
11+
edition = "2021"
1212

1313
[package.metadata.docs.rs]
1414
# The "svg" and "image" features have doc clashes that cause undefined output in docs.

druid/examples/hello_web/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
license = "Apache-2.0"
55
description = "Minimal web example"
66
repository = "https://github.com/linebender/druid"
7-
edition = "2018"
7+
edition = "2021"
88
publish = false
99

1010
[lib]
+4-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
[package]
22
name = "value-formatting"
33
version = "0.1.0"
4+
license = "Apache-2.0"
5+
repository = "https://github.com/linebender/druid"
46
authors = ["Colin Rofls <[email protected]>"]
5-
edition = "2018"
7+
edition = "2021"
8+
publish = false
69

710
[dependencies]
811
druid = { path = "../../" }

druid/examples/web/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
license = "Apache-2.0"
55
description = "Scaffolding for druid web examples"
66
repository = "https://github.com/linebender/druid"
7-
edition = "2018"
7+
edition = "2021"
88
publish = false
99

1010
[lib]

0 commit comments

Comments
 (0)