update
This commit is contained in:
@@ -22,7 +22,7 @@ categories = [
|
||||
edition = "2021"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["full"]
|
||||
features = ["full", "aide"]
|
||||
|
||||
[dependencies]
|
||||
axum = { version = "0.7.1", default-features = false }
|
||||
|
||||
@@ -10,6 +10,8 @@ use axum::routing::{get, post};
|
||||
use axum::{Form, Json, Router};
|
||||
use hyper::Method;
|
||||
use once_cell::sync::Lazy;
|
||||
#[cfg(feature = "extra_protobuf")]
|
||||
use prost::Message;
|
||||
use reqwest::Url;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::any::type_name;
|
||||
@@ -19,7 +21,7 @@ use tokio::net::TcpListener;
|
||||
use validify::{Modify, Validate, Validify};
|
||||
|
||||
#[derive(Clone, Deserialize, Serialize, Validify, Eq, PartialEq)]
|
||||
#[cfg_attr(feature = "extra_protobuf", derive(prost::Message))]
|
||||
#[cfg_attr(feature = "extra_protobuf", derive(Message))]
|
||||
#[cfg_attr(
|
||||
feature = "typed_multipart",
|
||||
derive(axum_typed_multipart::TryFromMultipart)
|
||||
|
||||
Reference in New Issue
Block a user