Skip to content

Commit ade8ffd

Browse files
Seulgi Kimsgkim126
authored andcommitted
Use the published finally-block library
1 parent 54e68ec commit ade8ffd

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ codechain-vm = { path = "vm" }
3333
codechain-stratum = { path = "stratum" }
3434
ctrlc = { git = "https://github.com/paritytech/rust-ctrlc.git" }
3535
fdlimit = "0.1"
36-
finally = { git = "https://github.com/CodeChain-io/rust-finally.git" }
36+
finally-block = "0.1"
3737
futures = "0.1"
3838
kvdb = { path = "util/kvdb" }
3939
kvdb-rocksdb = { path = "util/kvdb-rocksdb" }

codechain/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ extern crate codechain_types as ctypes;
4545
extern crate ctrlc;
4646
extern crate env_logger;
4747
extern crate fdlimit;
48-
extern crate finally;
48+
extern crate finally_block;
4949
extern crate kvdb;
5050
extern crate kvdb_rocksdb;
5151
extern crate never;

codechain/run_node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use csync::{BlockSyncExtension, BlockSyncSender, SnapshotService, TransactionSyn
3636
use ctimer::TimerLoop;
3737
use ctrlc::CtrlC;
3838
use fdlimit::raise_fd_limit;
39-
use finally::finally;
39+
use finally_block::finally;
4040
use kvdb::KeyValueDB;
4141
use kvdb_rocksdb::{Database, DatabaseConfig};
4242
use parking_lot::{Condvar, Mutex};

network/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ codechain-logger = { path = "../util/logger" }
1111
codechain-timer = { path = "../util/timer" }
1212
codechain-types = { path = "../types" }
1313
crossbeam-channel = "0.3"
14-
finally = { git = "https://github.com/CodeChain-io/rust-finally.git" }
14+
finally-block = "0.1"
1515
primitives = { git = "https://github.com/CodeChain-io/rust-codechain-primitives.git", version = "0.4" }
1616
limited-table = { git = "https://github.com/CodeChain-io/rust-limited-table.git" }
1717
log = "0.4.6"

network/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extern crate codechain_timer as ctimer;
2626
extern crate codechain_types as ctypes;
2727
extern crate core;
2828
extern crate crossbeam_channel;
29-
extern crate finally;
29+
extern crate finally_block;
3030
extern crate limited_table;
3131
#[macro_use]
3232
extern crate log;

network/src/p2p/handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use std::time::Duration;
2323
use ccrypto::aes::SymmetricCipherError;
2424
use cio::{IoChannel, IoContext, IoHandler, IoHandlerResult, IoManager, StreamToken, TimerToken};
2525
use ckey::NetworkId;
26-
use finally::finally;
26+
use finally_block::finally;
2727
use mio::deprecated::EventLoop;
2828
use mio::{PollOpt, Ready, Token};
2929
use parking_lot::{Mutex, RwLock};

0 commit comments

Comments
 (0)