makepad/widgets/Cargo.toml
Arena Agent a79f0dce4d fix(widgets): remove the duplicated optional-dependency block
11375214 fixed the misplaced dependency block by adding a correct copy
inside [dependencies], but the misplaced copy below [features] was still
present -- it had already been moved back by 5eda8056, the commit
11375214 is built on. The result is three dependencies declared twice:

    error: duplicate key

so widgets/Cargo.toml still does not parse and every consumer of the
fork is still blocked, just with a different message.

Two people fixed the same bug in parallel. Removing the second, now
redundant, copy; the surviving declaration sits with the other optional
sibling crates in [dependencies].

Verified:
    cargo metadata --manifest-path widgets/Cargo.toml \
      --features maps,csg,gltf,test
resolves.
2026-07-31 19:29:17 +00:00

49 lines
2.1 KiB
TOML

[package]
name = "makepad-widgets"
version = "2.0.0"
authors = ["Makepad <info@makepad.nl>"]
edition = "2021"
description = "Makepad widgets2"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/makepad/makepad/"
repository = "https://github.com/makepad/makepad/"
metadata.makepad-auto-version = "N0YGjn7dnhc4DEHmww9lwuYwMVI="
[dependencies]
makepad-draw = { path = "../draw", version = "2.0.0" }
makepad-derive-widget = {path = "./derive_widget", version="2.0.0"}
makepad-mbtile-reader = { path = "../libs/mbtile_reader", version = "1.0.0", optional = true }
i_overlay = { path = "../libs/i_overlay", version = "7.0.3", optional = true, default-features = false }
makepad-fast-inflate = { path = "../libs/fast_inflate", optional = true }
makepad-voice = { path = "../libs/voice", version = "0.1.0", optional = true }
makepad-cef = { path = "../libs/cef", optional = true }
# Public optional sibling crates. These are re-exported from lib.rs so an
# application can depend on makepad-widgets as its sole Makepad source.
makepad-gltf = { path = "../libs/gltf", optional = true }
makepad-csg = { path = "../libs/csg/csg", optional = true }
makepad-test = { path = "../libs/makepad_test", optional = true }
makepad-html = { path = "../libs/html", version = "1.0.0" }
unicode-segmentation = { version = "1.12.0", path = "../libs/unicode/unicode-segmentation" }
pulldown-cmark = { version = "0.12.2", path = "../libs/pulldown-cmark", default-features = false, features = ["simd"] }
makepad-latex-math = { path = "../libs/latex_math", version = "0.1.0" }
makepad-pdf-parse = { path = "../libs/pdf_parse", version = "1.0.0", optional = true }
ttf-parser = { path = "../libs/ttf-parser" }
serde = { version = "1.0", optional = true, features = ["derive"] }
[features]
default = []
voice = ["dep:makepad-voice"]
maps = ["dep:makepad-mbtile-reader", "dep:makepad-fast-inflate", "dep:i_overlay"]
gltf = ["dep:makepad-gltf"]
csg = ["dep:makepad-csg"]
test = ["dep:makepad-test"]
pdf = ["dep:makepad-pdf-parse"]
cef = ["dep:makepad-cef"]
## Enables certain public-facing types to derive serde serialization traits.
serde = ["dep:serde", "makepad-draw/serde", "makepad-derive-widget/serde"]