Files
herolib/lib/installers/lang/rust
Mahmoud Emad 08f0620305 feat: add rust installer
- Add a new Rust installer.
- Fix some issues with the rust installer.
- better organize the language-specific installers.
2025-02-12 09:28:10 +00:00
..
...
2025-02-09 17:53:16 +01:00
2024-12-25 20:56:35 +01:00
2025-02-12 09:28:10 +00:00
2025-02-12 09:28:10 +00:00
2025-02-12 09:28:10 +00: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