Skip to content

refactor(sys): adopt system-deps, preserve source build via add_build_internal#121

Open
slowsage wants to merge 1 commit into
ndesh26:masterfrom
slowsage:chore/system-deps
Open

refactor(sys): adopt system-deps, preserve source build via add_build_internal#121
slowsage wants to merge 1 commit into
ndesh26:masterfrom
slowsage:chore/system-deps

Conversation

@slowsage

@slowsage slowsage commented Jun 25, 2026

Copy link
Copy Markdown
  • replace pkg-config + cc build-deps with system-deps = "7"
  • declare libevdev >= 1.0 in package.metadata.system-deps; v1_10 override enforces >= 1.10 when that feature is active
  • source build fallback preserved via add_build_internal: defaults to auto (probe first, build from source on failure); override with SYSTEM_DEPS_LIBEVDEV_BUILD_INTERNAL=always|never
  • reduce build.rs from 147 lines to 62

BREAKING: feature renamed from libevdev-1-10 to v1_10
Users must update: features = ["libevdev-1-10"] -> features = ["v1_10"]

…_internal

- replace pkg-config + cc build-deps with system-deps = "7"
- declare libevdev >= 1.0 in package.metadata.system-deps; v1_10
  override enforces >= 1.10 when that feature is active
- source build fallback preserved: defaults to auto (probe first,
  build from source on failure); override with
  SYSTEM_DEPS_LIBEVDEV_BUILD_INTERNAL=always|never
- reduce build.rs from 147 lines to 62

BREAKING: feature renamed from `libevdev-1-10` to `v1_10`
Users must update: features = ["libevdev-1-10"] -> features = ["v1_10"]
@slowsage slowsage force-pushed the chore/system-deps branch from dd8c261 to 4f946e1 Compare June 25, 2026 21:26
@slowsage slowsage changed the title refactor(sys): adopt system-deps, drop vendored source fallback refactor(sys): adopt system-deps, preserve source build via add_build_internal Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant