Skip to content

TTK4145/driver-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Driver for Elevator project

To use this library add the following to Cargo.toml:

[dependencies]
driver-rust = { git = "https://github.com/TTK4145/driver-rust", tag = "v0.X.0" }

For most recent release see releases. Note that we will come with breaking changes to master, so depending on the master branch directly might lead to some issues.

When using the library in your project, it will be available under the driver_rust namespace, example:

use driver_rust::elevio;

fn main() -> std::io::Result<()> {
    let num_floors = 4;
    let elevator = elevio::Elevator::init("localhost:15657", num_floors)?;
}

For an example of usage, see main.rs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages