Skip to content

Commit

Permalink
Fix check-cargotoml.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
eval-exec committed Nov 17, 2023
1 parent e2f8e57 commit 2a93afe
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 17 deletions.
9 changes: 2 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions util/launcher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,10 @@ ckb-tx-pool = { path = "../../tx-pool", version = "= 0.113.0-pre" }
ckb-light-client-protocol-server = { path = "../light-client-protocol-server", version = "= 0.113.0-pre" }
ckb-block-filter = { path = "../../block-filter", version = "= 0.113.0-pre" }
ckb-migrate = { path = "../migrate", version = "= 0.113.0-pre" }
num_cpus = "1.10"
once_cell = "1.8.0"
tempfile.workspace = true

[features]
with_sentry = [ "ckb-sync/with_sentry", "ckb-network/with_sentry", "ckb-app-config/with_sentry" ]
portable = ["ckb-db/portable", "ckb-db-migration/portable"]
march-native = ["ckb-db/march-native", "ckb-db-migration/march-native"]
portable = ["ckb-db/portable", "ckb-migrate/portable"]
march-native = ["ckb-db/march-native", "ckb-migrate/march-native"]
3 changes: 0 additions & 3 deletions util/launcher/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
//!
//! ckb launcher is helps to launch ckb node.
// declare here for mute ./devtools/ci/check-cargotoml.sh error
extern crate num_cpus;

mod shared_builder;

use ckb_app_config::{
Expand Down
9 changes: 5 additions & 4 deletions util/migrate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@ repository = "https://github.com/nervosnetwork/ckb"
[dependencies]
ckb-migration-template = { path = "migration-template", version = "= 0.113.0-pre" }
ckb-db = { path = "../../db", version = "= 0.113.0-pre" }
ckb-logger = { path = "../logger", version = "= 0.113.0-pre" }
ckb-error = { path = "../../error", version = "= 0.113.0-pre" }
ckb-db-schema = { path = "../../db-schema", version = "= 0.113.0-pre" }
ckb-db-migration = { path = "../../db-migration", version = "= 0.113.0-pre" }
ckb-app-config = { path = "../app-config", version = "= 0.113.0-pre" }
ckb-types = { path = "../types", version = "= 0.113.0-pre" }
ckb-store = { path = "../../store", version = "= 0.113.0-pre" }
ckb-chain-spec = { path = "../../spec", version = "= 0.113.0-pre" }
indicatif = "0.16"
console = ">=0.9.1, <1.0.0"
ckb-hash = { path = "../hash", version = "= 0.113.0-pre" }
num_cpus = "1.10"
tempfile.workspace = true
num_cpus = "1.10"

[dev-dependencies]
ckb-systemtime = {path = "../systemtime", version = "= 0.113.0-pre", features = ["enable_faketime"] }

[features]
portable = ["ckb-db/portable", "ckb-db-migration/portable"]
march-native = ["ckb-db/march-native", "ckb-db-migration/march-native"]
3 changes: 3 additions & 0 deletions util/migrate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
//!
//! ckb migrate help to migrate CKB's data on schema change.
// declare here for mute ./devtools/ci/check-cargotoml.sh error
extern crate num_cpus;

pub mod migrate;
mod migrations;
#[cfg(test)]
Expand Down

0 comments on commit 2a93afe

Please sign in to comment.