| Crates.io | rusty-tcl |
| lib.rs | rusty-tcl |
| version | 0.10.0 |
| created_at | 2018-04-24 19:38:18.455088+00 |
| updated_at | 2018-04-27 23:08:22.459307+00 |
| description | Run tcl in Rust! |
| homepage | |
| repository | https://github.com/PurpleMyst/rusty_tcl |
| max_upload_size | |
| id | 62152 |
| size | 15,366 |
rusty-tcl is a rustic binding to TCL which allows you to embed the much-loved
scripting language into your rust programs.
Until we reach 1.0.0, this library is very unstable. Breaking changes happen pretty much every version.
clang, preferably the newest version you can get, but at least >=4.0.
I won't go into details on how to install this as it should be pretty straight forward.
tcl8.5 and its developer headers, you can install this from most
package managers. On a Debian-based operating system such as Ubuntu or
Debian itself, you can run sudo apt install tcl8.5 tcl8.5-dev.
Rust. You can install this by following the installation guide on the official rust website.
First off, install all the requirements. Afterwards, you should run updatedb.
This is because the custom build script for rusty-tcl-sys utilizes locate
to find your TCL installation. While in a perfect world it shouldn't, I found
it's the easiest way to do it.
Then, a simple cargo build --release will build the package. You can run a
few tests via cargo test.
If you need to use this as a library in your project, you can just put the
following into your Cargo.toml, after the [dependencies] header:
rusty-tcl = "*"
This package is MIT-licensed.