Implement Serialize, Deserialize and TryFromMultipart for Username/Password
Enable the axum feature to use it
This commit is contained in:
parent
2d1f3a985f
commit
4eb3ac6350
3 changed files with 68 additions and 7 deletions
|
|
@ -15,7 +15,13 @@ serde = { version = "1", features = [ "derive" ] }
|
|||
serde_json = "1"
|
||||
regex = "1.9"
|
||||
url = "2.4"
|
||||
futures-util = { version = "0.3", optional = true }
|
||||
axum = { version = "0.6", optional = true }
|
||||
axum_typed_multipart = { version = "0.8", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
scan-rules = "0.2"
|
||||
tokio = { version = "1", features = [ "sync", "rt" ] }
|
||||
|
||||
[features]
|
||||
axum = [ "dep:futures-util", "dep:axum", "dep:axum_typed_multipart" ]
|
||||
|
|
|
|||
Loading…
Reference in a new issue