diff --git a/Cargo.lock b/Cargo.lock index de4e440..0fc1431 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -115,9 +115,9 @@ dependencies = [ [[package]] name = "base64" -version = "0.21.7" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" +checksum = "9475866fec1451be56a3c2400fd081ff546538961565ccb5b7142cbd22bc7a51" [[package]] name = "bitflags" @@ -241,9 +241,9 @@ checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" [[package]] name = "engineioxide" -version = "0.10.2" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa7ba0ad7e728cb176b1d3e473ce038844af4377b545c7928634335714a5afe3" +checksum = "1e3c9367e41ac7c507d52b3949552aacb853466393001e2720c913c91e0eaef0" dependencies = [ "base64", "bytes", @@ -257,6 +257,7 @@ dependencies = [ "rand", "serde", "serde_json", + "smallvec", "thiserror", "tokio", "tokio-tungstenite", @@ -1006,9 +1007,9 @@ dependencies = [ [[package]] name = "socketioxide" -version = "0.10.2" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ea516f6cfd7a4aefa7f3e58410c81e330d99126f7cca00f350bdea2f3f75e55" +checksum = "9d3458d2a9ec1f4050ded69f47a661e3fa7814f474ee68db8445c1fde8167956" dependencies = [ "dashmap", "engineioxide", diff --git a/Cargo.toml b/Cargo.toml index 0f93923..6e934df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -socketioxide = {version = "0.10.1", features = ["extensions", "state"]} +socketioxide = {version = "0.12.0", features = ["extensions", "state"]} tokio = {version = "1.35.1", features = ["full"]} tower-http = {version = "0.5.1", features=["cors", "fs"]} axum = "0.7.4" diff --git a/README.md b/README.md index 9c40a18..94e1b98 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ services: ## Configuration The server uses the following environmental variables, and it also parses the .env file if present: + - `SVEIO_PORT`: The port to serve on. Defaults to `8085`. There is an example env file, see [`.env.example`](https://github.com/Erb3/sveio/blob/main/.env.example)