1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00

edition = 2021

This commit is contained in:
Rob Ede 2022-02-02 01:43:51 +00:00
parent 07384c91aa
commit 13282bc044
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
42 changed files with 43 additions and 45 deletions

View File

@ -2,7 +2,7 @@
name = "basics" name = "basics"
version = "2.0.0" version = "2.0.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "4.0.0-beta.21" actix-web = "4.0.0-beta.21"

View File

@ -2,7 +2,7 @@
name = "docker_sample" name = "docker_sample"
version = "0.1.0" version = "0.1.0"
authors = ["docker_sample <docker_sample@sample.com>"] authors = ["docker_sample <docker_sample@sample.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "4.0.0-beta.21" actix-web = "4.0.0-beta.21"

View File

@ -2,7 +2,7 @@
name = "error_handling" name = "error_handling"
version = "1.0.0" version = "1.0.0"
authors = ["dowwie <dkcdkg@gmail.com>"] authors = ["dowwie <dkcdkg@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "3" actix-web = "3"

View File

@ -2,7 +2,7 @@
name = "http-proxy" name = "http-proxy"
version = "2.0.0" version = "2.0.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>", "Rotem Yaari <vmalloc@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>", "Rotem Yaari <vmalloc@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = { version = "3", features = ["openssl"] } actix-web = { version = "3", features = ["openssl"] }

View File

@ -2,7 +2,7 @@
name = "awc_examples" name = "awc_examples"
version = "2.0.0" version = "2.0.0"
authors = ["dowwie <dkcdkg@gmail.com>"] authors = ["dowwie <dkcdkg@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = { version = "3", features = ["openssl"] } actix-web = { version = "3", features = ["openssl"] }

View File

@ -2,7 +2,7 @@
name = "middleware-ext-mut" name = "middleware-ext-mut"
version = "0.1.0" version = "0.1.0"
authors = ["Eric McCarthy <ericmccarthy7@gmail.com>"] authors = ["Eric McCarthy <ericmccarthy7@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "4.0.0-rc.1" actix-web = "4.0.0-rc.1"

View File

@ -1,7 +1,7 @@
[package] [package]
name = "middleware-http-to-https" name = "middleware-http-to-https"
version = "0.1.0" version = "0.1.0"
edition = "2018" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -10,5 +10,3 @@ actix-web = {version = "4.0.0-beta.21", features = ["rustls"]}
rustls = "0.20.2" rustls = "0.20.2"
rustls-pemfile = "0.2.1" # these are now in an external library rustls-pemfile = "0.2.1" # these are now in an external library
futures = "0.3" futures = "0.3"

View File

@ -2,7 +2,7 @@
name = "middleware-example" name = "middleware-example"
version = "2.0.0" version = "2.0.0"
authors = ["Gorm Casper <gcasper@gmail.com>", "Sven-Hendrik Haase <svenstaro@gmail.com>"] authors = ["Gorm Casper <gcasper@gmail.com>", "Sven-Hendrik Haase <svenstaro@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "4.0.0-rc.1" actix-web = "4.0.0-rc.1"

View File

@ -2,7 +2,7 @@
name = "run-in-thread" name = "run-in-thread"
version = "2.0.0" version = "2.0.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2018" edition = "2021"
description = "Run actix-web in separate thread" description = "Run actix-web in separate thread"
[dependencies] [dependencies]

View File

@ -2,7 +2,7 @@
name = "shutdown-server" name = "shutdown-server"
version = "2.0.0" version = "2.0.0"
authors = ["Rob Ede <robjtede@icloud.com>"] authors = ["Rob Ede <robjtede@icloud.com>"]
edition = "2018" edition = "2021"
description = "Send a request to the server to shut it down" description = "Send a request to the server to shut it down"
[dependencies] [dependencies]

View File

@ -2,7 +2,7 @@
name = "static_index" name = "static_index"
version = "2.0.0" version = "2.0.0"
authors = ["Jose Marinez <digeratus@gmail.com>"] authors = ["Jose Marinez <digeratus@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "4.0.0-rc.1" actix-web = "4.0.0-rc.1"

View File

@ -2,7 +2,7 @@
authors = ["Dan Munckton <dangit@munckfish.net>"] authors = ["Dan Munckton <dangit@munckfish.net>"]
name = "actix-todo" name = "actix-todo"
version = "2.0.0" version = "2.0.0"
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "3" actix-web = "3"

View File

@ -5,7 +5,7 @@ authors = [
"Nikolay Kim <fafhrd91@gmail.com>", "Nikolay Kim <fafhrd91@gmail.com>",
"Rob Ede <robjtede@icloud.com>", "Rob Ede <robjtede@icloud.com>",
] ]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "4.0.0-beta.21" actix-web = "4.0.0-beta.21"

View File

@ -2,7 +2,7 @@
name = "mongodb" name = "mongodb"
version = "0.1.0" version = "0.1.0"
authors = ["Isabel Atkinson <isabel.atkinson@mongodb.com>"] authors = ["Isabel Atkinson <isabel.atkinson@mongodb.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-rt = "2.2.0" actix-rt = "2.2.0"

View File

@ -2,7 +2,7 @@
name = "async_pg" name = "async_pg"
version = "0.1.0" version = "0.1.0"
authors = ["dowwie <dkcdkg@gmail.com>"] authors = ["dowwie <dkcdkg@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "3" actix-web = "3"

View File

@ -2,7 +2,7 @@
name = "actix_redis" name = "actix_redis"
version = "1.0.0" version = "1.0.0"
authors = ["dowwie <dkcdkg@gmail.com>"] authors = ["dowwie <dkcdkg@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix = "0.10" actix = "0.10"

View File

@ -2,7 +2,7 @@
name = "simple-auth-server" name = "simple-auth-server"
version = "2.0.0" version = "2.0.0"
authors = ["mygnu <tech@hgill.io>"] authors = ["mygnu <tech@hgill.io>"]
edition = "2018" edition = "2021"
workspace = "../.." workspace = "../.."
[dependencies] [dependencies]

View File

@ -2,7 +2,7 @@
name = "async-graphql-demo" name = "async-graphql-demo"
version = "0.1.0" version = "0.1.0"
authors = ["sunli <scott_s829@163.com>"] authors = ["sunli <scott_s829@163.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "3.0.0" actix-web = "3.0.0"

View File

@ -2,7 +2,7 @@
name = "juniper-advanced" name = "juniper-advanced"
version = "2.0.0" version = "2.0.0"
authors = ["Dwi Sulfahnur <hello@dwisulfahnur.com>"] authors = ["Dwi Sulfahnur <hello@dwisulfahnur.com>"]
edition = "2018" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -2,7 +2,7 @@
name = "juniper-example" name = "juniper-example"
version = "0.2.0" version = "0.2.0"
authors = ["pyros2097 <pyros2097@gmail.com>"] authors = ["pyros2097 <pyros2097@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "3" actix-web = "3"

View File

@ -2,7 +2,7 @@
name = "json-example" name = "json-example"
version = "0.1.0" version = "0.1.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "4.0.0-rc.1" actix-web = "4.0.0-rc.1"

View File

@ -2,7 +2,7 @@
name = "json_decode_error" name = "json_decode_error"
version = "0.1.0" version = "0.1.0"
authors = ["Stig Johan Berggren <stigjb@gmail.com>"] authors = ["Stig Johan Berggren <stigjb@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "4.0.0-rc.1" actix-web = "4.0.0-rc.1"

View File

@ -2,7 +2,7 @@
name = "json_error" name = "json_error"
version = "1.0.0" version = "1.0.0"
authors = ["Kai Yao <kai.b.yao@gmail.com>"] authors = ["Kai Yao <kai.b.yao@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "4.0.0-rc.1" actix-web = "4.0.0-rc.1"

View File

@ -2,7 +2,7 @@
name = "jsonrpc-example" name = "jsonrpc-example"
version = "2.0.0" version = "2.0.0"
authors = ["mohanson <mohanson@outlook.com>"] authors = ["mohanson <mohanson@outlook.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "3" actix-web = "3"

View File

@ -2,7 +2,7 @@
name = "async_data_factory" name = "async_data_factory"
version = "0.1.0" version = "0.1.0"
authors = ["fakeshadow <24548779@qq.com>"] authors = ["fakeshadow <24548779@qq.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "3" actix-web = "3"

View File

@ -2,7 +2,7 @@
name = "protobuf-example" name = "protobuf-example"
version = "0.2.0" version = "0.2.0"
authors = ["kingxsp <jin.hb.zh@outlook.com>, Yuki Okushi <huyuumi.dev@gmail.com>"] authors = ["kingxsp <jin.hb.zh@outlook.com>, Yuki Okushi <huyuumi.dev@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix = "0.10" actix = "0.10"

View File

@ -2,7 +2,7 @@
name = "server-sent-events" name = "server-sent-events"
version = "1.0.0" version = "1.0.0"
authors = ["Arve Seljebu"] authors = ["Arve Seljebu"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "3" actix-web = "3"

View File

@ -2,7 +2,7 @@
name = "unix-socket" name = "unix-socket"
version = "1.0.0" version = "1.0.0"
authors = ["Messense Lv <messense@icloud.com>"] authors = ["Messense Lv <messense@icloud.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
env_logger = "0.9.0" env_logger = "0.9.0"

View File

@ -2,7 +2,7 @@
name = "rustls-client-cert" name = "rustls-client-cert"
version = "1.0.0" version = "1.0.0"
authors = ["Rob Ede <robjtede@icloud.com>"] authors = ["Rob Ede <robjtede@icloud.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-tls = "3.0" actix-tls = "3.0"

View File

@ -2,7 +2,7 @@
name = "cookie-auth" name = "cookie-auth"
version = "2.0.0" version = "2.0.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "3" actix-web = "3"

View File

@ -2,7 +2,7 @@
name = "cookie-session" name = "cookie-session"
version = "1.0.0" version = "1.0.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "3" actix-web = "3"

View File

@ -2,7 +2,7 @@
name = "redis_session" name = "redis_session"
version = "2.0.0" version = "2.0.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>", "dowwie <dkcdkg@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>", "dowwie <dkcdkg@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "3" actix-web = "3"

View File

@ -2,7 +2,7 @@
name = "template-askama" name = "template-askama"
version = "2.0.0" version = "2.0.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
env_logger = "0.8" env_logger = "0.8"

View File

@ -2,7 +2,7 @@
name = "template_handlebars" name = "template_handlebars"
version = "1.0.0" version = "1.0.0"
authors = ["Alexandru Tiniuc <tiniuc.alexandru@gmail.com>"] authors = ["Alexandru Tiniuc <tiniuc.alexandru@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-http = "2" actix-http = "2"

View File

@ -2,7 +2,7 @@
name = "template-tera" name = "template-tera"
version = "2.0.0" version = "2.0.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
env_logger = "0.8" env_logger = "0.8"

View File

@ -2,7 +2,7 @@
name = "template-tinytemplate" name = "template-tinytemplate"
version = "2.0.0" version = "2.0.0"
authors = ["Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>"] authors = ["Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>"]
edition = "2018" edition = "2021"
[dependencies] [dependencies]
env_logger = "0.8" env_logger = "0.8"

View File

@ -3,7 +3,7 @@ name = "template_yarte"
version = "0.0.1" version = "0.0.1"
authors = ["Juan Aguilar Santillana <mhpoin@gmail.com>"] authors = ["Juan Aguilar Santillana <mhpoin@gmail.com>"]
publish = false publish = false
edition = "2018" edition = "2021"
[dependencies] [dependencies]
actix-web = "4.0.0-rc.1" actix-web = "4.0.0-rc.1"

View File

@ -2,7 +2,7 @@
name = "websocket-autobahn" name = "websocket-autobahn"
version = "2.0.0" version = "2.0.0"
authors = ["Mark Lodato <mlodato517@gmail.com"] authors = ["Mark Lodato <mlodato517@gmail.com"]
edition = "2018" edition = "2021"
[[bin]] [[bin]]
name = "websocket-autobahn-server" name = "websocket-autobahn-server"

View File

@ -5,7 +5,7 @@ authors = [
"Chris Ricketts <chris.ricketts@steribar.com>", "Chris Ricketts <chris.ricketts@steribar.com>",
"Rob Ede <robjtede@icloud.com>", "Rob Ede <robjtede@icloud.com>",
] ]
edition = "2018" edition = "2021"
[[bin]] [[bin]]
name = "server" name = "server"

View File

@ -2,7 +2,7 @@
name = "websocket-example" name = "websocket-example"
version = "2.0.0" version = "2.0.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2018" edition = "2021"
[[bin]] [[bin]]
name = "websocket-chat-server" name = "websocket-chat-server"

View File

@ -2,7 +2,7 @@
name = "websocket-tcp-example" name = "websocket-tcp-example"
version = "2.0.0" version = "2.0.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2018" edition = "2021"
[[bin]] [[bin]]
name = "websocket-tcp-server" name = "websocket-tcp-server"

View File

@ -2,7 +2,7 @@
name = "websocket" name = "websocket"
version = "2.0.0" version = "2.0.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2018" edition = "2021"
[[bin]] [[bin]]
name = "websocket-server" name = "websocket-server"