-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2305: chore: Get the repo ready to publish crates r=quake,yangby-cryptape a=doitian Fix issues found when publishing crates. Co-authored-by: ian <[email protected]>
- Loading branch information
Showing
67 changed files
with
706 additions
and
363 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -5,70 +5,79 @@ license = "MIT" | |
authors = ["Nervos Core Dev <[email protected]>"] | ||
edition = "2018" | ||
build = "build.rs" | ||
description = "TODO(doc): crate description" | ||
homepage = "https://github.com/nervosnetwork/ckb" | ||
repository = "https://github.com/nervosnetwork/ckb" | ||
|
||
[build-dependencies] | ||
ckb-build-info = { path = "util/build-info" } | ||
ckb-build-info = { path = "util/build-info", version = "= 0.37.0-pre" } | ||
|
||
[dependencies] | ||
ckb-build-info = { path = "util/build-info" } | ||
ckb-bin = { path = "ckb-bin" } | ||
ckb-build-info = { path = "util/build-info", version = "= 0.37.0-pre" } | ||
ckb-bin = { path = "ckb-bin", version = "= 0.37.0-pre" } | ||
|
||
[dev-dependencies] | ||
|
||
[workspace] | ||
# To get a list sorted by dependencies, run devtools/ci/check-cyclic-dependencies.py | ||
members = [ | ||
# Members are ordered by dependencies. Crates at top has fewer dependencies. | ||
"util", | ||
"util/occupied-capacity/core", | ||
"util/channel", | ||
"util/fixed-hash/core", | ||
"util/build-info", | ||
"util/logger", | ||
"util/logger-config", | ||
"util/logger-service", | ||
"util/metrics", | ||
"util/metrics-config", | ||
"util/metrics-service", | ||
"util/memory-tracker", | ||
"util", | ||
"util/hash", | ||
"util/fixed-hash", | ||
"util/chain-iter", | ||
"util/crypto", | ||
"util/rational", | ||
"util/multisig", | ||
"util/runtime", | ||
"util/rust-unstable-port", | ||
"benches", | ||
"util/occupied-capacity/macros", | ||
"util/fixed-hash/macros", | ||
"util/logger-service", | ||
"util/stop-handler", | ||
"util/metrics-service", | ||
"util/fixed-hash", | ||
"util/occupied-capacity", | ||
"util/crypto", | ||
"error", | ||
"util/multisig", | ||
"util/types", | ||
"util/runtime", | ||
"util/jsonrpc-types", | ||
"util/fee-estimator", | ||
"util/rust-unstable-port", | ||
"db", | ||
"db-migration", | ||
"resource", | ||
"pow", | ||
"network", | ||
"util/network-alert", | ||
"util/dao/utils", | ||
"traits", | ||
"spec", | ||
"util/proposal-table", | ||
"store", | ||
"script", | ||
"traits", | ||
"util/app-config", | ||
"db", | ||
"network", | ||
"miner", | ||
"notify", | ||
"util/memory-tracker", | ||
"db-migration", | ||
"util/network-alert", | ||
"store", | ||
"util/chain-iter", | ||
"util/test-chain-utils", | ||
"util/dao", | ||
"util/reward-calculator", | ||
"util/snapshot", | ||
"verification", | ||
"shared", | ||
"tx-pool", | ||
"shared", | ||
"chain", | ||
"indexer", | ||
"sync", | ||
"miner", | ||
"rpc", | ||
"util/instrument", | ||
"util/app-config", | ||
"ckb-bin", | ||
"benches", | ||
"error", | ||
"notify", | ||
"rpc", | ||
"ckb-bin" | ||
] | ||
|
||
[profile.release] | ||
|
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 |
---|---|---|
|
@@ -4,30 +4,33 @@ version = "0.37.0-pre" | |
license = "MIT" | ||
authors = ["Nervos Core Dev <[email protected]>"] | ||
edition = "2018" | ||
description = "TODO(doc): crate description" | ||
homepage = "https://github.com/nervosnetwork/ckb" | ||
repository = "https://github.com/nervosnetwork/ckb" | ||
|
||
[dependencies] | ||
|
||
|
||
[dev-dependencies] | ||
criterion = "0.3" | ||
ckb-chain = { path = "../chain" } | ||
ckb-types = { path = "../util/types" } | ||
ckb-shared = { path = "../shared" } | ||
ckb-store = { path = "../store" } | ||
ckb-chain-spec = { path = "../spec" } | ||
ckb-chain = { path = "../chain", version = "= 0.37.0-pre" } | ||
ckb-types = { path = "../util/types", version = "= 0.37.0-pre" } | ||
ckb-shared = { path = "../shared", version = "= 0.37.0-pre" } | ||
ckb-store = { path = "../store", version = "= 0.37.0-pre" } | ||
ckb-chain-spec = { path = "../spec", version = "= 0.37.0-pre" } | ||
rand = "0.6" | ||
ckb-hash = {path = "../util/hash"} | ||
ckb-test-chain-utils = { path = "../util/test-chain-utils" } | ||
ckb-dao-utils = { path = "../util/dao/utils" } | ||
ckb-dao = { path = "../util/dao" } | ||
ckb-hash = {path = "../util/hash", version = "= 0.37.0-pre"} | ||
ckb-test-chain-utils = { path = "../util/test-chain-utils", version = "= 0.37.0-pre" } | ||
ckb-dao-utils = { path = "../util/dao/utils", version = "= 0.37.0-pre" } | ||
ckb-dao = { path = "../util/dao", version = "= 0.37.0-pre" } | ||
ckb-system-scripts = { version = "= 0.5.1" } | ||
lazy_static = "1.3.0" | ||
ckb-crypto = { path = "../util/crypto" } | ||
ckb-crypto = { path = "../util/crypto", version = "= 0.37.0-pre" } | ||
faketime = "0.2.0" | ||
ckb-jsonrpc-types = { path = "../util/jsonrpc-types" } | ||
ckb-verification = { path = "../verification" } | ||
ckb-app-config = { path = "../util/app-config" } | ||
ckb-fee-estimator = { path = "../util/fee-estimator" } | ||
ckb-jsonrpc-types = { path = "../util/jsonrpc-types", version = "= 0.37.0-pre" } | ||
ckb-verification = { path = "../verification", version = "= 0.37.0-pre" } | ||
ckb-app-config = { path = "../util/app-config", version = "= 0.37.0-pre" } | ||
ckb-fee-estimator = { path = "../util/fee-estimator", version = "= 0.37.0-pre" } | ||
|
||
[[bench]] | ||
name = "bench_main" | ||
|
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 |
---|---|---|
|
@@ -4,28 +4,31 @@ version = "0.37.0-pre" | |
license = "MIT" | ||
authors = ["Nervos Core Dev <[email protected]>"] | ||
edition = "2018" | ||
description = "TODO(doc): crate description" | ||
homepage = "https://github.com/nervosnetwork/ckb" | ||
repository = "https://github.com/nervosnetwork/ckb" | ||
|
||
[dependencies] | ||
ckb-logger = { path = "../util/logger" } | ||
ckb-metrics = { path = "../util/metrics" } | ||
ckb-types = { path = "../util/types" } | ||
ckb-shared = { path = "../shared" } | ||
ckb-chain-spec = { path = "../spec" } | ||
ckb-store = { path = "../store" } | ||
ckb-verification = { path = "../verification" } | ||
ckb-logger = { path = "../util/logger", version = "= 0.37.0-pre" } | ||
ckb-metrics = { path = "../util/metrics", version = "= 0.37.0-pre" } | ||
ckb-types = { path = "../util/types", version = "= 0.37.0-pre" } | ||
ckb-shared = { path = "../shared", version = "= 0.37.0-pre" } | ||
ckb-chain-spec = { path = "../spec", version = "= 0.37.0-pre" } | ||
ckb-store = { path = "../store", version = "= 0.37.0-pre" } | ||
ckb-verification = { path = "../verification", version = "= 0.37.0-pre" } | ||
faketime = "0.2.0" | ||
ckb-stop-handler = { path = "../util/stop-handler" } | ||
ckb-dao = { path = "../util/dao" } | ||
ckb-proposal-table = { path = "../util/proposal-table" } | ||
ckb-error = { path = "../error" } | ||
ckb-app-config = { path = "../util/app-config" } | ||
ckb-stop-handler = { path = "../util/stop-handler", version = "= 0.37.0-pre" } | ||
ckb-dao = { path = "../util/dao", version = "= 0.37.0-pre" } | ||
ckb-proposal-table = { path = "../util/proposal-table", version = "= 0.37.0-pre" } | ||
ckb-error = { path = "../error", version = "= 0.37.0-pre" } | ||
ckb-app-config = { path = "../util/app-config", version = "= 0.37.0-pre" } | ||
bitflags = "1.0" | ||
ckb-rust-unstable-port = { path = "../util/rust-unstable-port" } | ||
ckb-channel = { path = "../util/channel" } | ||
ckb-rust-unstable-port = { path = "../util/rust-unstable-port", version = "= 0.37.0-pre" } | ||
ckb-channel = { path = "../util/channel", version = "= 0.37.0-pre" } | ||
|
||
[dev-dependencies] | ||
ckb-test-chain-utils = { path = "../util/test-chain-utils" } | ||
ckb-dao-utils = { path = "../util/dao/utils" } | ||
ckb-tx-pool = { path = "../tx-pool" } | ||
ckb-jsonrpc-types = { path = "../util/jsonrpc-types" } | ||
ckb-test-chain-utils = { path = "../util/test-chain-utils", version = "= 0.37.0-pre" } | ||
ckb-dao-utils = { path = "../util/dao/utils", version = "= 0.37.0-pre" } | ||
ckb-tx-pool = { path = "../tx-pool", version = "= 0.37.0-pre" } | ||
ckb-jsonrpc-types = { path = "../util/jsonrpc-types", version = "= 0.37.0-pre" } | ||
lazy_static = "1.4" |
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 |
---|---|---|
|
@@ -4,36 +4,39 @@ version = "0.37.0-pre" | |
license = "MIT" | ||
authors = ["Nervos Core Dev <[email protected]>"] | ||
edition = "2018" | ||
description = "TODO(doc): crate description" | ||
homepage = "https://github.com/nervosnetwork/ckb" | ||
repository = "https://github.com/nervosnetwork/ckb" | ||
|
||
[dependencies] | ||
clap = { version = "2" } | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_plain = "0.3.0" | ||
toml = "0.5" | ||
ckb-app-config = { path = "../util/app-config" } | ||
ckb-logger = { path = "../util/logger" } | ||
ckb-logger-service = { path = "../util/logger-service" } | ||
ckb-metrics-service = { path = "../util/metrics-service" } | ||
ckb-util = { path = "../util" } | ||
ckb-types = { path = "../util/types" } | ||
ckb-channel = { path = "../util/channel" } | ||
ckb-jsonrpc-types = { path = "../util/jsonrpc-types" } | ||
ckb-chain = { path = "../chain" } | ||
ckb-shared = { path = "../shared" } | ||
ckb-store = { path = "../store" } | ||
ckb-chain-spec = {path = "../spec"} | ||
ckb-miner = { path = "../miner" } | ||
ckb-network = { path = "../network"} | ||
ckb-rpc = { path = "../rpc"} | ||
ckb-resource = { path = "../resource"} | ||
ckb-network-alert = { path = "../util/network-alert" } | ||
ckb-app-config = { path = "../util/app-config", version = "= 0.37.0-pre" } | ||
ckb-logger = { path = "../util/logger", version = "= 0.37.0-pre" } | ||
ckb-logger-service = { path = "../util/logger-service", version = "= 0.37.0-pre" } | ||
ckb-metrics-service = { path = "../util/metrics-service", version = "= 0.37.0-pre" } | ||
ckb-util = { path = "../util", version = "= 0.37.0-pre" } | ||
ckb-types = { path = "../util/types", version = "= 0.37.0-pre" } | ||
ckb-channel = { path = "../util/channel", version = "= 0.37.0-pre" } | ||
ckb-jsonrpc-types = { path = "../util/jsonrpc-types", version = "= 0.37.0-pre" } | ||
ckb-chain = { path = "../chain", version = "= 0.37.0-pre" } | ||
ckb-shared = { path = "../shared", version = "= 0.37.0-pre" } | ||
ckb-store = { path = "../store", version = "= 0.37.0-pre" } | ||
ckb-chain-spec = {path = "../spec", version = "= 0.37.0-pre"} | ||
ckb-miner = { path = "../miner", version = "= 0.37.0-pre" } | ||
ckb-network = { path = "../network", version = "= 0.37.0-pre"} | ||
ckb-rpc = { path = "../rpc", version = "= 0.37.0-pre"} | ||
ckb-resource = { path = "../resource", version = "= 0.37.0-pre"} | ||
ckb-network-alert = { path = "../util/network-alert", version = "= 0.37.0-pre" } | ||
ctrlc = { version = "3.1", features = ["termination"] } | ||
ckb-sync = { path = "../sync"} | ||
ckb-instrument = { path = "../util/instrument", features = ["progress_bar"] } | ||
ckb-build-info = { path = "../util/build-info" } | ||
ckb-memory-tracker = { path = "../util/memory-tracker" } | ||
ckb-chain-iter = { path = "../util/chain-iter" } | ||
ckb-verification = { path = "../verification" } | ||
ckb-sync = { path = "../sync", version = "= 0.37.0-pre"} | ||
ckb-instrument = { path = "../util/instrument", version = "= 0.37.0-pre", features = ["progress_bar"] } | ||
ckb-build-info = { path = "../util/build-info", version = "= 0.37.0-pre" } | ||
ckb-memory-tracker = { path = "../util/memory-tracker", version = "= 0.37.0-pre" } | ||
ckb-chain-iter = { path = "../util/chain-iter", version = "= 0.37.0-pre" } | ||
ckb-verification = { path = "../verification", version = "= 0.37.0-pre" } | ||
base64 = "0.10.1" | ||
tempfile = "3.0" | ||
rayon = "1.0" | ||
|
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 |
---|---|---|
|
@@ -4,16 +4,19 @@ version = "0.37.0-pre" | |
license = "MIT" | ||
authors = ["Nervos Core Dev <[email protected]>"] | ||
edition = "2018" | ||
description = "TODO(doc): 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-db = { path = "../db" } | ||
ckb-logger = { path = "../util/logger" } | ||
ckb-error = { path = "../error" } | ||
ckb-db = { path = "../db", version = "= 0.37.0-pre" } | ||
ckb-logger = { path = "../util/logger", version = "= 0.37.0-pre" } | ||
ckb-error = { path = "../error", version = "= 0.37.0-pre" } | ||
indicatif = "0.15" | ||
console = "0.12" | ||
|
||
[dev-dependencies] | ||
tempfile = "3.0" | ||
ckb-app-config = { path = "../util/app-config" } | ||
ckb-app-config = { path = "../util/app-config", version = "= 0.37.0-pre" } |
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 |
---|---|---|
|
@@ -4,11 +4,14 @@ version = "0.37.0-pre" | |
license = "MIT" | ||
authors = ["Nervos Core Dev <[email protected]>"] | ||
edition = "2018" | ||
description = "TODO(doc): crate description" | ||
homepage = "https://github.com/nervosnetwork/ckb" | ||
repository = "https://github.com/nervosnetwork/ckb" | ||
|
||
[dependencies] | ||
ckb-app-config = { path = "../util/app-config" } | ||
ckb-logger = { path = "../util/logger" } | ||
ckb-error = { path = "../error" } | ||
ckb-app-config = { path = "../util/app-config", version = "= 0.37.0-pre" } | ||
ckb-logger = { path = "../util/logger", version = "= 0.37.0-pre" } | ||
ckb-error = { path = "../error", version = "= 0.37.0-pre" } | ||
tempfile = "3.0" | ||
libc = "0.2" | ||
rocksdb = { package = "ckb-rocksdb", version = "=0.14.1", features = ["snappy"] } |
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
Oops, something went wrong.