Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpiet druid experiment #2273

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 35 additions & 18 deletions druid-shell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,47 @@ wayland = [
"bindgen",
"pkg-config",
]
# Implement HasRawWindowHandle for WindowHandle
raw-win-handle = ["raw-window-handle"]

# passing on all the image features. AVIF is not supported because it does not
# support decoding, and that's all we use `Image` for.
image_png = ["piet-common/image_png"]
jpeg = ["piet-common/jpeg"]
jpeg_rayon = ["piet-common/jpeg_rayon"]
gif = ["piet-common/gif"]
bmp = ["piet-common/bmp"]
ico = ["piet-common/ico"]
tiff = ["piet-common/tiff"]
webp = ["piet-common/webp"]
pnm = ["piet-common/pnm"]
dds = ["piet-common/dds"]
tga = ["piet-common/tga"]
farbfeld = ["piet-common/farbfeld"]
dxt = ["piet-common/dxt"]
hdr = ["piet-common/hdr"]
# image_png = ["piet-common/image_png"]
# jpeg = ["piet-common/jpeg"]
# jpeg_rayon = ["piet-common/jpeg_rayon"]
# gif = ["piet-common/gif"]
# bmp = ["piet-common/bmp"]
# ico = ["piet-common/ico"]
# tiff = ["piet-common/tiff"]
# webp = ["piet-common/webp"]
# pnm = ["piet-common/pnm"]
# dds = ["piet-common/dds"]
# tga = ["piet-common/tga"]
# farbfeld = ["piet-common/farbfeld"]
# dxt = ["piet-common/dxt"]
# hdr = ["piet-common/hdr"]
bmp = []
dds = []
dxt = []
farbfeld = []
gif = []
jpeg = []
png = []
ico = []
tiff = []
webp = []
tga = []
hdr = []
image_png = []
jpeg_rayon = []
pnm = []



serde = ["kurbo/serde"]

[dependencies]
# NOTE: When changing the piet or kurbo versions, ensure that
# the kurbo version included in piet is compatible with the kurbo version specified here.
piet-common = "=0.5.0"
# piet-common = "=0.5.0"
kurbo = "0.8.2"

tracing = "0.1.22"
Expand All @@ -76,7 +92,7 @@ keyboard-types = { version = "0.6.2", default_features = false }

# Optional dependencies
image = { version = "0.23.12", optional = true, default_features = false }
raw-window-handle = { version = "0.4.2", optional = true, default_features = false }
raw-window-handle = { version = "0.4.2", default_features = false }

[target.'cfg(target_os="windows")'.dependencies]
scopeguard = "1.1.0"
Expand Down Expand Up @@ -132,6 +148,7 @@ static_assertions = "1.1.0"
test-log = { version = "0.2.5", features = ["trace"], default-features = false }
tracing-subscriber = { version = "0.3.2", features = ["env-filter"] }
unicode-segmentation = "1.7.0"
piet-gpu-hal = { git = "https://github.com/linebender/piet-gpu", rev = "947a85f" }

[build-dependencies]
bindgen = {version = "0.58", optional = true}
Expand Down
Loading