#api #set #tool #tools #x86-64 #target #build #support #x86 #bat

trans2quik

Trans2Quik API wrapper written in Rust programming language

1 unstable release

Uses old Rust 2015

0.0.1 Sep 23, 2015

350KB
2K SLoC

C# 1K SLoC // 0.1% comments C++ 813 SLoC // 0.1% comments Rust 59 SLoC // 0.2% comments Visual Studio Solution 25 SLoC Batch 2 SLoC

Contains (Windows DLL, 130KB) Trans2QuikAPI/TRANS2QUIK.dll, (DOS exe, 46KB) API_Tester_DLG.exe, (DOS exe, 30KB) Trans2QuikAPI/SAMPLE_C#/test3.exe, (static library, 21KB) TRANS2QUIK.lib, (static library, 21KB) Trans2QuikAPI/TRANS2QUIK.lib

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

Dependencies