[package]
edition = "2024"
name = "egui-map"
version = "0.5.0"
authors = ["Rafael Amador <rafaga@duck.com"]
build = false
exclude = [
".github/",
".gitignore",
"egui-map.code-workspace",
"test/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Visual component to draw a map on screen."
readme = "README.md"
keywords = [
"egui",
"map",
"component",
]
categories = [
"graphics",
"gui",
]
license = "MIT"
repository = "https://github.com/rafaga/egui-map/"
[badges.maintenance]
status = "actively-developed"
[features]
debug_overlay = []
default = []
profile = [
"dep:tracing-subscriber",
"dep:tracing-tracy",
]
[lib]
name = "egui_map"
path = "src/lib.rs"
[[example]]
name = "animations"
path = "examples/animations.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "custom_template"
path = "examples/custom_template.rs"
[[example]]
name = "node_template_animations"
path = "examples/node_template_animations.rs"
[[example]]
name = "svg_template"
path = "examples/svg_template.rs"
[[example]]
name = "tracy_profile"
path = "examples/tracy_profile.rs"
required-features = ["profile"]
[[test]]
name = "debug_overlay"
path = "tests/debug_overlay.rs"
[[test]]
name = "map_integration"
path = "tests/map_integration.rs"
[[test]]
name = "node_animations"
path = "tests/node_animations.rs"
[[test]]
name = "node_template_kind"
path = "tests/node_template_kind.rs"
[[test]]
name = "segment_animations"
path = "tests/segment_animations.rs"
[[test]]
name = "text_scaling"
path = "tests/text_scaling.rs"
[dependencies.egui]
version = "0.36.1"
features = ["bytemuck"]
[dependencies.kdtree]
version = "0.8.0"
[dependencies.rstar]
version = "0.13.0"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3.23"
optional = true
[dependencies.tracing-tracy]
version = "0.11.4"
optional = true
[dev-dependencies.eframe]
version = "0.36.1"
[dev-dependencies.egui_extras]
version = "0.36.1"
features = ["svg"]