cclauss / iroh-ffi

FFI bindings for iroh

Home Page:https://iroh.computer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iroh-ffi

Foreign Function Interface (FFI) bindings for Iroh

This repo defines Python, Swift, and Kotlin bindings for iroh, which is written in Rust.

Published Packages:

Python: pypi Swift: Cocoapods Swift: SwifPM Rust: Crates

Repo Status: Tier 2

This is a "tier 2" repo, which means it's a repo we care about, but don't apply the same level of rigor as a "tier 1" repo. All work is done through pull requests and must pass continuous integration, but the peer review process is much lighter, and our reaction times to issues will not be as fast as tier 1 repositories.

If you're blocked on something or need to draw attention to an issue, please reach out to the iroh discord.

Library Compilation

Running cargo build --release will produce a dynamic library and a static library.

For builds targeting older versions of macOS, build with: MACOSX_DEPLOYMENT_TARGET=10.7 && cargo build --target x86_64-apple-darwin --release.

Language-Specific READMEs

Developers

Check our DEVELOPERS.md for guides on how to translate from the iroh rust API to the iroh FFI API, as well as how to set up testing for Golang and Python.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

FFI bindings for iroh

https://iroh.computer


Languages

Language:Kotlin 43.9%Language:Swift 23.9%Language:C 22.0%Language:Rust 8.5%Language:Python 1.2%Language:Shell 0.3%Language:Ruby 0.1%