Skip to content

Commit 45a5d49

Browse files
committed
Enable edition 2018
Enable edition 2018 in the manifest and remove usage of `extern crate`.
1 parent de74dc0 commit 45a5d49

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

integration_test/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "integration_tests_miniscript"
33
version = "0.1.0"
44
authors = ["Steven Roose <[email protected]>", "Sanket K <[email protected]>"]
5+
edition = "2018"
56

67
[dependencies]
78
miniscript = {path = "../"}

integration_test/src/main.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
//!
33
//! This is how some external user would use rust-miniscript
44
5-
extern crate bitcoincore_rpc;
6-
extern crate log;
7-
8-
extern crate bitcoin;
9-
extern crate miniscript;
10-
115
use bitcoincore_rpc::{Auth, Client, RpcApi};
126

137
mod test_cpp;

integration_test/src/test_util.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717
//! The keys/hashes are automatically translated so that the tests knows how to satisfy things that don't end with !
1818
//!
1919
20-
extern crate rand;
21-
22-
use self::rand::RngCore;
2320
use bitcoin::hashes::{hex::ToHex, Hash};
2421
use miniscript::descriptor::{SinglePub, SinglePubKey};
2522
use miniscript::{Descriptor, DescriptorPublicKey, Miniscript, ScriptContext, TranslatePk};
23+
use rand::RngCore;
2624
use std::str::FromStr;
2725

2826
use bitcoin;

0 commit comments

Comments
 (0)