UGLYPEAR AI has evolved: high-performance document compression × a RAG data engineering platformExplore the new platform →

Rust Compression SDK

A standard C ABI, prebuilt for 6 platforms, callable from any language.

Product Overview

The compression core behind every SmartSlim product

The Rust Compression SDK is the engine shared by SmartSlim Desktop, Server, and Enterprise. Written in Rust, it exports a standard C ABI and ships as a dynamic library (.so / .dylib / .dll), so you can call it from Python, Rust, Java, C#, or any language that speaks C. Built-in license verification ensures only authorized applications can invoke the compression engine.

License: proprietary, with four tiers — Trial / Standard / Professional / Enterprise
C ABI 6 Prebuilt Platforms License Verification Progress Callbacks Batch Processing

Core API Surface

A clean C ABI that's easy to integrate

  • Initialization & self-check: A single init call allocates resources and runs startup diagnostics automatically.
  • Signature registration: The host app registers a signature callback, used to verify identity at runtime.
  • Single-file compression: Fine-grained control over input/output paths, compression level, scenario preset, and performance tier.
  • Directory batch compression: Recursively walk a whole directory and compress it in one go.
  • Progress callbacks: Receive real-time progress percentages and stage updates through a callback, so your UI stays live.
Integration: the SDK ships as a dynamic library with standard C headers, ready for Python, Rust, Java, C#, or any language with C bindings. Full integration docs are included.

Prebuilt for 6 Platforms

Works out of the box — no Rust toolchain required

linux-x64

x86_64 Linux desktop and general environments, as a .so dynamic library.

linux-arm64

aarch64 Linux, as a .so dynamic library.

linux-server-x64

x86_64 Linux server build with license verification and audit capabilities enabled.

linux-server-arm64

aarch64 Linux server build for ARM64 server hardware.

macos-universal

Universal binary covering both Intel and Apple Silicon, as a .dylib dynamic library.

windows-x64

x86_64 Windows, as a .dll dynamic library.

Security & Licensing

Layered protection against unauthorized use

Caller Identity Verification

A signature mechanism verifies every caller. Third parties without proper integration simply can't pass the check.

License-Key Verification

Server builds validate licenses with offline license keys; moving to new hardware requires re-authorization.

Runtime Protection

Built-in runtime hardening blocks unauthorized calls and resists reverse engineering — on every supported platform.

License Tiers & Entitlements

Four tiers — enable exactly the capabilities you need

License Tier Image Compression Video Compression Audio Compression Document Compression Max Concurrency Batch Processing
Trial 1
Standard 4
Professional 8
Enterprise 16+
How entitlements work: each license key encodes feature switches for image, video, audio, and document compression, plus max concurrency and batch processing — configurable per tier.

Integrate from Any Language

Build once, call from anywhere

Python (ctypes)

Load the library with ctypes.CDLL and declare functions and callbacks using c_char_p, c_void_p, and CFUNCTYPE.

Rust (FFI)

Declare the functions with extern "C", link the library, and call the C ABI directly — zero overhead.

Java (JNI)

Write a thin JNI bridge, load the library with System.loadLibrary, and call the C ABI from native methods.

C# (P/Invoke)

Declare external functions with the [DllImport] attribute and let the .NET runtime load the library for you.

Prefer an API Instead?

Skip the SDK and call compression over REST — full docs, code samples, and SDK downloads included.

API Documentation Code Examples SDK Downloads

Get a License

Contact our team for a trial license and full integration documentation.

Talk to Sales Inside the Engine

Related Articles