Remove branch specifications

The branch should be dictated by the repository.
pull/96/head
Tamir Duberstein 1 year ago
parent d65e6d2bb6
commit afdb45341f

@ -1,2 +1,2 @@
[alias] [alias]
xtask = "run --package xtask --" xtask = "run --package xtask --"

@ -1,2 +1,2 @@
[workspace] [workspace]
members = ["{{project-name}}", "{{project-name}}-common", "xtask"] members = ["xtask", "{{project-name}}", "{{project-name}}-common"]

@ -47,12 +47,12 @@ prompt = "Function name to attach the (u|uret)probe? (e.g getaddrinfo)"
[conditional.'program_type == "cgroup_skb" || program_type == "classifier"'.placeholders.direction] [conditional.'program_type == "cgroup_skb" || program_type == "classifier"'.placeholders.direction]
type = "string" type = "string"
prompt = "Attach direction?" prompt = "Attach direction?"
choices = [ "Ingress", "Egress" ] choices = ["Egress", "Ingress"]
[conditional.'program_type == "cgroup_sockopt"'.placeholders.sockopt_target] [conditional.'program_type == "cgroup_sockopt"'.placeholders.sockopt_target]
type = "string" type = "string"
prompt = "Which socket option?" prompt = "Which socket option?"
choices = [ "getsockopt", "setsockopt" ] choices = ["getsockopt", "setsockopt"]
[conditional.'program_type == "sk_msg"'.placeholders.sock_map] [conditional.'program_type == "sk_msg"'.placeholders.sock_map]
type = "string" type = "string"

@ -3,4 +3,4 @@ target-dir = "../target"
target = "bpfel-unknown-none" target = "bpfel-unknown-none"
[unstable] [unstable]
build-std = ["core"] build-std = ["core"]

@ -4,8 +4,8 @@ version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
aya-bpf = { git = "https://github.com/aya-rs/aya", branch = "main" } aya-bpf = { git = "https://github.com/aya-rs/aya" }
aya-log-ebpf = { git = "https://github.com/aya-rs/aya", branch = "main" } aya-log-ebpf = { git = "https://github.com/aya-rs/aya" }
{{ project-name }}-common = { path = "../{{ project-name }}-common" } {{ project-name }}-common = { path = "../{{ project-name }}-common" }
[[bin]] [[bin]]

@ -2,4 +2,12 @@
channel = "nightly" channel = "nightly"
# The source code of rustc, provided by the rust-src component, is needed for # The source code of rustc, provided by the rust-src component, is needed for
# building eBPF programs. # building eBPF programs.
components = [ "rustc", "rust-std", "cargo", "rust-docs", "rustfmt", "clippy", "rust-src" ] components = [
"cargo",
"clippy",
"rust-docs",
"rust-src",
"rust-std",
"rustc",
"rustfmt",
]

Loading…
Cancel
Save