| Crates.io | txl-rs |
| lib.rs | txl-rs |
| version | 0.0.3 |
| created_at | 2022-11-19 15:47:47.401533+00 |
| updated_at | 2022-11-19 22:38:52.369397+00 |
| description | Wrapper of txl for Rust |
| homepage | https://github.com/yijunyu/txl-rs |
| repository | https://github.com/yijunyu/txl-rs |
| max_upload_size | |
| id | 718536 |
| size | 58,391 |
txl is a transformation system developed by James R. Cordy
at Queen's University. This crate provides a command line utility to install it,
while offering a convenient function to invoke it inside Rust code.
Install the command:
cargo install txl-rs
Install the library:
[dependencies]
txl-rs = "0.0.1"
txl-rs [args]
which would run as if it is a txl [args] command.
use txl_rs::txl;
fn main() {
match txl(["src/main.rs"]) {
Ok(result) => {
println!("{result}");
}
Err(error) => {
println!("{error}");
}
}
}