Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workspaceify auto #3829

Merged
merged 10 commits into from
Jan 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
331 changes: 124 additions & 207 deletions Cargo.lock

Large diffs are not rendered by default.

281 changes: 280 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]

resolver = "2"
members = [
"benchmarks",
"commons/stest",
@@ -214,6 +214,285 @@ panic = "unwind"
debug-assertions = false
codegen-units = 1

[workspace.package]
authors = ["Starcoin Core Dev <dev@starcoin.org>", ]
edition = "2021"
homepage = "https://starcoin.org"
license = "Apache-2.0"
publish = false
repository = "https://github.com/starcoinorg/starcoin"
rust-version = "1.64"

[workspace.dependencies]
actix = "0.13"
actix-rt = "2.6"
aes-gcm = "0.9"
anyhow = "~1"
api-limiter = { path = "commons/api-limiter" }
arc-swap = "1.5.1"
arrayref = "0.3"
ascii = "1.0.0"
async-std = "1.12"
async-trait = "0.1.53"
asynchronous-codec = "0.5"
atomic-counter = "1.0.1"
atty = "0.2.14"
backtrace = "0.3"
bcs = "0.1"
bcs-ext = { path = "commons/bcs_ext" }
bech32 = "0.9"
bencher = "0.1.5"
bitflags = "1.3.2"
bs58 = "0.3.1"
byteorder = "1.3.4"
bytes = "1"
chrono = { version = "0.4.19", default-features = false, features = ["clock", ] }
clap = { version = "3", features = ["derive", ] }
cli-table = "0.3.2"
coarsetime = "0.1.22"
codespan = { version = "0.8.0", features = ["serialization", ] }
codespan-reporting = "0.11"
colored = "2.0.0"
criterion = "0.3"
crossbeam-channel = "0.5.6"
cryptonight-rs = { path = "consensus/cryptonight-rs" }
csv = "~1"
ctrlc = { version = "3.2.2", features = ["termination", ] }
cucumber = { package = "cucumber_rust", version = "^0.6.0" }
darling = "0.10.2"
dashmap = "~5"
datatest-stable = "0.1.3"
derive_more = "0.99.14"
difference = "2.0.0"
dirs-next = "2.0.0"
dyn-clone = "1.0.8"
either = "~1"
elasticsearch = "7.10.0-alpha.1"
ethereum-types = "0.9"
starcoin-executor-benchmark = { path = "executor/benchmark" }
fnv = "1.0.6"
forkable-jellyfish-merkle = { path = "commons/forkable-jellyfish-merkle" }
fs_extra = "1.2.0"
futures = "0.3.12"
futures-channel = "0.3"
futures-core = "0.3.4"
futures-retry = "0.6"
futures-timer = "3.0"
futures-util = "~0.3"
git-version = "0.3.5"
governor = { version = "0.4.2", features = ["dashmap", ] }
heck = "0.3.3"
hex = "0.4"
hmac = "0.12.1"
hyper = { version = "0.14.12", features = ["full", ] }
include_dir = { version = "0.6.2", features = ["search", ] }
indicatif = "0.16.2"
ip_network = "0.3.4"
io-lifetimes = "0.7.2"
itertools = "0.10.3"
jpst = "0.1.1"
jsonpath = "0.1.1"
jsonrpc-client-transports = "18"
jsonrpc-core = "18"
jsonrpc-core-client = "18"
jsonrpc-derive = { git = "https://github.com/starcoinorg/jsonrpc", rev = "2f6c2b33d3048d57a85347ee735b312df0117b15" }
jsonrpc-http-server = "18"
jsonrpc-ipc-server = "18"
jsonrpc-pubsub = "18"
jsonrpc-server-utils = "18"
jsonrpc-tcp-server = "18"
jsonrpc-ws-server = "18"
lazy_static = "1.4.0"
libc = "^0.2"
libloading = "0.7.2"
libp2p = { version = "0.42.2" }
libp2p-core = { version = "0.31.1" }
libsecp256k1 = "0.7.1"
linked-hash-map = "0.5.6"
linked_hash_set = "0.1.3"
log = { version = "0.4.16" }
log4rs = { version = "1.0.0", features = ["background_rotation", "gzip", ] }
lru = "0.7.8"
merkletree = { git = "https://github.com/filecoin-project/merkletree", rev = "3b1d98c43b341aed935152c5c1535c17d1b21d20" }
mirai-annotations = "1.10.1"
move-binary-format = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-bytecode-source-map = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-bytecode-verifier = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-cli = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-command-line-common = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-compiler = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-core-types = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-coverage = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-disassembler = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-docgen = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-errmapgen = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-ir-compiler = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-ir-types = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-model = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-package = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-prover = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-prover-test-utils = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-resource-viewer = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-stdlib = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-transactional-test-runner = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-unit-test = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-vm-runtime = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
move-vm-types = { git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03" }
names = { version = "0.14.0", default-features = false }
network-api = { path = "network/api", package = "network-api" }
network-p2p = { path = "network-p2p" }
network-p2p-types = { path = "network-p2p/types" }
network-rpc-core = { path = "network-rpc/core" }
network-rpc-derive = { path = "network-rpc/derive" }
network-types = { path = "network/types" }
num = "0.4.0"
num-derive = "0.3.3"
num-traits = "0.2"
num_cpus = "1.13"
num_enum = "0.5.7"
once_cell = "1.13.0"
openrpc-rs = { git = "https://github.com/starcoinorg/openrpc-rs", rev = "077761500ff6fabe2f20da1bdf429575931e3048" }
ordinal = "0.3.1"
parity-tokio-ipc = "0.9"
parking_lot = "0.12.1"
pbkdf2 = "0.11"
petgraph = "0.5.1"
pin-project = "0.4.27"
pin-utils = "0.1.0"
pretty = "0.10.0"
proc-macro2 = "1.0"
prometheus = "0.13.0"
proptest = "1.0.0"
proptest-derive = "0.3.0"
quote = "1.0.16"
rand = "0.8.5"
rand_core = { version = "0.6.3", default-features = false }
rayon = "1"
regex = "1.6.0"
ripemd160 = "0.9.1"
rlp = "0.4"
rlp-derive = "0.1"
rocksdb = { default-features = false, features = ["lz4", ], version = "0.18" }
rpassword = "~5"
rust-argon2 = "0.8"
rust-embed = "6.3.0"
rust-flatten-json = "0.2.0"
rustc-serialize = "^0.3"
rustyline = "9.1.2"
rustyline-derive = "0.6.0"
sc-peerset = { path = "network-p2p/peerset" }
schemars = { git = "https://github.com/starcoinorg/schemars", rev = "6972da92f4360e1779168bb3fe0274c521d324e2" }
scmd = { path = "commons/scmd" }
serde = "1.0.130"
serde-generate = { git = "https://github.com/starcoinorg/serde-reflection", rev = "694048797338ff7385006d968e786b6d9dbdeb8b" }
serde-helpers = { path = "commons/serde-helpers" }
serde-reflection = { git = "https://github.com/starcoinorg/serde-reflection", rev = "694048797338ff7385006d968e786b6d9dbdeb8b" }
serde_bytes = "0.11"
serde_derive = "1.0"
serde_json = "~1"
serde_yaml = "0.8.26"
sha2 = "0.10.2"
sha3 = "0.9.1"
shell-words = "1.0.0"
simple-stopwatch = "0.1.4"
simplelog = "0.9.0"
slog = "2.7.0"
slog-async = "2.7.0"
slog-term = "2.9.0"
smallvec = "1.10.0"
sp-utils = { path = "commons/utils" }
starcoin-abi-decoder = { path = "abi/decoder" }
starcoin-abi-resolver = { path = "abi/resolver" }
starcoin-abi-types = { path = "abi/types" }
starcoin-account = { path = "account" }
starcoin-account-api = { path = "account/api" }
starcoin-account-provider = { path = "account/provider" }
starcoin-account-service = { path = "account/service" }
starcoin-accumulator = { path = "commons/accumulator", package = "starcoin-accumulator" }
starcoin-block-relayer = { path = "block-relayer" }
starcoin-chain = { path = "chain" }
starcoin-chain-api = { path = "chain/api" }
starcoin-chain-mock = { path = "chain/mock" }
starcoin-chain-notify = { path = "chain/chain-notify" }
starcoin-chain-service = { path = "chain/service" }
starcoin-cmd = { path = "cmd/starcoin" }
starcoin-config = { path = "config" }
starcoin-consensus = { path = "consensus" }
starcoin-crypto = { git = "https://github.com/starcoinorg/starcoin-crypto", rev = "d871dfb4216f034ee334a575926c101574d9d6dc" }
starcoin-decrypt = { path = "commons/decrypt" }
starcoin-dev = { path = "vm/dev" }
starcoin-executor = { path = "executor" }
starcoin-framework = { git = "https://github.com/starcoinorg/starcoin-framework", rev = "e618173d44fb4e57b8c735cb3eda6844de22d930" }
starcoin-genesis = { path = "genesis" }
starcoin-logger = { path = "commons/logger" }
starcoin-metrics = { path = "commons/metrics" }
starcoin-miner = { path = "miner" }
starcoin-miner-client = { path = "cmd/miner_client" }
starcoin-miner-client-api = { path = "cmd/miner_client/api" }
starcoin-move-compiler = { path = "vm/compiler" }
starcoin-move-explain = { path = "vm/move-explain" }
starcoin-natives = { path = "vm/natives" }
starcoin-network = { path = "network" }
starcoin-network-rpc = { path = "network-rpc" }
starcoin-network-rpc-api = { path = "network-rpc/api" }
starcoin-node = { path = "node" }
starcoin-node-api = { path = "node/api" }
starcoin-open-block = { path = "chain/open-block" }
starcoin-resource-viewer = { path = "vm/resource-viewer" }
starcoin-rpc-api = { path = "rpc/api" }
starcoin-rpc-client = { path = "rpc/client" }
starcoin-rpc-middleware = { path = "rpc/middleware" }
starcoin-rpc-server = { path = "rpc/server" }
starcoin-service-registry = { path = "commons/service-registry" }
starcoin-state-api = { path = "state/api" }
starcoin-state-service = { path = "state/service" }
starcoin-state-store-api = { path = "state/state-store-api" }
starcoin-state-tree = { path = "state/state-tree" }
starcoin-statedb = { path = "state/statedb" }
starcoin-storage = { path = "storage" }
starcoin-stratum = { path = "stratum" }
starcoin-sync = { path = "sync" }
starcoin-sync-api = { path = "sync/api" }
starcoin-system = { path = "commons/system", package = "starcoin-system" }
starcoin-time-service = { path = "commons/time-service" }
starcoin-transaction-builder = { path = "vm/transaction-builder" }
starcoin-transactional-test-harness = { path = "vm/starcoin-transactional-test-harness" }
starcoin-txpool = { path = "txpool" }
starcoin-txpool-api = { path = "txpool/api" }
starcoin-txpool-mock-service = { path = "txpool/mock-service" }
starcoin-types = { path = "types" }
starcoin-uint = { path = "types/uint" }
starcoin-vm-runtime = { path = "vm/vm-runtime" }
starcoin-vm-types = { path = "vm/types" }
stdlib = { path = "vm/stdlib" }
stest = { path = "commons/stest" }
stest-macro = { path = "commons/stest/stest-macro" }
stream-task = { path = "commons/stream-task" }
syn = { version = "1.0", features = ["full", "extra-traits", "visit", "fold", ] }
sysinfo = "0.25.1"
tempfile = "3.2.0"
test-helper = { path = "test-helper" }
textwrap = "0.14.0"
thiserror = "1.0"
timeout-join-handler = { path = "commons/timeout-join-handler" }
tiny-keccak = { version = "2", features = ["keccak", ] }
tiny_http = "0.8.2"
tokio = { version = "^1", features = ["full", ] }
tokio-executor = { version = "0.2.0-alpha.6", features = ["blocking", ] }
toml = "0.5.9"
trace-time = "0.1"
tracing = "0.1.34"
transaction-pool = "2.0.3"
uint = "0.9.3"
unsigned-varint = { version = "0.6.0", features = ["futures", "asynchronous_codec", ] }
vm = { package = "move-binary-format", git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03", features = ["fuzzing", ] }
vm-status-translator = { path = "vm/vm-status-translator" }
void = "1.0.2"
walkdir = "2.3.1"
wasm-timer = "0.2"
which = "4.1.0"
zeroize = "1.3.0"

[profile.release.package]
starcoin-service-registry.debug = 1
starcoin-chain.debug = 1
44 changes: 23 additions & 21 deletions abi/decoder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
[dependencies]
anyhow = { workspace = true }
bcs = { workspace = true }
bcs-ext = { workspace = true }
hex = { workspace = true }
move-binary-format = { workspace = true }
ordinal = { workspace = true }
schemars = { workspace = true }
serde = { features = [ "derive", "rc",], workspace = true }
serde_bytes = { workspace = true }
serde_json = { workspace = true }
starcoin-abi-resolver = { workspace = true }
starcoin-abi-types = { workspace = true }
starcoin-resource-viewer = { workspace = true }
starcoin-vm-types = { workspace = true }

[package]
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
edition = "2021"
license = "Apache-2.0"
authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
name = "starcoin-abi-decoder"
version = "1.12.9"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.41"
bcs = "0.1"
bcs-ext = {path = "../../commons/bcs_ext"}
hex = "0.4.3"
move-binary-format = {git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03"}
ordinal = "0.3.1"
schemars = {git = "https://github.com/starcoinorg/schemars", rev = "6972da92f4360e1779168bb3fe0274c521d324e2"}
serde = {version = "1.0.130", features = ["derive", "rc"]}
serde_bytes = "0.11"
serde_json = "1.0"
starcoin-abi-resolver = {path = "../resolver"}
starcoin-abi-types = {path = "../types"}
starcoin-resource-viewer = {path = "../../vm/resource-viewer"}
starcoin-vm-types = {path = "../../vm/types"}
homepage = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
34 changes: 19 additions & 15 deletions abi/resolver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
[dependencies]
anyhow = { workspace = true }
move-model = { workspace = true }
starcoin-abi-types = { workspace = true }
starcoin-resource-viewer = { workspace = true }
starcoin-vm-types = { workspace = true }

[dev-dependencies]
serde_json = { workspace = true }
stdlib = { workspace = true }
test-helper = { workspace = true }

[package]
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
edition = "2021"
authors = { workspace = true }
edition = { workspace = true }
name = "starcoin-abi-resolver"
version = "1.12.9"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "~1"
move-model = {git = "https://github.com/starcoinorg/move", rev = "2b85bf33378a4469e40b10e7bed815bdbefc5d03"}
starcoin-abi-types = {path = "../types"}
starcoin-resource-viewer = {path = "../../vm/resource-viewer"}
starcoin-vm-types = {path = "../../vm/types"}
[dev-dependencies]
serde_json = "1"
stdlib = {path = "../../vm/stdlib"}
test-helper = {path = "../../test-helper"}
homepage = { workspace = true }
license = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
Loading