Files
herolib/lib/installers/lang/rust
Mahmoud-Emad c157c86600 refactor: move zinit installer to infra
- Move the zinit installer from `sysadmintools` to `infra`.
- This change improves the organization of the codebase and
- makes it easier to find and manage installers.  The old
- `zinit` module was a factory only and is removed.  The
- `zinit_installer` is now a normal installer.  The code is
- significantly refactored.
2025-02-10 09:00:49 +00:00
..
...
2025-02-09 17:53:16 +01:00
2024-12-25 20:56:35 +01:00
2025-02-06 06:26:44 +03:00
2025-01-01 17:44:06 +01:00

rust

To get started



import freeflowuniverse.herolib.installers.something.rust as rust_installer

heroscript:="
!!rust.configure name:'test'
    password: '1234'
    port: 7701

!!rust.start name:'test' reset:1 
"

rust_installer.play(heroscript=heroscript)!

//or we can call the default and do a start with reset
//mut installer:= rust_installer.get()!
//installer.start(reset:true)!




example heroscript

!!rust.configure
    homedir: '/home/user/rust'
    username: 'admin'
    password: 'secretpassword'
    title: 'Some Title'
    host: 'localhost'
    port: 8888