#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

#3 in #mut

Download history 278/week @ 2024-11-01 111/week @ 2024-11-08 335/week @ 2024-11-15 22/week @ 2024-11-22 26/week @ 2024-11-29 6/week @ 2024-12-06

426 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.6–2.2MB
~35K SLoC