Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant run an example #2217

Open
ofirbenatar opened this issue Jul 4, 2022 · 1 comment
Open

cant run an example #2217

ofirbenatar opened this issue Jul 4, 2022 · 1 comment

Comments

@ofirbenatar
Copy link

ofirbenatar commented Jul 4, 2022

error: failed to download `smallvec v1.9.0`

Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at `C:\Users\ofir ben atar\.cargo\registry\src\github.com-1ecc6299db9ec823\smallvec-1.9.0\Cargo.toml`

Caused by:
  could not parse input as TOML

Caused by:
  TOML parse error at line 1, column 1
    |
  1 |
    | ^
  Unexpected ``
  Expected key or end of input
[dependencies]
druid = { git = "https://github.com/linebender/druid.git" }
@xStrom
Copy link
Member

xStrom commented Jul 4, 2022

This does not seem to be a Druid issue, but a general Cargo issue. The C:\Users\ofir ben atar\.cargo\registry\src\github.com-1ecc6299db9ec823\smallvec-1.9.0\Cargo.toml file seems to be empty.

You can try the following to verify:

cargo install cargo-cache
cargo cache verify

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

No branches or pull requests

2 participants