diff --git a/Cargo.lock b/Cargo.lock index e975622..05c384a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -368,7 +368,6 @@ dependencies = [ "ckb-types", "ckb-vm", "hex", - "js-sys", "regex 1.9.5", "serde", "serde_json", @@ -668,7 +667,6 @@ dependencies = [ "bytes", "ckb-gdb-remote-protocol", "ckb-vm", - "env_logger 0.4.3", "gdbstub", "gdbstub_arch", "libc", @@ -1144,15 +1142,6 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" -[[package]] -name = "js-sys" -version = "0.3.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" -dependencies = [ - "wasm-bindgen", -] - [[package]] name = "lazy_static" version = "1.4.0" diff --git a/ckb-debugger-api/Cargo.toml b/ckb-debugger-api/Cargo.toml index 57af4c8..a0754f3 100644 --- a/ckb-debugger-api/Cargo.toml +++ b/ckb-debugger-api/Cargo.toml @@ -18,7 +18,6 @@ ckb-script = { version = "=0.111.0", default-features = false } ckb-types = "=0.111.0" ckb-vm = "=0.24.6" hex = "0.4" -js-sys = "0.3.27" regex = "1" serde = { version="1.0", features = ["derive"] } serde_json = "1.0" diff --git a/ckb-debugger/src/main.rs b/ckb-debugger/src/main.rs index 41d6740..932ad78 100644 --- a/ckb-debugger/src/main.rs +++ b/ckb-debugger/src/main.rs @@ -195,7 +195,7 @@ fn main() -> Result<(), Box> { let matches_args = matches.values_of("args").unwrap_or_default(); let matches_read_file_name = matches.value_of("read-file"); - let verifier_args: Vec = matches_args.into_iter().map(|s| s.clone().into()).collect(); + let verifier_args: Vec = matches_args.into_iter().map(|s| s.into()).collect(); let verifier_args_byte: Vec = verifier_args.into_iter().map(|s| s.into()).collect(); let fs_syscall = if let Some(file_name) = matches_read_file_name { diff --git a/ckb-gdb-remote-protocol/Cargo.toml b/ckb-gdb-remote-protocol/Cargo.toml index c4524e5..a6a8900 100644 --- a/ckb-gdb-remote-protocol/Cargo.toml +++ b/ckb-gdb-remote-protocol/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ckb-gdb-remote-protocol" -edition = "2018" +edition = "2021" version = "0.111.0" description = "An implementation of the GDB remote protocol" authors = ["Ted Mielczarek "] diff --git a/ckb-vm-debug-utils/Cargo.toml b/ckb-vm-debug-utils/Cargo.toml index 7210397..5109680 100644 --- a/ckb-vm-debug-utils/Cargo.toml +++ b/ckb-vm-debug-utils/Cargo.toml @@ -14,7 +14,6 @@ stdio = ["libc", "nix"] byteorder = "1" bytes = "1.0.0" ckb-vm = "=0.24.6" -env_logger = "0.4.3" ckb-gdb-remote-protocol = { path = "../ckb-gdb-remote-protocol", version="0.111.0" } libc = { version = "0.2.47", optional = true } log = "0.4.0" diff --git a/ckb-vm-pprof-protos/Cargo.toml b/ckb-vm-pprof-protos/Cargo.toml index 743e670..8170a6b 100644 --- a/ckb-vm-pprof-protos/Cargo.toml +++ b/ckb-vm-pprof-protos/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ckb-vm-pprof-protos" version = "0.111.0" -edition = "2018" +edition = "2021" description = "Crate for generating Rust definitions from pprof proto" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/ckb-vm-signal-profiler/Cargo.toml b/ckb-vm-signal-profiler/Cargo.toml index 4f8d3e0..02b80f3 100644 --- a/ckb-vm-signal-profiler/Cargo.toml +++ b/ckb-vm-signal-profiler/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ckb-vm-signal-profiler" version = "0.111.0" -edition = "2018" +edition = "2021" description = "Linux signal based profiler for ckb-vm, note this is profiling ckb-vm itself, not the programs running in ckb-vm" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html