Skip to content

Commit

Permalink
Merge pull request #38 from yangby-cryptape/pr/release-v0.7.0
Browse files Browse the repository at this point in the history
chore: bump all dependencies to the latest version and then release a new version
  • Loading branch information
yangby-cryptape committed Jan 14, 2021
2 parents 306aff4 + 7ab38ce commit f53dab0
Show file tree
Hide file tree
Showing 10 changed files with 214 additions and 236 deletions.
2 changes: 1 addition & 1 deletion bindings/c/include/molecule_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ extern "C" {
#define MOLECULE_API_DECORATOR
#endif /* MOLECULE_API_DECORATOR */

#define MOLECULE_API_VERSION 5000
#define MOLECULE_API_VERSION 7000
#define MOLECULEC_VERSION_MIN 5000

#if MOLECULE_API_VERSION < MOLECULE_API_VERSION_MIN
Expand Down
8 changes: 4 additions & 4 deletions bindings/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "molecule"
version = "0.6.1"
version = "0.7.0"
authors = ["Nervos Core Dev <dev@nervos.org>"]
edition = "2018"
description = "Rust bindings for molecule."
Expand All @@ -11,9 +11,9 @@ categories = ["encoding", "data-structures"]
license = "MIT"

[dependencies]
cfg-if = "~0.1"
bytes = { version = "~0.5", optional = true }
faster-hex = { version = "~0.4", optional = true }
cfg-if = "1.0.0"
bytes = { version = "1.0.0", optional = true }
faster-hex = { version = "0.4.1", optional = true }

[features]
default = ["std"]
Expand Down
8 changes: 4 additions & 4 deletions examples/ci-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "molecule-ci-tests"
version = "0.6.1"
version = "0.7.0"
authors = ["Nervos Core Dev <dev@nervos.org>"]
edition = "2018"

Expand All @@ -13,12 +13,12 @@ molecule = { path = "../../bindings/rust", default-features = false }

[build-dependencies]
codegen = { package ="molecule-codegen", path = "../../tools/codegen" }
cc = "~1.0"
cc = "1.0.66"

[dev-dependencies]
molecule-tests-utils-rust = { path = "../tests-utils-rust" }
slices = "~0.1"
proptest = "~0.9"
slices = "0.1.1"
proptest = "0.10.1"

[features]
default = ["std"]
Expand Down
14 changes: 7 additions & 7 deletions examples/tests-loader/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "molecule-tests-loader"
version = "0.6.1"
version = "0.7.0"
authors = ["Nervos Core Dev <dev@nervos.org>"]
edition = "2018"

[dependencies]
codegen = { package ="molecule-codegen", path = "../../tools/codegen" }
syn = "~1.0"
quote = "~1.0"
proc-macro2 = "~1.0"
serde = { version = "~1.0", features = ["derive"] }
faster-hex = "~0.4"
property = "~0.3"
syn = "1.0.58"
quote = "1.0.8"
proc-macro2 = "1.0.24"
serde = { version = "1.0.118", features = ["derive"] }
faster-hex = "0.4.1"
property = "0.3.3"
4 changes: 2 additions & 2 deletions examples/tests-utils-c/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "molecule-tests-utils-c"
version = "0.6.1"
version = "0.7.0"
authors = ["Nervos Core Dev <dev@nervos.org>"]
edition = "2018"

[dependencies]
codegen = { package ="molecule-codegen", path = "../../tools/codegen" }
tests-loader = { package ="molecule-tests-loader", path = "../tests-loader" }
serde_yaml = "~0.8"
serde_yaml = "0.8.15"
10 changes: 5 additions & 5 deletions examples/tests-utils-rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "molecule-tests-utils-rust"
version = "0.6.1"
version = "0.7.0"
authors = ["Nervos Core Dev <dev@nervos.org>"]
edition = "2018"

Expand All @@ -10,7 +10,7 @@ proc-macro = true
[dependencies]
codegen = { package ="molecule-codegen", path = "../../tools/codegen" }
tests-loader = { package ="molecule-tests-loader", path = "../tests-loader" }
syn = "~1.0"
quote = "~1.0"
proc-macro2 = "~1.0"
serde_yaml = "~0.8"
syn = "1.0.58"
quote = "1.0.8"
proc-macro2 = "1.0.24"
serde_yaml = "0.8.15"
26 changes: 13 additions & 13 deletions tools/codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "molecule-codegen"
version = "0.6.1"
version = "0.7.0"
authors = ["Nervos Core Dev <dev@nervos.org>"]
edition = "2018"
description = "Code generator for molecule."
Expand All @@ -16,18 +16,18 @@ categories = [
license = "MIT"

[dependencies]
molecule = { version = "=0.6.1", path = "../../bindings/rust", default-features = false }
property = "~0.3"
pest = "~2.1"
pest_derive = "~2.1"
quote = "~1.0"
proc-macro2 = "~1.0"
case = "~1.0"
same-file = "~1.0"
semver = "~0.9"
serde = { version = "~1.0", features = ["derive", "rc"], optional = true }
serde_json = { version = "~1.0", optional = true }
serde_yaml = { version = "~0.8", optional = true }
molecule = { version = "=0.7.0", path = "../../bindings/rust", default-features = false }
property = "0.3.3"
pest = "2.1.3"
pest_derive = "2.1.0"
quote = "1.0.8"
proc-macro2 = "1.0.24"
case = "1.0.0"
same-file = "1.0.6"
semver = "0.11.0"
serde = { version = "1.0.118", features = ["derive", "rc"], optional = true }
serde_json = { version = "1.0.61", optional = true }
serde_yaml = { version = "0.8.15", optional = true }

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion tools/codegen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ pub use parser::Parser;
pub use ir::Format as IntermediateFormat;

pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub const C_API_VERSION_MIN: &str = "0.5.0";
pub const C_API_VERSION_MIN: &str = "0.7.0";
Loading

0 comments on commit f53dab0

Please sign in to comment.