Browse Source

Use workspace definitions of edition,license,rust-version,version

pull/3622/head
Emil Ernerfeldt 12 months ago
parent
commit
96bc34a66d
  1. 7
      Cargo.toml
  2. 8
      crates/ecolor/Cargo.toml
  3. 8
      crates/eframe/Cargo.toml
  4. 8
      crates/egui-wgpu/Cargo.toml
  5. 8
      crates/egui-winit/Cargo.toml
  6. 8
      crates/egui/Cargo.toml
  7. 8
      crates/egui_demo_app/Cargo.toml
  8. 8
      crates/egui_demo_lib/Cargo.toml
  9. 8
      crates/egui_extras/Cargo.toml
  10. 8
      crates/egui_glow/Cargo.toml
  11. 8
      crates/egui_plot/Cargo.toml
  12. 8
      crates/emath/Cargo.toml
  13. 6
      crates/epaint/Cargo.toml

7
Cargo.toml

@ -16,6 +16,13 @@ members = [
"examples/*", "examples/*",
] ]
[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
rust-version = "1.72"
version = "0.23.0"
[profile.release] [profile.release]
# lto = true # VERY slightly smaller wasm # lto = true # VERY slightly smaller wasm
# opt-level = 's' # 10-20% smaller wasm compared to `opt-level = 3` # opt-level = 's' # 10-20% smaller wasm compared to `opt-level = 3`

8
crates/ecolor/Cargo.toml

@ -1,15 +1,15 @@
[package] [package]
name = "ecolor" name = "ecolor"
version = "0.23.0" version.workspace = true
authors = [ authors = [
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>", "Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
"Andreas Reich <reichandreas@gmx.de>", "Andreas Reich <reichandreas@gmx.de>",
] ]
description = "Color structs and color conversion utilities" description = "Color structs and color conversion utilities"
edition = "2021" edition.workspace = true
rust-version = "1.72" rust-version.workspace = true
homepage = "https://github.com/emilk/egui" homepage = "https://github.com/emilk/egui"
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
repository = "https://github.com/emilk/egui" repository = "https://github.com/emilk/egui"
categories = ["mathematics", "encoding"] categories = ["mathematics", "encoding"]

8
crates/eframe/Cargo.toml

@ -1,12 +1,12 @@
[package] [package]
name = "eframe" name = "eframe"
version = "0.23.0" version.workspace = true
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "egui framework - write GUI apps that compiles to web and/or natively" description = "egui framework - write GUI apps that compiles to web and/or natively"
edition = "2021" edition.workspace = true
rust-version = "1.72" rust-version.workspace = true
homepage = "https://github.com/emilk/egui/tree/master/crates/eframe" homepage = "https://github.com/emilk/egui/tree/master/crates/eframe"
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
repository = "https://github.com/emilk/egui/tree/master/crates/eframe" repository = "https://github.com/emilk/egui/tree/master/crates/eframe"
categories = ["gui", "game-development"] categories = ["gui", "game-development"]

8
crates/egui-wgpu/Cargo.toml

@ -1,16 +1,16 @@
[package] [package]
name = "egui-wgpu" name = "egui-wgpu"
version = "0.23.0" version.workspace = true
description = "Bindings for using egui natively using the wgpu library" description = "Bindings for using egui natively using the wgpu library"
authors = [ authors = [
"Nils Hasenbanck <nils@hasenbanck.de>", "Nils Hasenbanck <nils@hasenbanck.de>",
"embotech <opensource@embotech.com>", "embotech <opensource@embotech.com>",
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>", "Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
] ]
edition = "2021" edition.workspace = true
rust-version = "1.72" rust-version.workspace = true
homepage = "https://github.com/emilk/egui/tree/master/crates/egui-wgpu" homepage = "https://github.com/emilk/egui/tree/master/crates/egui-wgpu"
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
repository = "https://github.com/emilk/egui/tree/master/crates/egui-wgpu" repository = "https://github.com/emilk/egui/tree/master/crates/egui-wgpu"
categories = ["gui", "game-development"] categories = ["gui", "game-development"]

8
crates/egui-winit/Cargo.toml

@ -1,12 +1,12 @@
[package] [package]
name = "egui-winit" name = "egui-winit"
version = "0.23.0" version.workspace = true
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui with winit" description = "Bindings for using egui with winit"
edition = "2021" edition.workspace = true
rust-version = "1.72" rust-version.workspace = true
homepage = "https://github.com/emilk/egui/tree/master/crates/egui-winit" homepage = "https://github.com/emilk/egui/tree/master/crates/egui-winit"
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
repository = "https://github.com/emilk/egui/tree/master/crates/egui-winit" repository = "https://github.com/emilk/egui/tree/master/crates/egui-winit"
categories = ["gui", "game-development"] categories = ["gui", "game-development"]

8
crates/egui/Cargo.toml

@ -1,12 +1,12 @@
[package] [package]
name = "egui" name = "egui"
version = "0.23.0" version.workspace = true
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "An easy-to-use immediate mode GUI that runs on both web and native" description = "An easy-to-use immediate mode GUI that runs on both web and native"
edition = "2021" edition.workspace = true
rust-version = "1.72" rust-version.workspace = true
homepage = "https://github.com/emilk/egui" homepage = "https://github.com/emilk/egui"
license = "MIT OR Apache-2.0" license.workspace = true
readme = "../../README.md" readme = "../../README.md"
repository = "https://github.com/emilk/egui" repository = "https://github.com/emilk/egui"
categories = ["gui", "game-development"] categories = ["gui", "game-development"]

8
crates/egui_demo_app/Cargo.toml

@ -1,10 +1,10 @@
[package] [package]
name = "egui_demo_app" name = "egui_demo_app"
version = "0.23.0" version.workspace = true
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
license = "MIT OR Apache-2.0" license.workspace = true
edition = "2021" edition.workspace = true
rust-version = "1.72" rust-version.workspace = true
publish = false publish = false
default-run = "egui_demo_app" default-run = "egui_demo_app"

8
crates/egui_demo_lib/Cargo.toml

@ -1,12 +1,12 @@
[package] [package]
name = "egui_demo_lib" name = "egui_demo_lib"
version = "0.23.0" version.workspace = true
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Example library for egui" description = "Example library for egui"
edition = "2021" edition.workspace = true
rust-version = "1.72" rust-version.workspace = true
homepage = "https://github.com/emilk/egui/tree/master/crates/egui_demo_lib" homepage = "https://github.com/emilk/egui/tree/master/crates/egui_demo_lib"
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
repository = "https://github.com/emilk/egui/tree/master/crates/egui_demo_lib" repository = "https://github.com/emilk/egui/tree/master/crates/egui_demo_lib"
categories = ["gui", "graphics"] categories = ["gui", "graphics"]

8
crates/egui_extras/Cargo.toml

@ -1,16 +1,16 @@
[package] [package]
name = "egui_extras" name = "egui_extras"
version = "0.23.0" version.workspace = true
authors = [ authors = [
"Dominik Rössler <dominik@freshx.de>", "Dominik Rössler <dominik@freshx.de>",
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>", "Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
"René Rössler <rene@freshx.de>", "René Rössler <rene@freshx.de>",
] ]
description = "Extra functionality and widgets for the egui GUI library" description = "Extra functionality and widgets for the egui GUI library"
edition = "2021" edition.workspace = true
rust-version = "1.72" rust-version.workspace = true
homepage = "https://github.com/emilk/egui" homepage = "https://github.com/emilk/egui"
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
repository = "https://github.com/emilk/egui" repository = "https://github.com/emilk/egui"
categories = ["gui", "game-development"] categories = ["gui", "game-development"]

8
crates/egui_glow/Cargo.toml

@ -1,12 +1,12 @@
[package] [package]
name = "egui_glow" name = "egui_glow"
version = "0.23.0" version.workspace = true
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui natively using the glow library" description = "Bindings for using egui natively using the glow library"
edition = "2021" edition.workspace = true
rust-version = "1.72" rust-version.workspace = true
homepage = "https://github.com/emilk/egui/tree/master/crates/egui_glow" homepage = "https://github.com/emilk/egui/tree/master/crates/egui_glow"
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
repository = "https://github.com/emilk/egui/tree/master/crates/egui_glow" repository = "https://github.com/emilk/egui/tree/master/crates/egui_glow"
categories = ["gui", "game-development"] categories = ["gui", "game-development"]

8
crates/egui_plot/Cargo.toml

@ -1,12 +1,12 @@
[package] [package]
name = "egui_plot" name = "egui_plot"
version = "0.23.0" version.workspace = true
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Immediate mode plotting for the egui GUI library" description = "Immediate mode plotting for the egui GUI library"
edition = "2021" edition.workspace = true
rust-version = "1.72" rust-version.workspace = true
homepage = "https://github.com/emilk/egui" homepage = "https://github.com/emilk/egui"
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
repository = "https://github.com/emilk/egui" repository = "https://github.com/emilk/egui"
categories = ["visualization", "gui"] categories = ["visualization", "gui"]

8
crates/emath/Cargo.toml

@ -1,12 +1,12 @@
[package] [package]
name = "emath" name = "emath"
version = "0.23.0" version.workspace = true
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Minimal 2D math library for GUI work" description = "Minimal 2D math library for GUI work"
edition = "2021" edition.workspace = true
rust-version = "1.72" rust-version.workspace = true
homepage = "https://github.com/emilk/egui/tree/master/crates/emath" homepage = "https://github.com/emilk/egui/tree/master/crates/emath"
license = "MIT OR Apache-2.0" license.workspace = true
readme = "README.md" readme = "README.md"
repository = "https://github.com/emilk/egui/tree/master/crates/emath" repository = "https://github.com/emilk/egui/tree/master/crates/emath"
categories = ["mathematics", "gui"] categories = ["mathematics", "gui"]

6
crates/epaint/Cargo.toml

@ -1,10 +1,10 @@
[package] [package]
name = "epaint" name = "epaint"
version = "0.23.0" version.workspace = true
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Minimal 2D graphics library for GUI work" description = "Minimal 2D graphics library for GUI work"
edition = "2021" edition.workspace = true
rust-version = "1.72" rust-version.workspace = true
homepage = "https://github.com/emilk/egui/tree/master/crates/epaint" homepage = "https://github.com/emilk/egui/tree/master/crates/epaint"
license = "(MIT OR Apache-2.0) AND OFL-1.1 AND LicenseRef-UFL-1.0" # OFL and UFL used by default_fonts. See https://github.com/emilk/egui/issues/2321 license = "(MIT OR Apache-2.0) AND OFL-1.1 AND LicenseRef-UFL-1.0" # OFL and UFL used by default_fonts. See https://github.com/emilk/egui/issues/2321
readme = "README.md" readme = "README.md"

Loading…
Cancel
Save