Crates.io | russimp-sys |
lib.rs | russimp-sys |
version | 2.0.2 |
source | src |
created_at | 2020-12-13 14:28:41.647044 |
updated_at | 2024-01-27 02:58:13.698583 |
description | Raw Assimp bindings for Rust |
homepage | https://github.com/jkvargas/russimp-sys |
repository | https://github.com/jkvargas/russimp-sys |
max_upload_size | |
id | 322409 |
size | 841,206 |
Unsafe Rust bindings for the Open Asset Import Library (assimp).
See: Our safe assimp Rust library
Raw bindings for the C API of assimp.
We build, test, and provide prebuilt packages for the following targets:
Additional targets that work when building from source:
Platforms that are not supported and won't build:
By default russimp-sys
is looking for the assimp
library in the system.
However there are many ways for the crate to install the library for you by specifying these crate features:
prebuilt
This features will download a prebuilt package from this repo's release page, these packages are built and published automatically every time we release a new version.
In addition, you can specify a local package by setting the RUSSIMP_PACKAGE_DIR
environment variable to the path of the package.
You can run the provided package binary to generate a package for your platform.
cargo run --bin package --features <INSERT-LINK-TYPE>
build-assimp
or static-link
The build-assimp
feature will build the library from source and link it dynamically.
The static-link
feature will build the library from source and link it statically.
Building from source requires the following dependencies:
bindgen
)nozlib
By default russimp-sys
will statically link zlibstatic
. Enabling this feature will link to the system's zlib
library.
Complete overhaul of the build process.
Expose all assimp headers.
Rework CI pipeline.
Support for local assimp packaging and local package usage. (See: prebuilt
feature)
Remove vcpkg support.
Remove nolibcxx
feature.