# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "float-pigment-forest" version = "0.2.0" authors = [ "LastLeaf ", "TtTRz ", ] build = 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" [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.concat-idents] version = "1.1.3" [dependencies.euclid] version = "0.22" [dependencies.float-pigment-css] version = "0.2.0" default-features = false [dependencies.float-pigment-forest-macro] version = "0.2.0" [dependencies.float-pigment-layout] version = "0.2.0" [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.2.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.rustc-hash] version = "1.1.0" [features] build-cpp-header = [ "cbindgen", "fs_extra", ] default = [] [target.'cfg(target_os="macos")'.dev-dependencies.piston_window] version = "0.128.0" [lints.clippy] clone_on_copy = "allow" missing_safety_doc = "allow"