-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
39 lines (33 loc) · 1.69 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "egui_struct"
authors = ["PingPongun <[email protected]>"]
version = "0.4.2"
edition = "2021"
license = "MIT"
exclude = ["demo/*", ".vscode/*"]
description = "EguiStruct is a rust derive macro that creates egui UI's from arbitrary structs and enums."
repository = "https://github.com/PingPongun/egui_struct"
keywords = ["egui"]
rust-version = "1.70"
[lib]
[dependencies]
egui_struct_macros = { path = "./macros/", version = "0.4.2" }
# egui dep is handled through feature to overcome cargo resolver not be able to select same egui version as used in rest of the app.
# this allows egui_struct to work with newer egui through semver patch update
# breaking-change updates (0.4, 0.5, 1., 2., ...) will update default egui version feature to newest one.
egui21 = { version = "0.21", package = "egui", default-features = false, optional = true }
egui22 = { version = "0.22", package = "egui", default-features = false, optional = true }
egui23 = { version = "0.23", package = "egui", default-features = false, optional = true }
egui24 = { version = "0.24", package = "egui", default-features = false, optional = true }
egui25 = { version = "0.25", package = "egui", default-features = false, optional = true }
egui26 = { version = "0.26", package = "egui", default-features = false, optional = true }
egui27 = { version = "0.27", package = "egui", default-features = false, optional = true }
egui28 = { version = "0.28", package = "egui", default-features = false, optional = true }
indexmap = { version = "2.0", optional = true }
[features]
egui28 = ["dep:egui28", "egui_struct_macros/egui28"]
indexmap = ["dep:indexmap"]
default = ["egui28", "i18n"]
i18n = ["egui_struct_macros/i18n"]
[workspace]
members = ["demo"]