Skip to main content

rlottie_sys/
lib.rs

1#![no_std]
2#![allow(non_camel_case_types, non_snake_case, non_upper_case_globals)]
3
4//! Unsafe Rust bindings to rlottie.
5//!
6//! # Features
7//!
8//!  - `vendor-samsung` (enabled by default):
9//!    If rlottie cannot be found on the system, download Samsung's version of rlottie
10//!    and compile it.
11//!  - `vendor-telegram`:
12//!    If rlottie cannot be found on the system, download Telegram's version of rlottie
13//!    and compile it.
14//!
15//! You can force the use of vendored code by setting the `RLOTTIE_NO_PKG_CONFIG`
16//! environment variable at compile time.
17//!
18//! If both the `vendor-samsung` and `vendor-telegram` features are enabled, the Samsung
19//! feature has priority.
20
21include!(concat!(env!("OUT_DIR"), "/bindings.rs"));