Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

603 B
Raw Blame
id: rust-no-axum-extension-param
language: rust
severity: warning
message: Axum handlers should take shared services via State, not Extension.
note: |-
  Rule CS-30 in docs/development/style-guide.md. Recent reviews enforce
  State for shared services (PR #4556); attach cross-cutting services to the
  owning domain service rather than wiring them at the router layer (CS-31,
  PR #4572). ~200 legacy uses exist — don't add new ones.
files:
  - crates/**
  - services/**
  - tooling/**
rule:
  kind: parameter
  has:
    field: type
    kind: generic_type
    regex: ^(axum::(extract::)?)?Extension<