Know when Wembley Stadium events are happening ahead of time. This project generates a calendar file on all the upcoming events at Wembley Stadium.
- Don't get caught out in the traffic.
- Don't struggle with parking.
- Don't waste precious time.
The calendar is updated regularly and is always available to subscribe to/download here: https://mukundbhudia.github.io/wembley-events/wembley-events.ics.
In addition to the calendar, this project can also generate a JSON file containing the events available to download here: https://mukundbhudia.github.io/wembley-events/wembley-events.json.
The wembley-events-web project uses the events generated using this project to provide useful a frontend for the calendar.
GitHub Actions runs this project and uploads the calendar file to GitHub pages on a twice daily basis.
Feel free to subscribe to the calendar using your favourite calendar app. The file output conforms to the iCalendar specification.
- Install Rust here.
- Minimum Supported Rust Version (MSRV) is any 2018 edition.
- Copy the
.env.example
file to.env
and edit the values to suit. - Within the repo directory run
cargo r
.- This will generate a calendar file to the path defined in
CALENDAR_SAVE_PATH
. - Setting a path for
CALENDAR_JSON_SAVE_PATH
will create a JSON file of events with the same name.
- This will generate a calendar file to the path defined in
- Copy the
.env.example
file to.env
and edit the values to suit. - To make a production build, within the repo directory run
cargo b --release
. - To run the release build, within the project directory run
target/release/wembley-events
just as in development.
- To run all your tests, within the repo directory run
cargo t
. This will run all tests in the/tests
directory. - To run ignored tests, within the repo directory run
cargo t -- --ignored
.