sys ncnn-sys

just a ncnn rust unsafe binding

7 releases

0.2.0 Feb 14, 2023
0.1.7 Jan 22, 2022
0.1.4 Jun 29, 2021
0.1.3 Jan 9, 2021
0.1.1 Jan 7, 2020

31 downloads per month

Custom license

33MB
2.5K SLoC

Lua 1.5K SLoC // 0.0% comments Python 1.5K SLoC // 0.0% comments Rust 150 SLoC // 0.0% comments

Contains (static library, 14MB) ncnn/ncnn/lib/ncnn.lib, (static library, 7.5MB) ncnn/ncnn/lib/MachineIndependent.lib, (DOS exe, 4.5MB) vulkan/Bin/glslangValidator.exe, (static library, 3MB) ncnn/ncnn/lib/SPIRV.lib, (DOS exe, 3MB) vulkan/Bin32/glslangValidator.exe, (static library, 250KB) ncnn/ncnn/lib/glslang.lib and 5 more.

ncnn-sys

This crate just build and link ncnn to rust program as a static library, does not contain any bindings.

For speed reason, it contain an prebuilt static library for x64-windows-msvc target.

The ncnn designed to build in many platform, but this crate now only build success on windows.

Welcome pr to help me generate rust api bindings and make it work on other platform :)

Dependencies