toml: add formatter and check in CI

pull/666/head
Tamir Duberstein 1 year ago
parent 893ab76afa
commit c8bf646ef0
No known key found for this signature in database

@ -27,6 +27,9 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: cargo install taplo-cli
- run: taplo fmt --check
- name: Check formatting
run: cargo fmt --all -- --check

@ -0,0 +1,5 @@
[[rule]]
[rule.formatting]
indent_string = " "
reorder_arrays = true

@ -2,7 +2,7 @@
name = "aya-log-common"
version = "0.1.13"
description = "A logging library for eBPF programs."
keywords = ["ebpf", "bpf", "log", "logging"]
keywords = ["bpf", "ebpf", "log", "logging"]
license = "MIT OR Apache-2.0"
authors = ["The Aya Contributors"]
repository = "https://github.com/aya-rs/aya-log"

@ -2,7 +2,7 @@
name = "aya-log"
version = "0.1.13"
description = "A logging library for eBPF programs."
keywords = ["ebpf", "bpf", "log", "logging"]
keywords = ["bpf", "ebpf", "log", "logging"]
license = "MIT OR Apache-2.0"
authors = ["The Aya Contributors"]
repository = "https://github.com/aya-rs/aya-log"

@ -6,4 +6,3 @@ edition = "2021"
[dependencies]
aya-bpf-cty = { path = "../aya-bpf-cty" }

@ -1,4 +1,3 @@
unstable_features = true
reorder_imports = true
imports_granularity = "Crate"

Loading…
Cancel
Save