mirror of
https://github.com/actix/examples
synced 2024-11-23 14:31:07 +01:00
edition = 2021
This commit is contained in:
parent
07384c91aa
commit
13282bc044
@ -2,7 +2,7 @@
|
||||
name = "basics"
|
||||
version = "2.0.0"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.0.0-beta.21"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "docker_sample"
|
||||
version = "0.1.0"
|
||||
authors = ["docker_sample <docker_sample@sample.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.0.0-beta.21"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "error_handling"
|
||||
version = "1.0.0"
|
||||
authors = ["dowwie <dkcdkg@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "3"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "http-proxy"
|
||||
version = "2.0.0"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>", "Rotem Yaari <vmalloc@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { version = "3", features = ["openssl"] }
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "awc_examples"
|
||||
version = "2.0.0"
|
||||
authors = ["dowwie <dkcdkg@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { version = "3", features = ["openssl"] }
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "middleware-ext-mut"
|
||||
version = "0.1.0"
|
||||
authors = ["Eric McCarthy <ericmccarthy7@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.0.0-rc.1"
|
||||
|
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "middleware-http-to-https"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
# 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-pemfile = "0.2.1" # these are now in an external library
|
||||
futures = "0.3"
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "middleware-example"
|
||||
version = "2.0.0"
|
||||
authors = ["Gorm Casper <gcasper@gmail.com>", "Sven-Hendrik Haase <svenstaro@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.0.0-rc.1"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "run-in-thread"
|
||||
version = "2.0.0"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
description = "Run actix-web in separate thread"
|
||||
|
||||
[dependencies]
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "shutdown-server"
|
||||
version = "2.0.0"
|
||||
authors = ["Rob Ede <robjtede@icloud.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
description = "Send a request to the server to shut it down"
|
||||
|
||||
[dependencies]
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "static_index"
|
||||
version = "2.0.0"
|
||||
authors = ["Jose Marinez <digeratus@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.0.0-rc.1"
|
||||
|
@ -2,7 +2,7 @@
|
||||
authors = ["Dan Munckton <dangit@munckfish.net>"]
|
||||
name = "actix-todo"
|
||||
version = "2.0.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "3"
|
||||
|
@ -5,7 +5,7 @@ authors = [
|
||||
"Nikolay Kim <fafhrd91@gmail.com>",
|
||||
"Rob Ede <robjtede@icloud.com>",
|
||||
]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.0.0-beta.21"
|
||||
@ -16,4 +16,4 @@ failure = "0.1.8"
|
||||
futures = "0.3.1"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
uuid = { version = "0.8", features = ["serde", "v4"] }
|
||||
uuid = { version = "0.8", features = ["serde", "v4"] }
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "mongodb"
|
||||
version = "0.1.0"
|
||||
authors = ["Isabel Atkinson <isabel.atkinson@mongodb.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-rt = "2.2.0"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "async_pg"
|
||||
version = "0.1.0"
|
||||
authors = ["dowwie <dkcdkg@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "3"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "actix_redis"
|
||||
version = "1.0.0"
|
||||
authors = ["dowwie <dkcdkg@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix = "0.10"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "simple-auth-server"
|
||||
version = "2.0.0"
|
||||
authors = ["mygnu <tech@hgill.io>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
workspace = "../.."
|
||||
|
||||
[dependencies]
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "async-graphql-demo"
|
||||
version = "0.1.0"
|
||||
authors = ["sunli <scott_s829@163.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "3.0.0"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "juniper-advanced"
|
||||
version = "2.0.0"
|
||||
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
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "juniper-example"
|
||||
version = "0.2.0"
|
||||
authors = ["pyros2097 <pyros2097@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "3"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "json-example"
|
||||
version = "0.1.0"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.0.0-rc.1"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "json_decode_error"
|
||||
version = "0.1.0"
|
||||
authors = ["Stig Johan Berggren <stigjb@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.0.0-rc.1"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "json_error"
|
||||
version = "1.0.0"
|
||||
authors = ["Kai Yao <kai.b.yao@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.0.0-rc.1"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "jsonrpc-example"
|
||||
version = "2.0.0"
|
||||
authors = ["mohanson <mohanson@outlook.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "3"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "async_data_factory"
|
||||
version = "0.1.0"
|
||||
authors = ["fakeshadow <24548779@qq.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "3"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "protobuf-example"
|
||||
version = "0.2.0"
|
||||
authors = ["kingxsp <jin.hb.zh@outlook.com>, Yuki Okushi <huyuumi.dev@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix = "0.10"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "server-sent-events"
|
||||
version = "1.0.0"
|
||||
authors = ["Arve Seljebu"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "3"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "unix-socket"
|
||||
version = "1.0.0"
|
||||
authors = ["Messense Lv <messense@icloud.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
env_logger = "0.9.0"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "rustls-client-cert"
|
||||
version = "1.0.0"
|
||||
authors = ["Rob Ede <robjtede@icloud.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-tls = "3.0"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "cookie-auth"
|
||||
version = "2.0.0"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "3"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "cookie-session"
|
||||
version = "1.0.0"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "3"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "redis_session"
|
||||
version = "2.0.0"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>", "dowwie <dkcdkg@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "3"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "template-askama"
|
||||
version = "2.0.0"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
env_logger = "0.8"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "template_handlebars"
|
||||
version = "1.0.0"
|
||||
authors = ["Alexandru Tiniuc <tiniuc.alexandru@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-http = "2"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "template-tera"
|
||||
version = "2.0.0"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
env_logger = "0.8"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "template-tinytemplate"
|
||||
version = "2.0.0"
|
||||
authors = ["Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
env_logger = "0.8"
|
||||
|
@ -3,7 +3,7 @@ name = "template_yarte"
|
||||
version = "0.0.1"
|
||||
authors = ["Juan Aguilar Santillana <mhpoin@gmail.com>"]
|
||||
publish = false
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.0.0-rc.1"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "websocket-autobahn"
|
||||
version = "2.0.0"
|
||||
authors = ["Mark Lodato <mlodato517@gmail.com"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "websocket-autobahn-server"
|
||||
|
@ -5,7 +5,7 @@ authors = [
|
||||
"Chris Ricketts <chris.ricketts@steribar.com>",
|
||||
"Rob Ede <robjtede@icloud.com>",
|
||||
]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "server"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "websocket-example"
|
||||
version = "2.0.0"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "websocket-chat-server"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "websocket-tcp-example"
|
||||
version = "2.0.0"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "websocket-tcp-server"
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "websocket"
|
||||
version = "2.0.0"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "websocket-server"
|
||||
|
Loading…
Reference in New Issue
Block a user