mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
- Dialogs: ButtonPlace { Foot, Side, Body } beside the port's refusal notice and
ChildDialog; every side_buttons caller (find, hyperlink, paragraph, list manager,
form dialogs) takes button_place, keeping the port's held answers, close buttons
and name check.
- Colour picker: upstream's fixed Full arrangement, CompareSwatch and warning module;
the port's shown_model and tabbed Colors dialog kept (its buttons stand in the side
column, the Full layout's in the picker's slot); the Compact layout shows the
compare block beside its area when the host gives a compare colour; focus_on_open
goes as upstream.
- Task bar: the grip is the bar's first member on one floating surface, for the task
kind only; the selection kind and the close reason stay.
- Keymap: lookup_where's accept filter runs through upstream's winners().
- craft-gpu: upstream's provider-neutral crate, with the port's eframe start-up
choices behind a startup feature (facade gpu-startup); duplicate facade row removed.
- Facade features, ATTRIBUTION, BMP density probe, margin story fit, theme icon-pack
and dialog first-field trials: both sides kept; the clipboard presence code stays
replaced by the port's offer modules.
34 lines
1.2 KiB
TOML
34 lines
1.2 KiB
TOML
[package]
|
|
name = "craft-gpu"
|
|
description = "Provider-neutral GPU traits, GpuJob envelope, and registry (no vendor IO); with `startup`, eframe's wgpu start-up choices per platform"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = []
|
|
# GPU start-up choices for apps on eframe's wgpu backend (`configure`): backends, power preference, DX12 compiler and
|
|
# the Linux DRM device pick. Off by default, so the provider-neutral traits pull in no vendor crate.
|
|
startup = ["dep:egui-wgpu", "dep:log", "dep:pollster"]
|
|
|
|
[dependencies]
|
|
serde = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
# A `[patch.crates-io]` row at the framework root points egui-wgpu at the pinned egui fork; it is not a workspace dependency.
|
|
# Its `wgpu` re-export is the wgpu eframe draws with.
|
|
egui-wgpu = { version = "0.37", default-features = false, optional = true }
|
|
log = { workspace = true, optional = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
# Waits for the DirectX 12 adapter list of the start-up probe.
|
|
pollster = { version = "1", optional = true }
|
|
|
|
[dev-dependencies]
|
|
serde_json = { workspace = true }
|
|
tempfile = "3"
|