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]
xtask = "run --package xtask --"
xtask = "run --package xtask --"

@ -1,2 +1,2 @@
[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]
type = "string"
prompt = "Attach direction?"
choices = [ "Ingress", "Egress" ]
choices = ["Egress", "Ingress"]
[conditional.'program_type == "cgroup_sockopt"'.placeholders.sockopt_target]
type = "string"
prompt = "Which socket option?"
choices = [ "getsockopt", "setsockopt" ]
choices = ["getsockopt", "setsockopt"]
[conditional.'program_type == "sk_msg"'.placeholders.sock_map]
type = "string"

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

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

@ -2,4 +2,12 @@
channel = "nightly"
# The source code of rustc, provided by the rust-src component, is needed for
# 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