Skip to content

Headline/wandbox-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wandbox-rs

An api binding for Wandbox in rust

Add this to your Cargo.toml

[dependencies]
wandbox = "0.1"

Example

let wbox : Wandbox = Wandbox::new(None, None).await?;

let mut builder = crate::CompilationBuilder::new();
builder.target("gcc-6.3.0");
builder.options_str(vec!["-Wall", "-Werror"]);
builder.code("#include<iostream>\nint main()\n{\nstd::cout<<\"test\";\n}");
builder.build(&wbox)?;

let res = builder.dispatch().await.expect("Failed to lookup");

License

This project is licensed under there LGPL v3 license. This license is available in LICENSE.txt

About

An api binding for Wandbox in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages