egui_flex 0.6.0

A flexbox-like layout system for egui.
Documentation
# 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 = "2024"
name = "egui_flex"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A flexbox-like layout system for egui."
homepage = "https://lucasmerlin.github.io/hello_egui/#/example/flex"
readme = "README.md"
keywords = [
    "egui",
    "flexbox",
    "layout",
    "gui",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/lucasmerlin/hello_egui/tree/main/crates/egui_flex"
resolver = "2"

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

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

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

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

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

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

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

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

[dependencies.egui]
version = "0.34.0"
default-features = false

[dev-dependencies.eframe]
version = "0.34.0"
features = ["wgpu"]
default-features = true

[dev-dependencies.egui]
version = "0.34.0"
features = ["callstack"]
default-features = false

[dev-dependencies.egui_inbox]
version = "0.11.0"

[dev-dependencies.egui_kittest]
version = "0.34.0"
features = [
    "wgpu",
    "snapshot",
]

[dev-dependencies.hello_egui_utils_dev]
version = "0.3.0"

[dev-dependencies.rstest]
version = "0.26.1"

[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 12

[lints.clippy.cast_precision_loss]
level = "allow"
priority = 11

[lints.clippy.cast_sign_loss]
level = "allow"
priority = 13

[lints.clippy.doc_markdown]
level = "allow"
priority = 21

[lints.clippy.enum_glob_use]
level = "deny"
priority = 2

[lints.clippy.float_cmp]
level = "allow"
priority = 14

[lints.clippy.missing_errors_doc]
level = "allow"
priority = 19

[lints.clippy.missing_fields_in_debug]
level = "allow"
priority = 20

[lints.clippy.missing_panics_doc]
level = "allow"
priority = 18

[lints.clippy.module_name_repetitions]
level = "allow"
priority = 10

[lints.clippy.must_use_candidate]
level = "allow"
priority = 16

[lints.clippy.pedantic]
level = "deny"
priority = 1

[lints.clippy.perf]
level = "warn"
priority = 3

[lints.clippy.return_self_not_must_use]
level = "allow"
priority = 17

[lints.clippy.struct_excessive_bools]
level = "allow"
priority = 15

[lints.clippy.style]
level = "warn"
priority = 4

[lints.rust]
unsafe_code = "deny"