Add web modules (crypto, wiki, define, urban, tinyurl, down) + shared http/json
All checks were successful
ci / check (push) Successful in 48s

This commit is contained in:
Jean Chevronnet 2026-07-29 19:42:36 +00:00
parent 7846f91afe
commit c3139b4e4d
No known key found for this signature in database
GPG key ID: 439666D63A9477E4
14 changed files with 794 additions and 130 deletions

View file

@ -1,7 +1,13 @@
pub mod builtins;
pub mod crypto;
pub mod define;
pub mod dice;
pub mod down;
pub mod hash;
pub mod tinyurl;
pub mod urban;
pub mod weather;
pub mod wiki;
use super::module::Module;
@ -10,6 +16,12 @@ pub fn all(network: &str) -> Vec<Box<dyn Module>> {
Box::new(builtins::Builtins),
Box::new(dice::Dice::new()),
Box::new(hash::Hash),
Box::new(crypto::Crypto),
Box::new(define::Define),
Box::new(down::Down),
Box::new(tinyurl::Tinyurl),
Box::new(urban::Urban),
Box::new(weather::Weather::new(network)),
Box::new(wiki::Wiki),
]
}