Move Robocraft auth server to actix_web for better error responses #31

This commit is contained in:
NG (Graham) committed 2025-07-27 16:12:45 -04:00
1 parent 796304bc4a
commit 89b1db35ba
23 files changed
+455 -211

No files matched your search

-7
View File
@@ -3,8 +3,6 @@ mod common;
#[cfg(feature = "cardlife")]
mod cardlife;
#[cfg(feature = "robocraft")]
mod robocraft;
#[rocket::get("/")]
fn index() -> String {
@@ -27,12 +25,7 @@ async fn rocket() -> _ {
#[cfg(feature = "cardlife")]
{builder = builder.attach(cardlife::stage());}
#[cfg(feature = "robocraft")]
{builder = builder.attach(robocraft::stage());}
builder
}
#[cfg(all(feature = "steam", feature = "robocraft", feature = "cardlife"))]
compile_error!("Feature \"steam\" cannot work with features \"cardlife\" and \"robocraft\" at the same time");