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

Dependency issue, untrusted = "^0.5" #263

Open
Charles-Schleich opened this issue Jan 14, 2020 · 3 comments
Open

Dependency issue, untrusted = "^0.5" #263

Charles-Schleich opened this issue Jan 14, 2020 · 3 comments

Comments

@Charles-Schleich
Copy link

I was attempting to try out rust-tuf in an application,
In my Cargo.toml under dependencies, i tried both
tuf = "0.3.0-alpha3" and tuf = "0.2.0" both with the same issue.

error: failed to select a version for the requirement `untrusted = "^0.5"`
  candidate versions found which didn't match: 0.7.0, 0.6.2
  location searched: crates.io index
required by package `tuf v0.3.0-alpha3`
    ... which is depended on by `demo_tuf v0.1.0 (/home/charles/code/rust/demo_tuf)`

any idea where i should go from here ?

@erickt
Copy link
Collaborator

erickt commented Jan 15, 2020

Hello! We've fixed this in git. We're in the middle of a pretty large radical refactor, where we've migrated to futures, and made rust-tuf more compliant with the TUF-1.0 spec.

@heartsucker: I suppose we could cut a 0.3.0-alpha. I'm not sure if we want to release 0.3.0 yet, but things seem comparatively stable. We could cut a 0.3.0-alpha4 if you aren't worried about breaking compatibility with 0.3.0-alpha3.

@heartsucker
Copy link
Contributor

It says alpha, so there's not guarantees of compatibility. 😅

If you want, I can cut another alpha from the head of master and push it.

@heartsucker
Copy link
Contributor

Looks like we have a problem. Cargo won't let me publish.

$ cargo publish
    Updating crates.io index
   Packaging tuf v0.3.0-alpha4 (/home/heartsucker/code/heartsucker/rust-tuf)
error: failed to prepare local package for uploading

Caused by:
  failed to add to archive: `tests/interop/fuchsia-go-tuf-5527fe/consistent-snapshot-true/0/repository/be6d8b504eb5b9d6ca62560cac184f3133610f82142a7d49da6b7e0b84e927d570b0316d5de51b13782366bca29e201d5ed179e8433b93e5c903f0ebe06ded55.snapshot.json`

Caused by:
  provided value is too long when setting path for tuf-0.3.0-alpha4/tests/interop/fuchsia-go-tuf-5527fe/consistent-snapshot-true/0/repository/

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

3 participants