Skip to content

Commit

Permalink
ckb-launcher use ckb-shared portable and march-native feature
Browse files Browse the repository at this point in the history
  • Loading branch information
eval-exec committed Nov 18, 2023
1 parent 0179847 commit 0ba97b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 24 deletions.
10 changes: 0 additions & 10 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ tempfile.workspace = true
ckb-systemtime = { path = "../util/systemtime", version = "= 0.113.0-pre", features = ["enable_faketime"] }

[features]
portable = ["ckb-db/portable", "ckb-store/portable", "ckb-tx-pool/portable"]
march-native = ["ckb-db/march-native", "ckb-store/march-native", "ckb-tx-pool/march-native"]
portable = ["ckb-db/portable", "ckb-store/portable", "ckb-tx-pool/portable", "ckb-migrate/portable"]
march-native = ["ckb-db/march-native", "ckb-store/march-native", "ckb-tx-pool/march-native", "ckb-migrate/march-native"]
14 changes: 2 additions & 12 deletions util/launcher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ repository = "https://github.com/nervosnetwork/ckb"
[dependencies]
ckb-types = { path = "../types", version = "= 0.113.0-pre" }
ckb-store = { path = "../../store", version = "= 0.113.0-pre" }
ckb-db = { path = "../../db", version = "= 0.113.0-pre" }
ckb-app-config = { path = "../app-config", version = "= 0.113.0-pre" }
ckb-logger = { path = "../logger", version = "= 0.113.0-pre" }
ckb-db-schema = { path = "../../db-schema", version = "= 0.113.0-pre" }
ckb-error = { path = "../../error", version = "= 0.113.0-pre" }
ckb-build-info = { path = "../build-info", version = "= 0.113.0-pre" }
ckb-jsonrpc-types = { path = "../jsonrpc-types", version = "= 0.113.0-pre" }
ckb-chain = { path = "../../chain", version = "= 0.113.0-pre" }
Expand All @@ -32,18 +29,11 @@ ckb-verification-traits = { path = "../../verification/traits", version = "= 0.1
ckb-async-runtime = { path = "../runtime", version = "= 0.113.0-pre" }
ckb-proposal-table = { path = "../proposal-table", version = "= 0.113.0-pre" }
ckb-channel = { path = "../channel", version = "= 0.113.0-pre" }
ckb-chain-spec = { path = "../../spec", version = "= 0.113.0-pre" }
ckb-freezer = { path = "../../freezer", version = "= 0.113.0-pre" }
ckb-notify = { path = "../../notify", version = "= 0.113.0-pre" }
ckb-snapshot = { path = "../snapshot", version = "= 0.113.0-pre" }
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" }
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-migrate/portable"]
march-native = ["ckb-db/march-native", "ckb-migrate/march-native"]
portable = ["ckb-shared/portable"]
march-native = ["ckb-shared/march-native"]

0 comments on commit 0ba97b4

Please sign in to comment.