mirror of
https://github.com/aya-rs/aya.git
synced 2025-12-12 20:35:55 +01:00
taplo: reorder-keys
Group non-workspace keys before workspace ones for readability.
This commit is contained in:
@@ -2,3 +2,4 @@
|
||||
|
||||
[rule.formatting]
|
||||
indent_string = " "
|
||||
reorder_keys = true
|
||||
|
||||
@@ -49,11 +49,11 @@ default-members = [
|
||||
|
||||
[workspace.package]
|
||||
authors = ["Aya Contributors"]
|
||||
edition = "2024"
|
||||
homepage = "https://aya-rs.dev"
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/aya-rs/aya"
|
||||
homepage = "https://aya-rs.dev"
|
||||
rust-version = "1.85.0"
|
||||
edition = "2024"
|
||||
|
||||
# NOTE(vadorovsky): Neither cargo-udeps nor cargo-machete are able to detect
|
||||
# unused crates defined in this section. It would be nice to teach either of
|
||||
@@ -107,8 +107,8 @@ xdpilone = { version = "1.0.5", default-features = false }
|
||||
unused-extern-crates = "warn"
|
||||
|
||||
[profile.release.package.integration-ebpf]
|
||||
debug = 2
|
||||
codegen-units = 1
|
||||
debug = 2
|
||||
|
||||
[patch.crates-io]
|
||||
# TODO: Remove when https://github.com/rust-random/getrandom/commit/b75db5cede302bc9734f5bf2b9048a6e05c7f11e appears in a release.
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
[package]
|
||||
description = "Build-time support for aya projects"
|
||||
name = "aya-build"
|
||||
version = "0.1.2"
|
||||
description = "Build-time support for aya projects"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
[package]
|
||||
description = "Proc macros used by aya-ebpf"
|
||||
name = "aya-ebpf-macros"
|
||||
version = "0.1.1"
|
||||
description = "Proc macros used by aya-ebpf"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
[package]
|
||||
description = "A logging library for eBPF programs."
|
||||
documentation = "https://docs.rs/aya-log"
|
||||
keywords = ["bpf", "ebpf", "log", "logging"]
|
||||
name = "aya-log-common"
|
||||
version = "0.1.15"
|
||||
description = "A logging library for eBPF programs."
|
||||
keywords = ["bpf", "ebpf", "log", "logging"]
|
||||
documentation = "https://docs.rs/aya-log"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
[package]
|
||||
description = "Proc macros used by aya-log-ebpf"
|
||||
name = "aya-log-ebpf-macros"
|
||||
version = "0.1.0"
|
||||
description = "Proc macros used by aya-log-ebpf"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
[package]
|
||||
description = "A parser for the aya log format strings"
|
||||
name = "aya-log-parser"
|
||||
version = "0.1.13"
|
||||
description = "A parser for the aya log format strings"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
[package]
|
||||
name = "aya-log"
|
||||
version = "0.2.1"
|
||||
description = "A logging library for eBPF programs."
|
||||
keywords = ["bpf", "ebpf", "log", "logging"]
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/aya-log"
|
||||
keywords = ["bpf", "ebpf", "log", "logging"]
|
||||
name = "aya-log"
|
||||
readme = "README.md"
|
||||
version = "0.2.1"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
[package]
|
||||
name = "aya-obj"
|
||||
version = "0.2.1"
|
||||
description = "An eBPF object file parsing library with BTF and relocation support."
|
||||
keywords = ["bpf", "btf", "ebpf", "elf", "object"]
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/aya-obj"
|
||||
keywords = ["bpf", "btf", "ebpf", "elf", "object"]
|
||||
name = "aya-obj"
|
||||
readme = "README.md"
|
||||
version = "0.2.1"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -1,21 +1,22 @@
|
||||
[package]
|
||||
name = "aya-tool"
|
||||
version = "0.1.0"
|
||||
publish = false
|
||||
description = "A tool for generating bindings for Linux Kernel types"
|
||||
name = "aya-tool"
|
||||
publish = false
|
||||
version = "0.1.0"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true, default-features = true }
|
||||
bindgen = { workspace = true, default-features = true }
|
||||
clap = { workspace = true, default-features = true, features = ["derive"] }
|
||||
anyhow = { workspace = true, default-features = true }
|
||||
thiserror = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
[package]
|
||||
name = "aya"
|
||||
version = "0.13.1"
|
||||
description = "An eBPF library with a focus on developer experience and operability."
|
||||
keywords = ["bpf", "ebpf", "kernel", "linux"]
|
||||
readme = "README.md"
|
||||
documentation = "https://docs.rs/aya"
|
||||
keywords = ["bpf", "ebpf", "kernel", "linux"]
|
||||
name = "aya"
|
||||
readme = "README.md"
|
||||
version = "0.13.1"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -33,9 +34,9 @@ tokio = { workspace = true, features = ["rt"], optional = true }
|
||||
tempfile = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
async_tokio = ["tokio/net"]
|
||||
async_std = ["dep:async-io"]
|
||||
async_tokio = ["tokio/net"]
|
||||
default = []
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
[package]
|
||||
description = "Bindings for Linux Kernel eBPF types and helpers"
|
||||
name = "aya-ebpf-bindings"
|
||||
version = "0.1.1"
|
||||
description = "Bindings for Linux Kernel eBPF types and helpers"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -4,12 +4,13 @@ description = "Type aliases to C types like c_int for use with bindgen"
|
||||
documentation = "https://docs.rs/aya-bpf-cty"
|
||||
name = "aya-ebpf-cty"
|
||||
version = "0.2.2"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -1,21 +1,22 @@
|
||||
[package]
|
||||
description = "A library for writing eBPF programs"
|
||||
name = "aya-ebpf"
|
||||
version = "0.1.1"
|
||||
description = "A library for writing eBPF programs"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
aya-ebpf-bindings = { version = "^0.1.1", path = "../aya-ebpf-bindings" }
|
||||
aya-ebpf-cty = { version = "^0.2.2", path = "../aya-ebpf-cty" }
|
||||
aya-ebpf-macros = { version = "^0.1.1", path = "../../aya-ebpf-macros" }
|
||||
aya-ebpf-bindings = { version = "^0.1.1", path = "../aya-ebpf-bindings" }
|
||||
|
||||
[build-dependencies]
|
||||
rustversion = { workspace = true }
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
[package]
|
||||
description = "Logging for eBPF programs"
|
||||
name = "aya-log-ebpf"
|
||||
version = "0.1.1"
|
||||
description = "Logging for eBPF programs"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
[package]
|
||||
name = "init"
|
||||
version = "0.1.0"
|
||||
publish = false
|
||||
version = "0.1.0"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[build]
|
||||
publish = "site"
|
||||
command = "rustup toolchain install nightly -c rust-src && cargo xtask docs"
|
||||
publish = "site"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
pre-release-commit-message = "{{crate_name}}: release version {{version}}"
|
||||
consolidate-commits = true
|
||||
pre-release-commit-message = "{{crate_name}}: release version {{version}}"
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
[package]
|
||||
name = "integration-common"
|
||||
version = "0.1.0"
|
||||
publish = false
|
||||
version = "0.1.0"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
[package]
|
||||
name = "integration-ebpf"
|
||||
version = "0.1.0"
|
||||
publish = false
|
||||
version = "0.1.0"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
[package]
|
||||
name = "integration-test"
|
||||
version = "0.1.0"
|
||||
publish = false
|
||||
version = "0.1.0"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
[package]
|
||||
name = "xtask"
|
||||
version = "0.1.0"
|
||||
publish = false
|
||||
version = "0.1.0"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
rust-version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
Reference in New Issue
Block a user