Skip to content

Package not found when using git url in dependency #69

Description

@kkettinger

When using a git url in a dependency, the following error appears:

    Updating git repository `https://github.com/slint-ui/slint`
error: no matching package named `slint` found
location searched: https://github.com/slint-ui/slint?branch=master#ef82edca
required by package `slint-text-rendering-artifact-demo v0.1.0 (/home/devel/repos/slint-text-rendering-artifact-demo)`

The Cargo.toml looks like this:

[package]
name = "slint-text-rendering-artifact-demo"
version = "0.1.0"
edition = "2021"
build = "build.rs"

[dependencies]
slint = { git = "https://github.com/slint-ui/slint", branch = "master" }

[build-dependencies]
slint-build = { git = "https://github.com/slint-ui/slint", branch = "master" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions