Skip to content

My solutions for the Shuttle.rs Christmas Code Hunt

License

Notifications You must be signed in to change notification settings

Drowrin/shuttle-cch23

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Christmas Code Hunt 2023

My solutions to the Shuttle.rs Christmas Code Hunt 2023

Usage

This repo uses just to run common commands. You'll need to install the following in order to use the just commands:

With everything installed, you can run the following commands:

# Compile, run, and test endpoints
just test

# Watch for file changes and run `just test` as needed
just watch

Project Layout

Each challenge day has a separate file in ./src/. Each of these files exposes a get_routes() -> axum::Router function, including all of the endpoints for that day. These routes all include their day's path number, as required by Shuttle.rs CCH. ./src/main.rs uses all of these get_routes functions to build the complete Router, and has the #[shuttle_runtime::main] attribute applied.

About

My solutions for the Shuttle.rs Christmas Code Hunt

Topics

Resources

License

Stars

Watchers

Forks

Languages