From 4b0f17c6e1188ae3ab86d15a17ca4d32cf4a3b9f Mon Sep 17 00:00:00 2001 From: s1341 Date: Mon, 1 Apr 2024 10:40:56 +0300 Subject: [PATCH] Align all versions, update dependencies --- Cargo.toml | 8 ++++++++ examples/gum/fast_interceptor/Cargo.toml | 2 +- examples/gum/hook_instruction/Cargo.toml | 2 +- examples/gum/hook_open/Cargo.toml | 4 ++-- examples/gum/linux_no_std/Cargo.toml | 6 +++--- frida-build/Cargo.toml | 16 ++++++++-------- frida-gum-sys/Cargo.toml | 17 +++++++++-------- frida-gum/Cargo.toml | 22 +++++++++++----------- frida-sys/Cargo.toml | 16 ++++++++-------- frida/Cargo.toml | 14 +++++++------- 10 files changed, 58 insertions(+), 49 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 24faf57..7e8d5f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,3 +37,11 @@ default-members = [ "examples/core/usb_device", "examples/core/console_log", ] + +[workspace.package] +version = "0.13.6" +authors = ["Keegan Saunders ", "Shmarya Rubenstein "] +edition = "2021" +license = "wxWindows" +repository = "https://github.com/frida/frida-rust" +description = "Rust bindings for Frida" diff --git a/examples/gum/fast_interceptor/Cargo.toml b/examples/gum/fast_interceptor/Cargo.toml index 4ad6107..44b95d0 100644 --- a/examples/gum/fast_interceptor/Cargo.toml +++ b/examples/gum/fast_interceptor/Cargo.toml @@ -8,5 +8,5 @@ license = "MIT" [dependencies] frida-gum = { path = "../../../frida-gum" } lazy_static = "1.4" -ctor = "0.1" +ctor = "0.2" libc = "0.2.126" diff --git a/examples/gum/hook_instruction/Cargo.toml b/examples/gum/hook_instruction/Cargo.toml index 94fe6cf..2e51994 100644 --- a/examples/gum/hook_instruction/Cargo.toml +++ b/examples/gum/hook_instruction/Cargo.toml @@ -11,4 +11,4 @@ crate-type = ["cdylib"] [dependencies] frida-gum = { path = "../../../frida-gum", features = ["invocation-listener"]} lazy_static = "1.4" -ctor = "0.1" +ctor = "0.2" diff --git a/examples/gum/hook_open/Cargo.toml b/examples/gum/hook_open/Cargo.toml index 847ed63..ff77603 100644 --- a/examples/gum/hook_open/Cargo.toml +++ b/examples/gum/hook_open/Cargo.toml @@ -11,5 +11,5 @@ crate-type = ["cdylib"] [dependencies] frida-gum = { path = "../../../frida-gum"} lazy_static = "1.4" -ctor = "0.1" -libc = "0.2.126" \ No newline at end of file +ctor = "0.2" +libc = "0.2.126" diff --git a/examples/gum/linux_no_std/Cargo.toml b/examples/gum/linux_no_std/Cargo.toml index 8bacf7e..db973a1 100644 --- a/examples/gum/linux_no_std/Cargo.toml +++ b/examples/gum/linux_no_std/Cargo.toml @@ -7,6 +7,6 @@ license = "MIT" [dependencies] frida-gum = { path = "../../../frida-gum"} -libc = { version = "0.2.126", default-features = false } -libc-print = { version = "0.1.20", default-features = false } -static-alloc = { version = "0.2.4", default-features = false } +libc = { version = "0.2.153", default-features = false } +libc-print = { version = "0.1.22", default-features = false } +static-alloc = { version = "0.2.5", default-features = false } diff --git a/frida-build/Cargo.toml b/frida-build/Cargo.toml index e82d7fc..2b5dde0 100644 --- a/frida-build/Cargo.toml +++ b/frida-build/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "frida-build" -version = "0.2.1" -authors = ["Keegan Saunders "] -edition = "2018" -license = "wxWindows" -repository = "https://github.com/frida/frida-rust" -description = "Build support for Frida Rust bindings" +version.workspace = true +edition.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +description.workspace = true [dependencies] -reqwest = { version = "0.11.3", default-features=false, features = ["blocking", "rustls-tls"] } +reqwest = { version = "0.12.2", default-features=false, features = ["blocking", "rustls-tls"] } +tar = "0.4.40" xz = "0.1.0" -tar = "0.4.33" diff --git a/frida-gum-sys/Cargo.toml b/frida-gum-sys/Cargo.toml index ebb176e..d8c700e 100644 --- a/frida-gum-sys/Cargo.toml +++ b/frida-gum-sys/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "frida-gum-sys" -version = "0.8.4" -authors = ["Keegan Saunders ", "Shmarya Rubenstein "] -edition = "2018" -license = "wxWindows" -repository = "https://github.com/frida/frida-rust" -description = "Rust generated bindings for Frida Gum" +version.workspace = true +edition.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +description.workspace = true + [features] auto-download = ["frida-build"] @@ -15,9 +16,9 @@ stalker-observer = ["cc"] stalker-params = ["cc"] [build-dependencies] -bindgen = "0.69.1" +bindgen = "0.69.4" cc = { version = "1.0", optional = true } -frida-build = { path = "../frida-build", version = "0.2.1", optional = true } +frida-build = { path = "../frida-build", optional = true } [badges] maintenance = { status = "experimental" } diff --git a/frida-gum/Cargo.toml b/frida-gum/Cargo.toml index 21eeb61..9476c0a 100644 --- a/frida-gum/Cargo.toml +++ b/frida-gum/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "frida-gum" -version = "0.13.5" -authors = ["Keegan Saunders ", "Shmarya Rubenstein "] -edition = "2018" -license = "wxWindows" -repository = "https://github.com/frida/frida-rust" -description = "Rust bindings for Frida Gum" +version.workspace = true +edition.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +description.workspace = true [features] auto-download = ["frida-gum-sys/auto-download"] @@ -19,11 +19,11 @@ stalker-params = ["frida-gum-sys/stalker-params"] [dependencies] cstr_core = { version = "0.2.6", default-features = false, features = ["alloc"] } -frida-gum-sys = { path = "../frida-gum-sys", version = "0.8.3" } -libc = { version = "0.2.93", default-features = false, optional = true } -num = { version = "0.3.1", default-features = false } -num-derive = { version = "0.3.3", default-features = false } -num-traits = { version = "0.2.14", default-features = false } +frida-gum-sys = { path = "../frida-gum-sys" } +libc = { version = "0.2.153", default-features = false, optional = true } +num = { version = "0.4.1", default-features = false } +num-derive = { version = "0.4.2", default-features = false } +num-traits = { version = "0.2.18", default-features = false } paste = { version = "1", default-features = false } [dev-dependencies] diff --git a/frida-sys/Cargo.toml b/frida-sys/Cargo.toml index 5b004f7..76d4416 100644 --- a/frida-sys/Cargo.toml +++ b/frida-sys/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "frida-sys" -version = "0.4.5" -authors = ["Keegan Saunders ", "Shmarya Rubenstein "] -edition = "2018" -license = "wxWindows" -repository = "https://github.com/frida/frida-rust" -description = "Rust generated bindings for Frida" +version.workspace = true +edition.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +description.workspace = true [features] auto-download = ["frida-build"] [build-dependencies] -bindgen = "0.69.1" -frida-build = { path = "../frida-build", version = "0.2.1", optional = true } +bindgen = "0.69.4" +frida-build = { path = "../frida-build", optional = true } [badges] maintenance = { status = "experimental" } diff --git a/frida/Cargo.toml b/frida/Cargo.toml index a0c3df1..7bd3346 100644 --- a/frida/Cargo.toml +++ b/frida/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "frida" -version = "0.4.5" -authors = ["Keegan Saunders ", "Shmarya Rubenstein "] -edition = "2018" -license = "wxWindows" -repository = "https://github.com/frida/frida-rust" -description = "Rust bindings for Frida" +version.workspace = true +edition.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +description.workspace = true [features] auto-download = ["frida-sys/auto-download"] [dependencies] -frida-sys = { path = "../frida-sys", version = "0.4.4" } +frida-sys = { path = "../frida-sys" } thiserror = "1" [dev-dependencies]