Add UniFFI iOS bridge crate

This commit is contained in:
Mikhail Kilin
2026-05-20 14:04:45 +03:00
parent 186f0edbb3
commit 0878ba78df
8 changed files with 1241 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
[package]
name = "tele-ios-ffi"
version = "0.1.0"
edition = "2021"
authors = ["Your Name <your.email@example.com>"]
description = "UniFFI bridge for the iOS Telegram client"
license = "MIT"
repository = "https://github.com/your-username/tele-tui"
[lib]
crate-type = ["cdylib", "staticlib", "rlib"]
[dependencies]
tele-core = { path = "../tele-core", features = ["test-support"] }
tokio = { version = "1", features = ["rt-multi-thread"] }
thiserror = "1.0"
uniffi = { version = "0.31.1", features = ["tokio"] }
[dev-dependencies]
tele-core = { path = "../tele-core", features = ["test-support"] }