adds future tasks and the corresponding features and test files

This commit is contained in:
itsscb 2024-12-10 01:52:55 +01:00
parent c8f3af6cf9
commit 2b614ee8c4
5 changed files with 40 additions and 0 deletions

View File

@ -20,3 +20,7 @@ axum-test = "16.4.0"
[features]
default = []
task1-9 = ["cargo-manifest", "serde_yml", "toml"]
task12 = []
task16 = []
task19 = []
task23 = []

View File

@ -0,0 +1,9 @@
#[cfg(feature = "task19")]
mod task_nineteen {
use axum_test::TestServer;
use itsscb_shuttlings_cch24::router;
fn test_server() -> TestServer {
TestServer::new(router()).unwrap()
}
}

View File

@ -0,0 +1,9 @@
#[cfg(feature = "task16")]
mod task_sixteen {
use axum_test::TestServer;
use itsscb_shuttlings_cch24::router;
fn test_server() -> TestServer {
TestServer::new(router()).unwrap()
}
}

View File

@ -0,0 +1,9 @@
#[cfg(feature = "task12")]
mod task_twelve {
use axum_test::TestServer;
use itsscb_shuttlings_cch24::router;
fn test_server() -> TestServer {
TestServer::new(router()).unwrap()
}
}

View File

@ -0,0 +1,9 @@
#[cfg(feature = "task23")]
mod task_twentythree {
use axum_test::TestServer;
use itsscb_shuttlings_cch24::router;
fn test_server() -> TestServer {
TestServer::new(router()).unwrap()
}
}