Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Prepare 0.1.0 release (#18)
Browse files Browse the repository at this point in the history
# What ❔

Prepares 0.1.0 release for library (already on crates.io)

⚠️ renames the crate, as codegen crate name is already taken.

## Why ❔

<!-- Why are these changes done? What goal do they contribute to? What
are the principles behind them? -->
<!-- Example: PR templates ensure PR reviewers, observers, and future
iterators are in context about the evolution of repos. -->

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zk fmt` and `zk lint`.
  • Loading branch information
popzxc authored Aug 5, 2024
1 parent 82f96b7 commit 040edaf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ default-members = [
# name = "generate"
# path = "codegen-bin/src/main.rs"
# name = "bizir"
# path = "bizir/src/main.rs"
# path = "bizir/src/main.rs"
3 changes: 2 additions & 1 deletion codegen-bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ name = "codegen-bin"
version = "0.1.0"
edition = "2018"
license = "MIT OR Apache-2.0"
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
codegen = {path = "../codegen"}
zksync_solidity_vk_codegen = {path = "../codegen"}
structopt = "0.3"
dialoguer = "0.8"

Expand Down
2 changes: 1 addition & 1 deletion codegen-bin/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use codegen::{generate, Encoding};
use std::path::PathBuf;
use structopt::StructOpt;
use zksync_solidity_vk_codegen::{generate, Encoding};

const DEFAULT_OUTPUT_FILE: &str = "./hardhat/contracts";

Expand Down
19 changes: 9 additions & 10 deletions codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
[package]
name = "codegen"
name = "zksync_solidity_vk_codegen"
version = "0.1.0"
edition = "2018"
license = "MIT OR Apache-2.0"
description = "ZKsync solidity codegen for vks"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
handlebars = "*"
serde = "*"
serde_derive = "*"
serde_json = "*"
# franklin_crypto = {package = "franklin-crypto", path = "../../../matter-labs/franklin-crypto"}
# rescue_poseidon = {package = "rescue_poseidon", path = "../../../matter-labs/rescue-poseidon"}
handlebars = "3.5.5"
serde = "1"
serde_derive = "1"
serde_json = "1"

franklin-crypto = {features = ["plonk"], git = "https://github.com/matter-labs/franklin-crypto", branch = "dev"}
rescue-poseidon = {package = "rescue_poseidon", git = "https://github.com/matter-labs/rescue-poseidon"}
franklin-crypto = {features = ["plonk"], version = "=0.1.0" }
rescue-poseidon = {package = "rescue_poseidon", version = "=0.4.1" }

hex = "*"
hex = "0.4.3"
paste = "1.0"
ethereum-types = "=0.14.1"

0 comments on commit 040edaf

Please sign in to comment.