[package]
edition = "2021"
name = "float-pigment-forest"
version = "0.8.2"
authors = [
"LastLeaf <bqfu@163.com>",
"TtTRz <romc1224@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A node tree implementation for float-pigment-layout."
homepage = "https://github.com/wechat-miniprogram/float-pigment"
readme = "README.md"
keywords = [
"CSS",
"flexbox",
"layout",
]
categories = [
"gui",
"wasm",
]
license = "MIT"
repository = "https://github.com/wechat-miniprogram/float-pigment"
[features]
build-cpp-header = [
"cbindgen",
"fs_extra",
]
default = []
[lib]
name = "float_pigment_forest"
crate-type = [
"staticlib",
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "float_pigment_layout_cpp_binding_gen_tool"
path = "cbindgen/main.rs"
required-features = ["build-cpp-header"]
[[test]]
name = "mod"
path = "tests/mod.rs"
[[bench]]
name = "create_node"
path = "benches/create_node.rs"
harness = false
[[bench]]
name = "layout"
path = "benches/layout.rs"
harness = false
[[bench]]
name = "operate_node"
path = "benches/operate_node.rs"
harness = false
[dependencies.bit-vec]
version = "0.6.3"
[dependencies.cbindgen]
version = "0.27"
optional = true
[dependencies.euclid]
version = "0.22"
[dependencies.float-pigment-css]
version = "0.8.2"
default-features = false
[dependencies.float-pigment-forest-macro]
version = "0.8.2"
[dependencies.float-pigment-layout]
version = "0.8.2"
[dependencies.fs_extra]
version = "1.3"
optional = true
[dependencies.lazy_static]
version = "1.4"
[dependencies.lru]
version = "0.7.8"
[dev-dependencies.criterion]
version = "0.5.1"
[dev-dependencies.float-pigment-mlp]
version = "0.8.2"
[dev-dependencies.rand]
version = "0.8.5"
[dev-dependencies.rustc-hash]
version = "1.1.0"
[target.'cfg(target_os="macos")'.dev-dependencies.piston_window]
version = "0.128.0"
[lints.clippy]
clone_on_copy = "allow"
missing_safety_doc = "allow"