4 releases

0.1.3 Mar 6, 2022
0.1.2 Mar 12, 2021
0.1.1 Oct 16, 2020
0.1.0 Oct 11, 2020

#409 in HTTP client

LGPL-3.0

19KB
343 lines

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

Dependencies

~6–18MB
~250K SLoC