Skip to content

Update to Rust 2021 edition #585

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"

members = [
"piet",
Expand Down
2 changes: 1 addition & 1 deletion piet-cairo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "Cairo backend for piet 2D graphics abstraction."
license = "Apache-2.0 OR MIT"
repository = "https://github.com/linebender/piet"
readme = "../README.md"
edition = "2018"
edition = "2021"
keywords = ["graphics", "2d"]
categories = ["rendering::graphics-api"]

Expand Down
2 changes: 1 addition & 1 deletion piet-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "Selection of a single preferred back-end for piet"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/linebender/piet"
readme = "README.md"
edition = "2018"
edition = "2021"
keywords = ["graphics", "2d"]

[features]
Expand Down
2 changes: 1 addition & 1 deletion piet-coregraphics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "CoreGraphics backend for piet 2D graphics abstraction."
license = "Apache-2.0 OR MIT"
repository = "https://github.com/linebender/piet"
readme = "../README.md"
edition = "2018"
edition = "2021"
keywords = ["graphics", "2d"]
categories = ["rendering::graphics-api"]

Expand Down
2 changes: 1 addition & 1 deletion piet-direct2d/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "Direct2D backend for piet 2D graphics abstraction."
license = "Apache-2.0 OR MIT"
repository = "https://github.com/linebender/piet"
readme = "../README.md"
edition = "2018"
edition = "2021"
keywords = ["graphics", "2d"]
categories = ["rendering::graphics-api"]

Expand Down
2 changes: 1 addition & 1 deletion piet-svg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "piet-svg"
version = "0.6.2"
authors = ["Benjamin Saunders <[email protected]>"]
description = "SVG backend for piet 2D graphics abstraction."
edition = "2018"
edition = "2021"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/linebender/piet"
keywords = ["graphics", "2d"]
Expand Down
2 changes: 1 addition & 1 deletion piet-web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "Web canvas backend for piet 2D graphics abstraction."
license = "Apache-2.0 OR MIT"
repository = "https://github.com/linebender/piet"
readme = "../README.md"
edition = "2018"
edition = "2021"
keywords = ["graphics", "2d"]
categories = ["rendering::graphics-api", "wasm"]

Expand Down
2 changes: 1 addition & 1 deletion piet-web/examples/basic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "piet-web-example"
version = "0.0.2"
authors = ["Ryan Levick <[email protected]>"]
edition = "2018"
edition = "2021"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion piet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "An abstraction for 2D graphics."
license = "Apache-2.0 OR MIT"
repository = "https://github.com/linebender/piet"
readme = "../README.md"
edition = "2018"
edition = "2021"
keywords = ["graphics", "2d"]
categories = ["rendering::graphics-api"]
include = ["src/**/*", "Cargo.toml", "snapshots/resources/*"]
Expand Down