diff --git a/examples/Cargo.toml b/examples/Cargo.toml index e9b984d..97e419f 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -26,3 +26,6 @@ members = [ "url-dispatch", "websockets", ] + +[workspace.package] +edition = "2021" diff --git a/examples/application/Cargo.toml b/examples/application/Cargo.toml index 1d2e84f..b7bfbe8 100644 --- a/examples/application/Cargo.toml +++ b/examples/application/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "application" version = "1.0.0" -edition = "2021" -workspace = "../" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/async-handlers/Cargo.toml b/examples/async-handlers/Cargo.toml index 2196a5b..22f35e3 100644 --- a/examples/async-handlers/Cargo.toml +++ b/examples/async-handlers/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "async-handlers" -version = "2.0.0" -edition = "2021" +version = "1.0.0" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/databases/Cargo.toml b/examples/databases/Cargo.toml index 8269c57..853d475 100644 --- a/examples/databases/Cargo.toml +++ b/examples/databases/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "databases" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/easy-form-handling/Cargo.toml b/examples/easy-form-handling/Cargo.toml index 761530a..0977c6b 100644 --- a/examples/easy-form-handling/Cargo.toml +++ b/examples/easy-form-handling/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "easy-form-handling" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/either/Cargo.toml b/examples/either/Cargo.toml index 6e83a3b..b3fcf4e 100644 --- a/examples/either/Cargo.toml +++ b/examples/either/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "either" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/errors/Cargo.toml b/examples/errors/Cargo.toml index 60006aa..5de0996 100644 --- a/examples/errors/Cargo.toml +++ b/examples/errors/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "my_errors" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/extractors/Cargo.toml b/examples/extractors/Cargo.toml index af316d6..d17b94c 100644 --- a/examples/extractors/Cargo.toml +++ b/examples/extractors/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "extractors" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/flexible-responders/Cargo.toml b/examples/flexible-responders/Cargo.toml index dcf70c5..f395fb0 100644 --- a/examples/flexible-responders/Cargo.toml +++ b/examples/flexible-responders/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "flexible-responders" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/getting-started/Cargo.toml b/examples/getting-started/Cargo.toml index ae724a0..98ca2e6 100644 --- a/examples/getting-started/Cargo.toml +++ b/examples/getting-started/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "getting-started" version = "1.0.0" -edition = "2021" -workspace = "../" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/http2/Cargo.toml b/examples/http2/Cargo.toml index 18b1217..ea80535 100644 --- a/examples/http2/Cargo.toml +++ b/examples/http2/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "http2" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = { version = "4", features = ["openssl"] } diff --git a/examples/main-example/Cargo.toml b/examples/main-example/Cargo.toml index 38557cd..3b3bfa0 100644 --- a/examples/main-example/Cargo.toml +++ b/examples/main-example/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "main-example" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/middleware/Cargo.toml b/examples/middleware/Cargo.toml index ed34ce6..fc9a426 100644 --- a/examples/middleware/Cargo.toml +++ b/examples/middleware/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "middleware" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/powerful-extractors/Cargo.toml b/examples/powerful-extractors/Cargo.toml index 6d173f8..bdacd09 100644 --- a/examples/powerful-extractors/Cargo.toml +++ b/examples/powerful-extractors/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "powerful-extractors" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/request-handlers/Cargo.toml b/examples/request-handlers/Cargo.toml index 271f161..0dd81bb 100644 --- a/examples/request-handlers/Cargo.toml +++ b/examples/request-handlers/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "request-handlers" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/request-routing/Cargo.toml b/examples/request-routing/Cargo.toml index b5d3142..e9b1dff 100644 --- a/examples/request-routing/Cargo.toml +++ b/examples/request-routing/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "request-routing" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/requests/Cargo.toml b/examples/requests/Cargo.toml index c65b6e9..86f710a 100644 --- a/examples/requests/Cargo.toml +++ b/examples/requests/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "requests" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/responder-trait/Cargo.toml b/examples/responder-trait/Cargo.toml index 3aab673..4aa5a5d 100644 --- a/examples/responder-trait/Cargo.toml +++ b/examples/responder-trait/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "responder-trait" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/responses/Cargo.toml b/examples/responses/Cargo.toml index 294da16..0f91907 100644 --- a/examples/responses/Cargo.toml +++ b/examples/responses/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "responses" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/server/Cargo.toml b/examples/server/Cargo.toml index d3c2b06..01ef816 100644 --- a/examples/server/Cargo.toml +++ b/examples/server/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "server" version = "1.0.0" -workspace = "../" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = { version = "4", features = ["openssl"] } diff --git a/examples/shuttle/Cargo.toml b/examples/shuttle/Cargo.toml index 2d1d43e..42fa705 100644 --- a/examples/shuttle/Cargo.toml +++ b/examples/shuttle/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "shuttle" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true # [dependencies] diff --git a/examples/static-files/Cargo.toml b/examples/static-files/Cargo.toml index be353d9..d370c5a 100644 --- a/examples/static-files/Cargo.toml +++ b/examples/static-files/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "static-files" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/testing/Cargo.toml b/examples/testing/Cargo.toml index a3a06ea..381ec67 100644 --- a/examples/testing/Cargo.toml +++ b/examples/testing/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "testing" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/url-dispatch/Cargo.toml b/examples/url-dispatch/Cargo.toml index 9ae8b3f..de48bc7 100644 --- a/examples/url-dispatch/Cargo.toml +++ b/examples/url-dispatch/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "url-dispatch" version = "1.0.0" -edition = "2021" -workspace = "../" +publish = false +edition.workspace = true [dependencies] actix-web = "4" diff --git a/examples/websockets/Cargo.toml b/examples/websockets/Cargo.toml index 174b136..b6d88fa 100644 --- a/examples/websockets/Cargo.toml +++ b/examples/websockets/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "websockets" version = "1.0.0" -edition = "2021" +publish = false +edition.workspace = true [dependencies] actix = "0.13"