1 stable release

1.2.0 Dec 3, 2025

#1015 in FFI

Apache-2.0

26KB
249 lines

DLPack Rust FFI binding

This is a minimal FFI binding to DLPack. DLPack is an open in-memory tensor structure for sharing tensors among frameworks.

Current FFI version is DLPack v1.2. Version of this crate will follow the DLPack version. We do not add any safe-wrappers or abstractions on top of the FFI layer.

This crate is not official bindgen project. This project will only serve as a minimal binding layer for users who want to build their own safe abstractions on top of DLPack FFI. We will not add anything other than bindgen automatically generated code.

No runtime deps