Crates.io | trans2quik |
lib.rs | trans2quik |
version | 0.0.1 |
source | src |
created_at | 2015-09-23 09:02:16.479159 |
updated_at | 2015-12-11 23:59:11.698689 |
description | TRANS2QUIK wrapper for Rust. |
homepage | |
repository | https://github.com/DenisKolodin/trans2quik-rs/ |
max_upload_size | |
id | 3092 |
size | 747,866 |
IMPORTANT! This library support only 2 targets, because TRANS2QUIK API implemented as 32-bit version for Windows only:
To use trans2quik
, first add this to your Cargo.toml
:
[dependencies]
trans2quik = "*"
Then, add this to your crate root:
extern crate trans2quik;
To build with this library you have to put Trans2Quik.dll
and Trans2Quik.lib
in right places (library doesn't have an installer). But you also can set up environment variables.
For i686-pc-windows-msvc target set (VS2012 x86 Native Tools Command Prompt):
set TRANS2QUIK_PATH=<path_to_your_Trans2QUIKAPI>
set LIB=%TRANS2QUIK_PATH%;%LIB%
For i686-pc-windows-gnu target set (msys2_shell.bat):
LIBRARY_PATH=<path_to_your_Trans2QUIKAPI> cargo build