#safe #layout #root #mut #binding #taitank

taitank-safe

taitank in safe rust

7 releases

new 0.0.6 Nov 16, 2024
0.0.4 Nov 16, 2024
0.0.2 Nov 16, 2024
0.0.1 Nov 13, 2024
0.0.0-dev.2 Nov 3, 2024

#3 in #mut

Download history 163/week @ 2024-10-28 134/week @ 2024-11-04 381/week @ 2024-11-11

678 downloads per month

MIT license

135KB
3K SLoC

C++ 2.5K SLoC // 0.2% comments Rust 217 SLoC

Taitank Safe

License Package version Workflow

Rust binding of tencent/taitank provides safe binding to the layout library.

Usage

[dependencies]
taitank_safe = "0.0.6"
use taitank_safe::*;

let mut root = node_create();

set_width(&mut root, 100.0);
set_height(&mut root, 100.0);

layout!(&mut root);

Development

$ git clone git@github.com:rustq/taitank-safe.git
$ cd taitank-safe
$ cargo run --example demo

License

MIT

Dependencies

~0.5–2MB
~33K SLoC