Skip to content

Commit b71d9ff

Browse files
committed
Switch to bitvm rust-bitcoin branch
1 parent dcd2fd5 commit b71d9ff

File tree

2 files changed

+30
-6
lines changed

2 files changed

+30
-6
lines changed

Cargo.toml

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "bitcoin-script"
3-
version = "0.1.3"
4-
authors = ["Matt Bell <[email protected]>"]
5-
edition = "2018"
3+
version = "0.2.0"
4+
authors = ["Matt Bell <[email protected]>", "Lukas George [email protected]"]
5+
edition = "2021"
66
description = "Inline Bitcoin scripts"
77
license = "MIT"
8-
repository = "https://github.com/mappum/rust-bitcoin-script"
8+
repository = "https://github.com/BitVM/rust-bitcoin-script"
99

1010
[lib]
1111
proc-macro = true
@@ -14,9 +14,33 @@ proc-macro = true
1414

1515
[dependencies]
1616
# bitcoin = "0.31.1"
17-
bitcoin = { git = "https://github.com/stevenroose/rust-bitcoin", rev = "639d552ef0080a68b1ea883298aa30c450d9ff0d" }
17+
bitcoin = { git = "https://github.com/rust-bitcoin/rust-bitcoin", branch = "bitvm" }
1818
quote = "1.0.23"
1919
proc-macro-error = "1.0.4"
2020
lazy_static = "1.4.0"
2121
hex = "0.4.3"
2222
proc-macro2 = "1.0.51"
23+
24+
[patch.crates-io.base58check]
25+
git = "https://github.com/rust-bitcoin/rust-bitcoin"
26+
branch = "bitvm"
27+
28+
[patch.crates-io.bitcoin]
29+
git = "https://github.com/rust-bitcoin/rust-bitcoin"
30+
branch = "bitvm"
31+
32+
[patch.crates-io.bitcoin_hashes]
33+
git = "https://github.com/rust-bitcoin/rust-bitcoin"
34+
branch = "bitvm"
35+
36+
[patch.crates-io.bitcoin-internals]
37+
git = "https://github.com/rust-bitcoin/rust-bitcoin"
38+
branch = "bitvm"
39+
40+
[patch.crates-io.bitcoin-io]
41+
git = "https://github.com/rust-bitcoin/rust-bitcoin"
42+
branch = "bitvm"
43+
44+
[patch.crates-io.bitcoin-units]
45+
git = "https://github.com/rust-bitcoin/rust-bitcoin"
46+
branch = "bitvm"

src/parse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use bitcoin::{blockdata::opcodes::Opcode, opcodes::OP_RESERVED};
1+
use bitcoin::{blockdata::opcodes::Opcode, opcodes::all::OP_RESERVED};
22
use proc_macro2::{
33
Delimiter, Span, TokenStream,
44
TokenTree::{self, *},

0 commit comments

Comments
 (0)