File: 2001_typed-json.patch

package info (click to toggle)
rust-axum 0.8.4-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 4,356 kB
  • sloc: javascript: 35; makefile: 24; sql: 6; sh: 1
file content (24 lines) | stat: -rw-r--r-- 991 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: avoid not-in-Debian crate typed-json
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-02-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/axum-extra/Cargo.toml
+++ b/axum-extra/Cargo.toml
@@ -23,7 +23,6 @@
 cookie-private = ["cookie", "cookie?/private"]
 cookie-signed = ["cookie", "cookie?/signed"]
 cookie-key-expansion = ["cookie", "cookie?/key-expansion"]
-erased-json = ["dep:serde_json", "dep:typed-json"]
 form = ["dep:form_urlencoded", "dep:serde_html_form", "dep:serde_path_to_error"]
 json-deserializer = ["dep:serde_json", "dep:serde_path_to_error"]
 json-lines = [
@@ -80,7 +79,6 @@
 tokio-stream = { version = "0.1.9", optional = true }
 tokio-util = { version = "0.7", optional = true }
 tracing = { version = "0.1.37", default-features = false, optional = true }
-typed-json = { version = "0.1.1", optional = true }
 
 [dev-dependencies]
 axum = { path = "../axum", features = ["macros", "__private"] }