Add FFI example (#2037)

* Add FFI example

* Remove unnecessary dependency (libc)

* Tweak python example and add CI
CI Tweak; separate task for ffi-example run

* Remove OnceCell dep; use std

---------

Co-authored-by: wassimans <wassim@wassimans.com>
This commit is contained in:
James Wilson
2025-07-08 12:06:13 +01:00
committed by GitHub
parent 17b98d0d9e
commit ff6fc1585e
11 changed files with 4241 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
[package]
name = "subxt-ffi"
version = "0.1.0"
edition = "2024"
[dependencies]
hex = "0.4.3"
subxt = { path = "../../subxt" }
subxt-signer = { path = "../../signer" }
tokio = { version = "1", features = ["full"] }
[lib]
crate-type = ["cdylib"]
name = "subxt_ffi"