add: ffi node api for other languages

- WIP xml script parser

Signed-off-by: Pakin <pakin.t@forth.co.th>
This commit is contained in:
Pakin 2026-05-25 08:17:43 +07:00
parent 21984bdfba
commit 8a98f29c9d
23 changed files with 2591 additions and 279 deletions

View file

@ -3,17 +3,34 @@ name = "libtbr"
version = "0.1.1"
edition = "2024"
[lib]
name = "tbr"
crate-type = ["rlib", "cdylib"]
[[bin]]
name = "uniffi-bindgen"
path = "uniffi-bindgen.rs"
[dependencies]
chrono = "0.4.41"
chrono = "0.4.44"
flate2 = "1.1.2"
git2 = "0.20.2"
indexmap = "2.14.0"
log = "0.4.27"
lalrpop-util = { version = "0.20.0", features = ["lexer"] }
openssl-sys = { version = "0.9.116", features = ["vendored"] }
quick-xml = "0.39.2"
rand = "0.9.2"
rayon = "1.10.0"
serde = { version = "1.0.219", features = ["derive", "serde_derive"] }
serde_json = "1.0.140"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.150"
tar = "0.4.44"
uniffi = { version = "0.31.1", features = ["cli", "tokio"] }
walkdir = "2.5.0"
zip = "5.0.0"
[build-dependencies]
lalrpop = "0.20.0"
[dev-dependencies]
uniffi = { version = "0.31.1", features = ["build"] }