Add weather module

This commit is contained in:
Jean Chevronnet 2026-07-29 17:32:33 +00:00
parent 52d7c13013
commit ebb3333e78
6 changed files with 339 additions and 5 deletions

View file

@ -1,11 +1,13 @@
pub mod builtins;
pub mod dice;
pub mod weather;
use super::module::Module;
pub fn all() -> Vec<Box<dyn Module>> {
pub fn all(network: &str) -> Vec<Box<dyn Module>> {
vec![
Box::new(builtins::Builtins),
Box::new(dice::Dice::new()),
Box::new(weather::Weather::new(network)),
]
}