# 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 = "deft-yoga"
version = "0.7.0"
authors = ["Brian Schwind <brianmschwind@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for Facebook's Yoga, a Flexbox layout engine"
readme = "README.md"
license = "MIT"
repository = "https://github.com/bschwind/yoga-rs"

[features]
default = []
serde_support = [
    "serde",
    "serde_derive",
    "ordered-float/serde",
]

[lib]
name = "deft_yoga"
path = "src/lib.rs"

[[example]]
name = "incremental"
path = "examples/incremental.rs"

[[example]]
name = "layout"
path = "examples/layout.rs"

[[test]]
name = "absolute_position_test"
path = "tests/absolute_position_test.rs"

[[test]]
name = "align_content_test"
path = "tests/align_content_test.rs"

[[test]]
name = "align_items_test"
path = "tests/align_items_test.rs"

[[test]]
name = "align_self_test"
path = "tests/align_self_test.rs"

[[test]]
name = "android_news_feed"
path = "tests/android_news_feed.rs"

[[test]]
name = "aspect_ratio_test"
path = "tests/aspect_ratio_test.rs"

[[test]]
name = "baseline_func_test"
path = "tests/baseline_func_test.rs"

[[test]]
name = "border_test"
path = "tests/border_test.rs"

[[test]]
name = "computed_margin_test"
path = "tests/computed_margin_test.rs"

[[test]]
name = "computed_padding_test"
path = "tests/computed_padding_test.rs"

[[test]]
name = "context_test"
path = "tests/context_test.rs"

[[test]]
name = "default_values_test"
path = "tests/default_values_test.rs"

[[test]]
name = "dimension_test"
path = "tests/dimension_test.rs"

[[test]]
name = "dirty_marking"
path = "tests/dirty_marking.rs"

[[test]]
name = "display_test"
path = "tests/display_test.rs"

[[test]]
name = "edge_test"
path = "tests/edge_test.rs"

[[test]]
name = "flex_direction_test"
path = "tests/flex_direction_test.rs"

[[test]]
name = "flex_test"
path = "tests/flex_test.rs"

[[test]]
name = "flex_wrap_test"
path = "tests/flex_wrap_test.rs"

[[test]]
name = "gap_test"
path = "tests/gap_test.rs"

[[test]]
name = "justify_content_test"
path = "tests/justify_content_test.rs"

[[test]]
name = "margin_test"
path = "tests/margin_test.rs"

[[test]]
name = "min_max_dimension_test"
path = "tests/min_max_dimension_test.rs"

[[test]]
name = "node_child_test"
path = "tests/node_child_test.rs"

[[test]]
name = "node_drop_test"
path = "tests/node_drop_test.rs"

[[test]]
name = "padding_test"
path = "tests/padding_test.rs"

[[test]]
name = "percentage_test"
path = "tests/percentage_test.rs"

[[test]]
name = "relayout_test"
path = "tests/relayout_test.rs"

[[test]]
name = "rounding_test"
path = "tests/rounding_test.rs"

[[test]]
name = "size_overflow_test"
path = "tests/size_overflow_test.rs"

[[test]]
name = "style_test"
path = "tests/style_test.rs"

[dependencies.ordered-float]
version = "3.4.0"

[dependencies.serde]
version = "1.0.151"
optional = true

[dependencies.serde_derive]
version = "1.0.151"
optional = true

[dependencies.strum]
version = "0.27"

[dependencies.strum_macros]
version = "0.27"

[build-dependencies.bindgen]
version = "0.71.1"

[build-dependencies.cc]
version = "1.2.10"
