Skip to content

Commit

Permalink
Silence cargo install false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
epompeii committed Jun 22, 2024
1 parent 9f68493 commit da23521
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 14 deletions.
1 change: 1 addition & 0 deletions examples/ebpf/perf_event/profiler-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "profiler-common"
version = "0.1.0"
edition = "2021"
publish = false

[features]
default = []
Expand Down
1 change: 1 addition & 0 deletions examples/ebpf/perf_event/profiler-ebpf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "profiler-ebpf"
version = "0.1.0"
edition = "2021"
publish = false

[dependencies]
aya-ebpf = "0.1.0"
Expand Down
12 changes: 9 additions & 3 deletions examples/ebpf/perf_event/profiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
publish = false

[features]
dhat-heap = []
dhat-heap = []

[dependencies]
aya = "0.12"
Expand All @@ -15,7 +15,13 @@ anyhow = "1"
env_logger = "0.10"
libc = "0.2"
log = "0.4"
tokio = { version = "1.25", features = ["macros", "rt", "rt-multi-thread", "net", "signal"] }
tokio = { version = "1.25", features = [
"macros",
"rt",
"rt-multi-thread",
"net",
"signal",
] }
chrono = "0.4"
dhat = "0.3"

Expand All @@ -31,4 +37,4 @@ debug = true

[[bench]]
name = "profiler"
harness = false
harness = false
1 change: 1 addition & 0 deletions examples/ebpf/xdp/ebpf-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "ebpf-common"
version = "0.1.0"
edition = "2021"
publish = false

[features]
default = []
Expand Down
1 change: 1 addition & 0 deletions examples/ebpf/xdp/ebpf-ebpf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "ebpf-ebpf"
version = "0.1.0"
edition = "2021"
publish = false

[dependencies]
aya-bpf = { git = "https://github.com/aya-rs/aya", rev = "b13070a3429033700f8d13b4f01f81d4ede07fe1" }
Expand Down
1 change: 1 addition & 0 deletions examples/rust/custom/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
name = "custom"
version = "0.1.0"
edition = "2021"
publish = false

[dev-dependencies]
dhat = "0.3"
Expand Down
14 changes: 7 additions & 7 deletions examples/rust/iai_callgrind/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion examples/rust/iai_callgrind/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[workspace]

[package]
name = "rust_iai_callgrind"
name = "game"
version = "0.1.0"
edition = "2021"
publish = false

[dev-dependencies]
iai-callgrind = "0.10.2"
Expand Down
1 change: 1 addition & 0 deletions tasks/bin_version/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "bin_version"
version.workspace = true
authors.workspace = true
edition.workspace = true
publish = false

[lints]
workspace = true
2 changes: 1 addition & 1 deletion tasks/gen_installer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "gen_installer"
version.workspace = true
authors.workspace = true
edition.workspace = true

publish = false

[dependencies]
# Workspace
Expand Down
2 changes: 1 addition & 1 deletion tasks/gen_notes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "gen_notes"
version.workspace = true
authors.workspace = true
edition.workspace = true

publish = false

[dependencies]
# Workspace
Expand Down
2 changes: 1 addition & 1 deletion tasks/gen_pkg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "gen_pkg"
version.workspace = true
authors.workspace = true
edition.workspace = true

publish = false

[dependencies]
# Workspace
Expand Down
1 change: 1 addition & 0 deletions tasks/gen_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "gen_types"
version.workspace = true
authors.workspace = true
edition.workspace = true
publish = false

[features]
default = ["plus"]
Expand Down
1 change: 1 addition & 0 deletions tasks/test_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "test_api"
version.workspace = true
authors.workspace = true
edition.workspace = true
publish = false

[dependencies]
# Workspace
Expand Down
1 change: 1 addition & 0 deletions tasks/test_netlify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "test_netlify"
version.workspace = true
authors.workspace = true
edition.workspace = true
publish = false

[dependencies]
# Workspace
Expand Down
1 change: 1 addition & 0 deletions xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "xtask"
version.workspace = true
authors.workspace = true
edition.workspace = true
publish = false

[features]
default = ["plus"]
Expand Down

0 comments on commit da23521

Please sign in to comment.