refactor(core): Improve code readability and structure

- Format code uniformly, applying consistent indentation and spacing
- Restructure enum, function, and match-case formatting for clarity
- Remove redundant `defaults` from CI workflows
This commit is contained in:
geoffsee
2025-08-25 15:24:10 -04:00
parent 3995b14f9e
commit 560980d9d7
6 changed files with 268 additions and 111 deletions

View File

@@ -12,9 +12,6 @@ jobs:
docs:
name: Build and validate documentation
runs-on: ubuntu-latest
defaults:
run:
working-directory: crates/muxox
strategy:
fail-fast: false
matrix:
@@ -70,14 +67,11 @@ jobs:
name: Test before release
runs-on: ubuntu-latest
needs: docs
defaults:
run:
working-directory: crates/muxox
strategy:
fail-fast: false
matrix:
include:
- name: default (native-tls)
- name: default
features: ""
no-default-features: false
@@ -129,9 +123,6 @@ jobs:
permissions:
id-token: write # Required for OIDC token exchange https://crates.io/docs/trusted-publishing
needs: test
defaults:
run:
working-directory: crates/muxox
steps:
- name: Checkout
uses: actions/checkout@v4