forked from nervosnetwork/ckb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request nervosnetwork#4235 from eval-exec/exec/move-ckb-la…
…uncher-migrate-to-independent-crate Move `util/launcher/src/migrate.rs` to an independent crate
Showing
22 changed files
with
72 additions
and
24 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[package] | ||
name = "ckb-migrate" | ||
version = "0.113.0-pre" | ||
license = "MIT" | ||
authors = ["Nervos Core Dev <dev@nervos.org>"] | ||
edition = "2021" | ||
description = "TODO(doc): @eval-exec crate description" | ||
homepage = "https://github.com/nervosnetwork/ckb" | ||
repository = "https://github.com/nervosnetwork/ckb" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
ckb-migration-template = { path = "migration-template", version = "= 0.113.0-pre" } | ||
ckb-db = { path = "../../db", 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" } | ||
ckb-hash = { path = "../hash", version = "= 0.113.0-pre" } | ||
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"] |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
//! CKB migrate. | ||
//! | ||
//! 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)] | ||
mod tests; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.