-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change
sse::Event::json_data
to use axum_core::Error
as its error…
… type I don't think it was intentional to use `serde_json::Error` and we don't generally use that elsewhere we do JSON things. Discovered this with <https://github.com/davidpdrsn/cargo-public-api-crates>
- Loading branch information
1 parent
3897efd
commit d0c88f6
Showing
3 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,7 +122,6 @@ allowed = [ | |
"http_body", | ||
"hyper", | ||
"serde", | ||
"serde_json", | ||
"tower_layer", | ||
"tower_service", | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters