Compare commits

...

3 commits

Author SHA1 Message Date
Ben Aaron Goldberg 6378adba7a web: Added startup message
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-25 06:41:23 -04:00
Ben Aaron Goldberg 45c6eb39bb web: Revert back to Rust 2018
It has better compatibly and the code works as is.

Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-25 06:25:26 -04:00
Ben Aaron Goldberg af85dc7dcf web: rename crate to up dashes instead of underscores.
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-10-25 06:24:57 -04:00
2 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
[package]
name = "pronouns_today_web"
name = "pronouns-today-web"
version = "0.1.0"
edition = "2021"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -98,6 +98,7 @@ async fn not_found() -> impl Responder {
#[actix_web::main]
async fn main() -> std::io::Result<()> {
env_logger::init();
println!("Starting pronouns-today-web on 127.0.0.1:8080");
HttpServer::new(|| {
let logger = Logger::default();
App::new()