trans2quik

Crates.iotrans2quik
lib.rstrans2quik
version0.0.1
sourcesrc
created_at2015-09-23 09:02:16.479159
updated_at2015-12-11 23:59:11.698689
descriptionTRANS2QUIK wrapper for Rust.
homepage
repositoryhttps://github.com/DenisKolodin/trans2quik-rs/
max_upload_size
id3092
size747,866
Denis Kolodin (therustmonk)

documentation

README

Rust wrapper for TRANS2QUIK API

Supported targets

IMPORTANT! This library support only 2 targets, because TRANS2QUIK API implemented as 32-bit version for Windows only:

  • i686-pc-windows-msvc
  • i686-pc-windows-gnu

Usage

To use trans2quik, first add this to your Cargo.toml:

[dependencies]
trans2quik = "*"

Then, add this to your crate root:

extern crate trans2quik;

Build

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
Commit count: 1

cargo fmt