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

taitank-safe

taitank in safe rust

7 releases

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

#6 in #mut

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–2.1MB
~34K SLoC