Skip to content

Consider moving the bundled copy of HarfBuzz to a distinct optional crate #276

Description

@hsivonen

Currently, harfbuzz-sys contains 1) a copy of HarfBuzz itself and 2) a build.rs that probes for system HarfBuzz.

The bundled copy of HarfBuzz poses the problem that when a project with code browsing tools does not use the bundled copy of HarfBuzz, the bundled copy is confusing for code search and code browsing tools, and potentially for SBOM analysis.

The build.rs was a blocker for me to get the crates building for Android.

For projects that already manage the build of HarfBuzz itself in other ways, these issues would be solved by moving the bundled copy of HarfBuzz and the associated build.rs into an optional distinct dependency of harfbuzz-sys. Something like harfbuzz-bundled that woud be off by default and could be included by bundled feature of harfbuzz-sys.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions