mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 05:17:58 +00:00
adding unleash to ci (#5020)
* adding unleash to ci * fixing formatting * with a dot please * alpha.3 now * do not publish testing helpers * remove old test-helpers cruft * fix cargo.lock * with alpha 4 * do not publish runtime-interface-test either * disable more test crates from publishing * switch to alpha.5 * replace tempdir with tempfile * update lru * switch to bytes 0.5 * release script fixes * switch on and to latest alpha * BUT THE SPACES
This commit is contained in:
committed by
GitHub
parent
ad90ab7ec9
commit
6abed97394
@@ -7,6 +7,7 @@ edition = "2018"
|
||||
license = "GPL-3.0"
|
||||
homepage = "https://substrate.dev"
|
||||
repository = "https://github.com/paritytech/substrate/"
|
||||
publish = true
|
||||
|
||||
[dependencies]
|
||||
pallet-balances = { version = "2.0.0-dev", path = "../../../frame/balances" }
|
||||
@@ -43,7 +44,7 @@ sp-block-builder = { version = "2.0.0-dev", path = "../../../primitives/block-bu
|
||||
sp-inherents = { version = "2.0.0-dev", path = "../../../primitives/inherents" }
|
||||
sp-blockchain = { version = "2.0.0-dev", path = "../../../primitives/blockchain" }
|
||||
log = "0.4.8"
|
||||
tempdir = "0.3"
|
||||
tempfile = "3.1.0"
|
||||
fs_extra = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -81,7 +81,7 @@ pub struct BenchDb {
|
||||
impl Clone for BenchDb {
|
||||
fn clone(&self) -> Self {
|
||||
let keyring = self.keyring.clone();
|
||||
let dir = tempdir::TempDir::new("sub-bench").expect("temp dir creation failed");
|
||||
let dir = tempfile::tempdir().expect("temp dir creation failed");
|
||||
|
||||
let seed_dir = self.directory_guard.0.path();
|
||||
|
||||
@@ -120,7 +120,7 @@ impl BenchDb {
|
||||
pub fn new(keyring_length: usize) -> Self {
|
||||
let keyring = BenchKeyring::new(keyring_length);
|
||||
|
||||
let dir = tempdir::TempDir::new("sub-bench").expect("temp dir creation failed");
|
||||
let dir = tempfile::tempdir().expect("temp dir creation failed");
|
||||
log::trace!(
|
||||
target: "bench-logistics",
|
||||
"Created seed db at {}",
|
||||
@@ -357,7 +357,7 @@ impl Profile {
|
||||
}
|
||||
}
|
||||
|
||||
struct Guard(tempdir::TempDir);
|
||||
struct Guard(tempfile::TempDir);
|
||||
|
||||
impl Guard {
|
||||
fn path(&self) -> &Path {
|
||||
|
||||
Reference in New Issue
Block a user