# 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 = "hexx" version = "0.18.0" authors = ["Felix de Maneville "] build = false exclude = [".github"] autobins = false autoexamples = false autotests = false autobenches = false description = "Hexagonal utilities" readme = "README.md" keywords = [ "hexagon", "bestagon", "bevy", "geometry", ] categories = [ "game-development", "mathematics", ] license = "Apache-2.0" repository = "https://github.com/ManevilleF/hexx" resolver = "2" [profile.dev] opt-level = 1 [lib] name = "hexx" path = "src/lib.rs" [[example]] name = "3d_columns" path = "examples/3d_columns.rs" [[example]] name = "3d_picking" path = "examples/3d_picking.rs" [[example]] name = "a_star" path = "examples/a_star.rs" [[example]] name = "chunks" path = "examples/chunks.rs" [[example]] name = "field_of_movement" path = "examples/field_of_movement.rs" [[example]] name = "field_of_view" path = "examples/field_of_view.rs" [[example]] name = "hex_area" path = "examples/hex_area.rs" [[example]] name = "hex_grid" path = "examples/hex_grid.rs" [[example]] name = "merged_columns" path = "examples/merged_columns.rs" required-features = ["bevy_reflect"] [[example]] name = "mesh_builder" path = "examples/mesh_builder.rs" required-features = ["bevy_reflect"] [[example]] name = "scroll_map" path = "examples/scroll_map.rs" [[example]] name = "shapes" path = "examples/shapes.rs" required-features = ["bevy_reflect"] [[example]] name = "sprite_sheet" path = "examples/sprite_sheet.rs" [[example]] name = "wrap_map" path = "examples/wrap_map.rs" [[bench]] name = "length" path = "benches/length.rs" harness = false [[bench]] name = "lines" path = "benches/lines.rs" harness = false [[bench]] name = "rings" path = "benches/rings.rs" harness = false [[bench]] name = "storage" path = "benches/storage.rs" harness = false [[bench]] name = "wedges" path = "benches/wedges.rs" harness = false [dependencies.bevy_reflect] version = "0.14" features = ["glam"] optional = true default-features = false [dependencies.glam] version = "0.27" [dependencies.serde] version = "1" features = ["derive"] optional = true default-features = false [dev-dependencies.approx] version = "0.5" [dev-dependencies.bevy] version = "0.14" features = [ "bevy_asset", "bevy_winit", "bevy_core_pipeline", "bevy_pbr", "bevy_render", "bevy_sprite", "bevy_text", "default_font", "png", "x11", "tonemapping_luts", "bevy_gizmos", "multi_threaded", "dynamic_linking", ] default-features = false [dev-dependencies.bevy-inspector-egui] version = "0.25" [dev-dependencies.bevy_egui] version = "0.28" [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.rand] version = "0.8" [features] algorithms = [] bevy_reflect = ["dep:bevy_reflect"] default = [ "algorithms", "mesh", "grid", ] grid = [] mesh = ["serde?/std"] packed = [] serde = [ "dep:serde", "glam/serde", ] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ['cfg(target_arch, values("spirv"))']