Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 436 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 436 Bytes

Readme

  1. build
  2. copy native library in path
  3. generate the bindings
# build library
cargo build

# copy library in path and rename
cp ./target/debug/libmath.dylib ./src/libuniffi_math.dylib

# generate bindings
uniffi-bindgen generate src/math.udl --language python

# use library
cd ./src/
python3 additions.py

UniFFI

Full UniFFI docs and user guide here