You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
802 B
TOML

[package]
name = "{{project-name}}"
version = "0.1.0"
edition = "2021"
publish = false
[dependencies]
aya = { version = ">=0.11", features=["async_tokio"] }
aya-log = "0.1"
{{project-name}}-common = { path = "../{{project-name}}-common", features=["user"] }
anyhow = "1.0.42"
clap = { version = "3.1", features = ["derive"] }
{%- if program_type == "uprobe" %}
libc = "0.2"
{%- else %}
# Kernels before 5.11 don't use cgroup accounting, so they might reach the
# RLIMIT_MEMLOCK when creating maps. For that case, libc is needed when raising
# RLIMIT_MEMLOCK to RLIM_INFINITY automatically.
#
# libc = "0.2"
{%- endif %}
log = "0.4"
simplelog = "0.12"
tokio = { version = "1.18", features = ["macros", "rt", "rt-multi-thread", "net", "signal"] }
[[bin]]
name = "{{project-name}}"
path = "src/main.rs"