This commit is contained in:
gengteng
2023-12-18 17:18:02 +08:00
parent fabb66e41b
commit e8f776443c
2 changed files with 4 additions and 2 deletions

View File

@@ -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 }

View File

@@ -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)