chore(release): prepare public source release

This commit is contained in:
MercuryToolbox Release
2026-07-18 15:33:01 +08:00
commit 34d6a57f38
510 changed files with 163501 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
pub mod net {
pub struct Client {
pub id: u32,
}
impl Client {
pub fn connect(id: u32) -> Self {
Self { id }
}
}
}
pub enum Mode {
Fast,
Safe,
}
pub fn run(args: &[String]) -> Result<(), String> {
let mode = if args.is_empty() {
Mode::Safe
} else {
Mode::Fast
};
match mode {
Mode::Fast => println!("fast"),
Mode::Safe => println!("safe"),
}
Ok(())
}
fn helper(value: i32) -> i32 {
value + 1
}