Elabs Solc is a simple rust wrapper for solc(c++).
toml
[dependencies]
elabs-solc = "0.1.0"
```rust use elabs_solc::Solc;
fn main() { let solc = Solc::new(); let inputpath = "contracts/Simple.sol"; let outputpath = "artifacts"; match solc.compile(inputpath, outputpath, vec![]) { Ok() => println!("{} compiled", inputpath), Err(e) => panic!("{}", e), } } ```