| # 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" |
| rust-version = "1.65" |
| name = "taffy" |
| version = "0.7.5" |
| authors = [ |
| "Alice Cecile <alice.i.cecile@gmail.com>", |
| "Johnathan Kelley <jkelleyrtp@gmail.com>", |
| "Nico Burns <nico@nicoburns.com>", |
| ] |
| build = false |
| include = [ |
| "src/**/*", |
| "examples/**/*", |
| "Cargo.toml", |
| "README.md", |
| ] |
| autolib = false |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| description = "A flexible UI layout library " |
| readme = "README.md" |
| keywords = [ |
| "cross-platform", |
| "layout", |
| "flexbox", |
| "css-grid", |
| "grid", |
| ] |
| categories = ["gui"] |
| license = "MIT" |
| repository = "https://github.com/DioxusLabs/taffy" |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| cargo-args = [ |
| "-Zunstable-options", |
| "-Zrustdoc-scrape-examples", |
| ] |
| rustdoc-args = [ |
| "--cfg", |
| "docsrs", |
| ] |
| |
| [profile.release] |
| lto = true |
| panic = "abort" |
| |
| [lib] |
| name = "taffy" |
| path = "src/lib.rs" |
| |
| [[example]] |
| name = "basic" |
| path = "examples/basic.rs" |
| doc-scrape-examples = true |
| |
| [[example]] |
| name = "custom_tree_owned_partial" |
| path = "examples/custom_tree_owned_partial.rs" |
| |
| [[example]] |
| name = "custom_tree_owned_unsafe" |
| path = "examples/custom_tree_owned_unsafe.rs" |
| |
| [[example]] |
| name = "custom_tree_vec" |
| path = "examples/custom_tree_vec.rs" |
| |
| [[example]] |
| name = "flexbox_gap" |
| path = "examples/flexbox_gap.rs" |
| |
| [[example]] |
| name = "grid_holy_grail" |
| path = "examples/grid_holy_grail.rs" |
| |
| [[example]] |
| name = "measure" |
| path = "examples/measure.rs" |
| |
| [[example]] |
| name = "nested" |
| path = "examples/nested.rs" |
| |
| [dependencies.arrayvec] |
| version = "0.7" |
| default-features = false |
| |
| [dependencies.document-features] |
| version = "0.2.7" |
| optional = true |
| |
| [dependencies.grid] |
| version = "0.15.0" |
| optional = true |
| default-features = false |
| |
| [dependencies.serde] |
| version = "1.0" |
| features = ["serde_derive"] |
| optional = true |
| default-features = false |
| |
| [dependencies.slotmap] |
| version = "1.0.6" |
| optional = true |
| default-features = false |
| |
| [dev-dependencies.serde_json] |
| version = "1.0.93" |
| |
| [features] |
| alloc = ["serde?/alloc"] |
| block_layout = [] |
| content_size = [] |
| debug = ["std"] |
| default = [ |
| "std", |
| "taffy_tree", |
| "flexbox", |
| "grid", |
| "block_layout", |
| "content_size", |
| "detailed_layout_info", |
| ] |
| detailed_layout_info = [] |
| flexbox = [] |
| grid = [ |
| "alloc", |
| "dep:grid", |
| ] |
| profile = ["std"] |
| serde = ["dep:serde"] |
| std = [ |
| "grid?/std", |
| "serde?/std", |
| "slotmap?/std", |
| ] |
| taffy_tree = ["dep:slotmap"] |