HTTP routing and request-handling library for Rust that focuses on ergonomics and modularity
This report summarizes scanner evidence for tokio-rs/axum, a Rust project with 27,441 GitHub stars. SynthScan examined 57,464 lines of code across 425 source files, recording 435 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 7.4 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 435 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 435 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 435 distinct pattern matches across 2 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | axum-core/src/body.rs | 61 | /// This is useful in cases where a body is required to construct a | COMMENT |
| LOW | axum-core/src/lib.rs | 1 | //! Core types and traits for [`axum`]. | COMMENT |
| LOW | axum-core/src/response/append_headers.rs | 1 | use super::{IntoResponse, IntoResponseParts, Response, ResponseParts, TryIntoHeaderError}; | COMMENT |
| LOW | axum-core/src/response/append_headers.rs | 21 | /// ( | COMMENT |
| LOW | axum-core/src/response/into_response_parts.rs | 1 | use super::{IntoResponse, Response}; | COMMENT |
| LOW | axum-core/src/response/into_response_parts.rs | 21 | /// impl<'a> IntoResponseParts for SetHeader<'a> { | COMMENT |
| LOW | axum-core/src/response/into_response_parts.rs | 41 | /// } | COMMENT |
| LOW | axum-core/src/response/into_response_parts.rs | 61 | /// ( | COMMENT |
| LOW | axum-core/src/response/mod.rs | 21 | }; | COMMENT |
| LOW | axum-core/src/response/mod.rs | 41 | /// // two fallible functions with different error types | COMMENT |
| LOW | axum-core/src/response/mod.rs | 61 | /// | COMMENT |
| LOW | axum-core/src/response/mod.rs | 81 | /// ``` | COMMENT |
| LOW | axum-core/src/response/mod.rs | 141 | /// | COMMENT |
| LOW | axum-core/src/response/mod.rs | 181 | COMMENT | |
| LOW | axum-core/src/response/into_response.rs | 21 | /// # Implementing `IntoResponse` | COMMENT |
| LOW | axum-core/src/response/into_response.rs | 41 | /// } | COMMENT |
| LOW | axum-core/src/response/into_response.rs | 61 | /// # let _: Router = app; | COMMENT |
| LOW | axum-core/src/response/into_response.rs | 81 | /// pin::Pin, | COMMENT |
| LOW | axum-core/src/response/into_response.rs | 101 | /// // Now we can implement `IntoResponse` directly for `MyBody` | COMMENT |
| LOW | axum-core/src/extract/default_body_limit.rs | 1 | use self::private::DefaultBodyLimitService; | COMMENT |
| LOW | axum-core/src/extract/default_body_limit.rs | 21 | /// [`RequestExt::with_limited_body`] or [`RequestExt::into_limited_body`] | COMMENT |
| LOW | axum-core/src/extract/default_body_limit.rs | 41 | /// ``` | COMMENT |
| LOW | axum-core/src/extract/default_body_limit.rs | 61 | /// // this route has a different limit | COMMENT |
| LOW | axum-core/src/extract/default_body_limit.rs | 81 | COMMENT | |
| LOW | axum-core/src/extract/default_body_limit.rs | 101 | /// Router, | COMMENT |
| LOW | axum-core/src/extract/default_body_limit.rs | 121 | kind: DefaultBodyLimitKind::Disable, | COMMENT |
| LOW | axum-core/src/extract/default_body_limit.rs | 141 | /// let app: Router<()> = Router::new() | COMMENT |
| LOW | axum-core/src/extract/default_body_limit.rs | 161 | /// # Example | COMMENT |
| LOW | axum-core/src/extract/mod.rs | 41 | /// Types that can be created from request parts. | COMMENT |
| LOW | axum-core/src/extract/mod.rs | 61 | fn from_request_parts( | COMMENT |
| LOW | axum-core/src/extract/from_ref.rs | 1 | /// Used to do reference-to-value conversions thus not consuming the input value. | COMMENT |
| LOW | axum-core/src/ext_traits/request.rs | 21 | /// ``` | COMMENT |
| LOW | axum-core/src/ext_traits/request.rs | 41 | /// async fn from_request(req: Request, _state: &S) -> Result<Self, Self::Rejection> { | COMMENT |
| LOW | axum-core/src/ext_traits/request.rs | 61 | /// Ok(Self(payload)) | COMMENT |
| LOW | axum-core/src/ext_traits/request.rs | 81 | /// | COMMENT |
| LOW | axum-core/src/ext_traits/request.rs | 101 | /// let requires_state = req.extract_with_state::<RequiresState, _, _>(state).await?; | COMMENT |
| LOW | axum-core/src/ext_traits/request.rs | 121 | /// ``` | COMMENT |
| LOW | axum-core/src/ext_traits/request.rs | 141 | /// Json, RequestExt, | COMMENT |
| LOW | axum-core/src/ext_traits/request.rs | 161 | /// | COMMENT |
| LOW | axum-core/src/ext_traits/request.rs | 181 | COMMENT | |
| LOW | axum-core/src/ext_traits/request.rs | 201 | /// | COMMENT |
| LOW | axum-core/src/ext_traits/request.rs | 221 | /// | COMMENT |
| LOW | axum-core/src/ext_traits/request_parts.rs | 21 | /// response::{Response, IntoResponse}, | COMMENT |
| LOW | axum-core/src/ext_traits/request_parts.rs | 41 | /// .await | COMMENT |
| LOW | axum-core/src/ext_traits/request_parts.rs | 61 | /// This is just a convenience for `E::from_request_parts(parts, state)`. | COMMENT |
| LOW | axum-core/src/ext_traits/request_parts.rs | 81 | /// { | COMMENT |
| LOW | axum/src/service_ext.rs | 1 | use crate::error_handling::HandleError; | COMMENT |
| LOW | axum/src/service_ext.rs | 21 | /// associated `ConnectInfo` in a request extension such that [`ConnectInfo`] | COMMENT |
| LOW | axum/src/lib.rs | 1 | //! axum is an HTTP routing and request-handling library that focuses on ergonomics and modularity. | COMMENT |
| LOW | axum/src/lib.rs | 21 | //! transport layer independence is not a goal, at least for the time being. | COMMENT |
| LOW | axum/src/lib.rs | 41 | //! } | COMMENT |
| LOW | axum/src/lib.rs | 61 | //! async fn root() {} | COMMENT |
| LOW | axum/src/lib.rs | 81 | //! ```rust | COMMENT |
| LOW | axum/src/lib.rs | 101 | //! Anything that implements [`IntoResponse`] can be returned from handlers. | COMMENT |
| LOW | axum/src/lib.rs | 121 | //! } | COMMENT |
| LOW | axum/src/lib.rs | 141 | //! | COMMENT |
| LOW | axum/src/lib.rs | 161 | //! use axum::{ | COMMENT |
| LOW | axum/src/lib.rs | 181 | //! // ... | COMMENT |
| LOW | axum/src/lib.rs | 201 | //! `Box::leak` for state initialized in `main`, including when state initialization | COMMENT |
| LOW | axum/src/lib.rs | 221 | //! fn main() { | COMMENT |
| 374 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/release-plz.yml | 38 | # Create a PR with the new versions and changelog, preparing the next release. | COMMENT |