this crate serves as the installer for the artifice network, however it can also be used as a simple task scheduler
toml
[dependencies]
installer = "*"
manager = "*"
```rust use manager::{ArtificeDB, Database}; use installer::installation::*; use std::time::Duration; use manager::database::ArtificePeers; use std::io::{Read, Write}; use networking::ArtificeConfig;
fn main(){
let database = ArtificeDB::create("/home/user/.artifice").unwrap();
let password = "helloworld".tostring();
let mut installer = Installer::new(InstallationSrc::NewCompiled, database, 4, Duration::fromsecs(5000000));
let firsttask = Task::