1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14rust-version = "1.65" 15name = "taffy" 16version = "0.7.7" 17authors = [ 18 "Alice Cecile <alice.i.cecile@gmail.com>", 19 "Johnathan Kelley <jkelleyrtp@gmail.com>", 20 "Nico Burns <nico@nicoburns.com>", 21] 22build = false 23include = [ 24 "src/**/*", 25 "examples/**/*", 26 "Cargo.toml", 27 "README.md", 28] 29autolib = false 30autobins = false 31autoexamples = false 32autotests = false 33autobenches = false 34description = "A flexible UI layout library " 35readme = "README.md" 36keywords = [ 37 "cross-platform", 38 "layout", 39 "flexbox", 40 "css-grid", 41 "grid", 42] 43categories = ["gui"] 44license = "MIT" 45repository = "https://github.com/DioxusLabs/taffy" 46 47[package.metadata.docs.rs] 48all-features = true 49cargo-args = [ 50 "-Zunstable-options", 51 "-Zrustdoc-scrape-examples", 52] 53rustdoc-args = [ 54 "--cfg", 55 "docsrs", 56] 57 58[features] 59alloc = ["serde?/alloc"] 60block_layout = [] 61content_size = [] 62debug = ["std"] 63default = [ 64 "std", 65 "taffy_tree", 66 "flexbox", 67 "grid", 68 "block_layout", 69 "content_size", 70 "detailed_layout_info", 71] 72detailed_layout_info = [] 73flexbox = [] 74grid = [ 75 "alloc", 76 "dep:grid", 77] 78profile = ["std"] 79serde = ["dep:serde"] 80std = [ 81 "grid?/std", 82 "serde?/std", 83 "slotmap?/std", 84] 85taffy_tree = ["dep:slotmap"] 86 87[lib] 88name = "taffy" 89path = "src/lib.rs" 90 91[[example]] 92name = "basic" 93path = "examples/basic.rs" 94doc-scrape-examples = true 95 96[[example]] 97name = "custom_tree_owned_partial" 98path = "examples/custom_tree_owned_partial.rs" 99 100[[example]] 101name = "custom_tree_owned_unsafe" 102path = "examples/custom_tree_owned_unsafe.rs" 103 104[[example]] 105name = "custom_tree_vec" 106path = "examples/custom_tree_vec.rs" 107 108[[example]] 109name = "flexbox_gap" 110path = "examples/flexbox_gap.rs" 111 112[[example]] 113name = "grid_holy_grail" 114path = "examples/grid_holy_grail.rs" 115 116[[example]] 117name = "measure" 118path = "examples/measure.rs" 119 120[[example]] 121name = "nested" 122path = "examples/nested.rs" 123 124[dependencies.arrayvec] 125version = "0.7" 126default-features = false 127 128[dependencies.document-features] 129version = "0.2.7" 130optional = true 131 132[dependencies.grid] 133version = "0.15.0" 134optional = true 135default-features = false 136 137[dependencies.serde] 138version = "1.0" 139features = ["serde_derive"] 140optional = true 141default-features = false 142 143[dependencies.slotmap] 144version = "1.0.6" 145optional = true 146default-features = false 147 148[dev-dependencies.serde_json] 149version = "1.0.93" 150 151[profile.release] 152lto = true 153panic = "abort" 154