Skip to content

Commit

Permalink
release 0.7.0 (#1282)
Browse files Browse the repository at this point in the history
  • Loading branch information
pefontana committed Jun 26, 2023
1 parent 9932cba commit 8e133a2
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 39 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#### Upcoming Changes

#### [0.7.0] - 2023-6-26

* BREAKING: Integrate `RunResources` logic into `HintProcessor` trait [#1274](https://github.com/lambdaclass/cairo-rs/pull/1274)
* Rename trait `HintProcessor` to `HintProcessorLogic`
* Add trait `ResourceTracker`
Expand All @@ -10,7 +12,7 @@
* `HintProcessorLogic::execute_hint` no longer receives `run_resources: &mut RunResources`
* Remove argument `run_resources: &mut RunResources` from `CairoRunner::run_until_pc` & `CairoRunner::run_from_entrypoint`

* build: remove unused implicit features from cairo-vm
* build: remove unused implicit features from cairo-vm [#1266](https://github.com/lambdaclass/cairo-rs/pull/1266)

#### [0.6.1] - 2023-6-23

Expand Down
58 changes: 29 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ thiserror-no-std = { version = "2.0.2", default-features = false }
# https://stackoverflow.com/questions/70630556/parse-allowing-nested-parentheses-in-nom
# There is a proposal for extending nom::delimited to use this function:
# https://github.com/Geal/nom/issues/1253
parse-hyperlinks = { package = "cairo-take_until_unbalanced", path = "./deps/parse-hyperlinks", version = "0.30.0", default-features = false, features = [
parse-hyperlinks = { package = "cairo-take_until_unbalanced", path = "./deps/parse-hyperlinks", version = "0.31.0", default-features = false, features = [
"alloc",
] }
felt = { package = "cairo-felt", path = "./felt", version = "0.6.1", default-features = false, features = [
felt = { package = "cairo-felt", path = "./felt", version = "0.7.0", default-features = false, features = [
"alloc",
] }
bitvec = { version = "1", default-features = false, features = ["alloc"] }
Expand Down
4 changes: 2 additions & 2 deletions cairo-vm-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "cairo-vm-cli"
version = "0.6.1"
version = "0.7.0"
edition = "2021"

[dependencies]
bincode = { version = "2.0.0-rc.2", tag = "v2.0.0-rc.2", git = "https://github.com/bincode-org/bincode.git" }
cairo-vm = { path = "../vm", version = "0.6.1" }
cairo-vm = { path = "../vm", version = "0.7.0" }
clap = { version = "3.2.5", features = ["derive"] }
mimalloc = { version = "0.1.29", default-features = false, optional = true }
nom = "7"
Expand Down
2 changes: 1 addition & 1 deletion deps/parse-hyperlinks/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cairo-take_until_unbalanced"
version = "0.30.0"
version = "0.31.0"
authors = [
"Jens Getreu <getreu@[email protected]>",
"LambdaClass <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion felt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cairo-felt"
version = "0.6.1"
version = "0.7.0"
edition = "2021"
license = "Apache-2.0"
description = "Field elements representation for the Cairo VM"
Expand Down
4 changes: 2 additions & 2 deletions hint_accountant/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "hint_accountant"
version = "0.6.1"
version = "0.7.0"
edition = "2021"
license = "Apache-2.0"
description = "A script to check which whitelisted hints we're missing"

[dependencies]
cairo-vm = { path = "../vm", version = "0.6.1" }
cairo-vm = { path = "../vm", version = "0.7.0" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
2 changes: 1 addition & 1 deletion vm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cairo-vm"
version = "0.6.1"
version = "0.7.0"
edition = "2021"
license = "Apache-2.0"
description = "Blazing fast Cairo interpreter"
Expand Down

1 comment on commit 8e133a2

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.30.

Benchmark suite Current: 8e133a2 Previous: 9932cba Ratio
add_u64_with_felt/0 1 ns/iter (± 0) 0 ns/iter (± 0) Infinity
add_u64_with_felt/1 3 ns/iter (± 0) 2 ns/iter (± 0) 1.50
add_u64_with_felt/2 3 ns/iter (± 0) 2 ns/iter (± 0) 1.50
add_u64_with_felt/3 2 ns/iter (± 0) 1 ns/iter (± 0) 2
add_u64_with_felt/4 2 ns/iter (± 0) 1 ns/iter (± 0) 2
add_u64_with_felt/5 2 ns/iter (± 0) 1 ns/iter (± 0) 2
add_u64_with_felt/6 4 ns/iter (± 0) 3 ns/iter (± 0) 1.33
add_u64_with_felt/7 4 ns/iter (± 0) 3 ns/iter (± 0) 1.33
add_u64_with_felt/8 3 ns/iter (± 0) 2 ns/iter (± 0) 1.50

This comment was automatically generated by workflow using github-action-benchmark.

CC: @unbalancedparentheses

Please sign in to comment.