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

*/Cargo.toml: format toml with taplo #155

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
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
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",
]
Loading