NTgCalls-rs is a Rust binding for the NTgCalls C API. It provides a safe interface for using the NTgCalls library in Rust.
Features • Usage • Installation • Contributing • License
- Safe Rust interface for NTgCalls
- Automatic linking of NTgCalls shared library
- Cross-platform support
Add this to your Cargo.toml:
[dependencies]
ntgcalls = { git = "https://github.com/YouKnow-sys/ntgcalls-rs.git" } # not yet released to crates.io
Then you can use the NTgCalls API:
use ntgcalls::NTgCall;
let ntgcalls = NTgCall::new();
// use NTgCalls API...
This crate will by default download the NTgCall precompiled shared library from github. You can change this behavior with environment variables:
NTGCAllS_BUNDLE_DIR
: Don't download and instead use files from a local folder.NTGCAllS_BUNDLE_URL
: Download the precompiled library from this URL instead.
Contributions are welcome! Please open an issue or PR.
This project is licensed under the MIT license. See LICENSE for more details.