Skip to content

fontkit dependency error #205

Description

@pk3zip

when font kit dependency is added to project error is caused

    Updating crates.io index
error: failed to select a version for `yeslogic-fontconfig-sys`.
    ... required by package `font-kit v0.13.0`
    ... which satisfies dependency `font-kit = "^0.13"` of package `raqote v0.8.4`
    ... which satisfies dependency `raqote = "^0.8.4"` of package `############# v0.1.0 (/home/sk337/##############)`
versions that meet the requirements `^5.0` are: 5.0.0

the package `yeslogic-fontconfig-sys` links to the native library `fontconfig`, but it conflicts with a previous package which links to `fontconfig` as well:
package `yeslogic-fontconfig-sys v6.0.0`
    ... which satisfies dependency `yeslogic-fontconfig-sys = "^6.0"` of package `font-kit v0.14.1`
    ... which satisfies dependency `font-kit = "^0.14"` of package `############# v0.1.0 (/home/sk337/#######)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the `links = "fontconfig"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

failed to select a version for `yeslogic-fontconfig-sys` which could resolve this conflict

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions