0.0.4 |
|
---|---|
0.0.3 |
|
0.0.2 |
|
0.0.1 |
|
#86 in #golang
12MB
11K
SLoC
Contains (static library, 11MB) docs.rs-build/libuhppoted.a, (Mach-o exe, 535KB) examples, (Mach-o exe, 475KB) vendor/uhppoted-dll/tests/c++/tests, (Mach-o exe, 75KB) vendor/uhppoted-dll/tests/c/tests
uhppote-sys
NOTE: This project has been deprecated!
This crate contains FFI bindings for uhppoted-dll that's part of the uhppoted project.
This crate provides low-level and unsafe access to uhppoted-dll
. Please use 'uhppote-rs' for safe Rust access to uhppoted-dll
.
NOTE Because uhppoted-dll
is a Golang library, a working golang installation is necessary to build and use this crate.
How this is built
Most of this crate is generated in build.rs
.
- The original
uhppoted-dll
source code can be found insrc/vendoruhppoted-dll
and is compiled usinggo build
to compile a static archive. - The resulting
uhppoted-dll
static library is then copied to thetarget/
directory. bindgen
is used to generate the Rust bindings from theuhppoted-dll
C header file.- The Rust bindings and static library are then compiled and linked into a single library.
Building from source
git submodule update --init --recursive
cargo build --release