Skip to content

Commit

Permalink
Update codec to 2.0.0 (#57)
Browse files Browse the repository at this point in the history
Co-authored-by: koushiro <[email protected]>
  • Loading branch information
liuchengxu and koushiro authored Feb 5, 2021
1 parent a73690f commit 1e12efb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ga-svg]: https://github.com/chainx-org/light-bitcoin/workflows/build/badge.svg
[ga-url]: https://github.com/chainx-org/light-bitcoin/actions
[codecov-svg]: https://img.shields.io/codecov/c/github/chainx-org/light-bitcoin?style=flat-square
[codecov-svg]: https://img.shields.io/codecov/c/github/chainx-org/light-bitcoin
[codecov-url]: https://codecov.io/gh/chainx-org/light-bitcoin

A light bitcoin library with `no_std` support.
Expand Down
2 changes: 1 addition & 1 deletion chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ std = [
]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
hex = { version = "0.4", default-features = false }
serde = { version = "1.0", features = ["derive"], optional = true }

Expand Down
2 changes: 1 addition & 1 deletion keys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ std = [

[dependencies]
bs58 = { version = "0.4", default-features = false, features = ["alloc"] }
codec = { package = "parity-scale-codec", version = "1.3", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
hex = { version = "0.4", default-features = false }
libsecp256k1 = { version = "0.3.5", default-features = false, features = ["hmac"] }
serde = { version = "1.0", features = ["derive"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion merkle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ std = [
]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3", default-features = false }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }

light-bitcoin-chain = { path = "../chain", default-features = false }
light-bitcoin-primitives = { path = "../primitives", default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ hex = { version = "0.4", default-features = false }
serde = { version = "1.0", features = ["derive"], optional = true }

impl-serde = { version = "0.3", optional = true }
impl-codec = { version = "0.4", default-features = false }
primitive-types = { version = "0.7", default-features = false, features = ["codec"] }
impl-codec = { version = "0.5", default-features = false }
primitive-types = { version = "0.9", default-features = false, features = ["codec"] }

0 comments on commit 1e12efb

Please sign in to comment.