Skip to content

Commit

Permalink
fix: explicitly set resolver version in virtual manifest (lambdaclass…
Browse files Browse the repository at this point in the history
…#1311)

* Explicitly set resolver version in virtual manifest

The default for crates with edition >= 2021 is the version 2 of the resolver.
Virtual manifests, however, default to version 1.
Seems that when we moved the VM to its own directory, we also changed the resolver we used.

* Update changelog

---------

Co-authored-by: Pedro Fontana <fontana.pedro93@gmail.com>
  • Loading branch information
2 people authored and kariy committed Jul 25, 2023
1 parent 13cf355 commit 59c1b76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Expand Up @@ -2,9 +2,12 @@

#### Upcoming Changes

* fix: specify resolver version 2 in the virtual workspace's manifest [#1311](https://github.com/lambdaclass/cairo-vm/pull/1311)

* feat: add `lambdaworks-felt` feature to `cairo-vm-cli` [#1308](https://github.com/lambdaclass/cairo-vm/pull/1308)

* chore: update dependencies, particularly clap 3.2 -> 4.3
* chore: update dependencies, particularly clap 3.2 -> 4.3 [#1309](https://github.com/lambdaclass/cairo-vm/pull/1309)

* this removes dependency on _atty_, that's no longer mantained

* chore: remove unused dependencies [#1307](https://github.com/lambdaclass/cairo-vm/pull/1307)
Expand Down
4 changes: 4 additions & 0 deletions Cargo.toml
Expand Up @@ -2,6 +2,10 @@
members = ["cairo-vm-cli", "felt", "vm", "hint_accountant"]
exclude = ["ensure-no_std"]

# Explicitly set the resolver to the default for edition >= 2021
# https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
resolver = "2"

[workspace.package]
version = "0.8.1"
edition = "2021"
Expand Down

0 comments on commit 59c1b76

Please sign in to comment.