Skip to content

Commit

Permalink
*/Cargo.toml: format toml with taplo (#155)
Browse files Browse the repository at this point in the history
Ran `taplo fmt`.
  • Loading branch information
ajwerner authored Sep 11, 2024
1 parent 6eb6050 commit 35bd22e
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 17 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ jobs:
make -j CFLAGS="-m32" LDFLAGS="-m32"
make install_sw
echo "OPENSSL_DIR=/tmp/openssl/install/" >> $GITHUB_ENV
- uses: taiki-e/install-action@v2
with:
tool: taplo-cli
- name: Format Toml
run: taplo fmt --check
- name: Check
uses: actions-rs/cargo@v1
with:
Expand Down
4 changes: 4 additions & 0 deletions .taplo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[[rule]]

[rule.formatting]
indent_string = " "
12 changes: 5 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,14 @@ members = [
]
# We miss our linux_no_std example from the default members since `cargo check`
# and `cargo test` both attempt to link the `std` library into it in error.
default-members = [
"frida-gum-sys",
"frida-gum",
"frida-sys",
"frida",
]
default-members = ["frida-gum-sys", "frida-gum", "frida-sys", "frida"]

[workspace.package]
version = "0.13.7"
authors = ["Keegan Saunders <[email protected]>", "Shmarya Rubenstein <[email protected]>"]
authors = [
"Keegan Saunders <[email protected]>",
"Shmarya Rubenstein <[email protected]>",
]
edition = "2021"
license = "wxWindows"
repository = "https://github.com/frida/frida-rust"
Expand Down
2 changes: 1 addition & 1 deletion examples/core/console_log/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ publish = false

[dependencies]
frida = { path = "../../../frida" }
lazy_static = "1.4"
lazy_static = "1.4"
2 changes: 1 addition & 1 deletion examples/gum/debug_symbol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ edition = "2018"
license = "MIT"

[dependencies]
frida-gum = { path = "../../../frida-gum", features = ["invocation-listener"]}
frida-gum = { path = "../../../frida-gum", features = ["invocation-listener"] }
lazy_static = "1.4"
2 changes: 1 addition & 1 deletion examples/gum/hook_instruction/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ license = "MIT"
crate-type = ["cdylib"]

[dependencies]
frida-gum = { path = "../../../frida-gum", features = ["invocation-listener"]}
frida-gum = { path = "../../../frida-gum", features = ["invocation-listener"] }
lazy_static = "1.4"
ctor = "0.2"
2 changes: 1 addition & 1 deletion examples/gum/hook_open/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "MIT"
crate-type = ["cdylib"]

[dependencies]
frida-gum = { path = "../../../frida-gum"}
frida-gum = { path = "../../../frida-gum" }
lazy_static = "1.4"
ctor = "0.2"
libc = "0.2.126"
2 changes: 1 addition & 1 deletion examples/gum/linux_no_std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"
license = "MIT"

[dependencies]
frida-gum = { path = "../../../frida-gum"}
frida-gum = { path = "../../../frida-gum" }
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 }
5 changes: 4 additions & 1 deletion examples/gum/stalker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ license = "wxWindows"
publish = false

[dependencies]
frida-gum = { path = "../../../frida-gum", features = ["event-sink", "invocation-listener"] }
frida-gum = { path = "../../../frida-gum", features = [
"event-sink",
"invocation-listener",
] }
frida-gum-sys = { path = "../../../frida-gum-sys" }
lazy_static = "1.4"
7 changes: 6 additions & 1 deletion examples/gum/stalker_observer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ license = "wxWindows"
publish = false

[dependencies]
frida-gum = { path = "../../../frida-gum", features = ["event-sink", "invocation-listener", "stalker-observer", "stalker-params"] }
frida-gum = { path = "../../../frida-gum", features = [
"event-sink",
"invocation-listener",
"stalker-observer",
"stalker-params",
] }
frida-gum-sys = { path = "../../../frida-gum-sys" }
lazy_static = "1.4"
5 changes: 4 additions & 1 deletion frida-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ repository.workspace = true
description.workspace = true

[dependencies]
reqwest = { version = "0.12.2", 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"
12 changes: 10 additions & 2 deletions frida-gum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ stalker-params = ["frida-gum-sys/stalker-params"]
std = []

[dependencies]
cstr_core = { version = "0.2.6", default-features = false, features = ["alloc"] }
cstr_core = { version = "0.2.6", default-features = false, features = [
"alloc",
] }
frida-gum-sys = { path = "../frida-gum-sys", version = "0.13.7" }
libc = { version = "0.2.153", default-features = false, optional = true }
num = { version = "0.4.1", default-features = false }
Expand All @@ -34,4 +36,10 @@ lazy_static = "1"
maintenance = { status = "experimental" }

[package.metadata.docs.rs]
features = ["event-sink", "invocation-listener", "stalker-observer", "stalker-params", "std"]
features = [
"event-sink",
"invocation-listener",
"stalker-observer",
"stalker-params",
"std",
]

0 comments on commit 35bd22e

Please sign in to comment.