diff --git a/Cargo.toml b/Cargo.toml index 95881c8316..f67aa9bda2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ thiserror = "1.0.30" regex = "1.5.5" mime = "0.3.16" tracing = "0.1.36" -chrono = { version = "0.4.19", default-features = false } +chrono = { version = "0.4.31", default-features = false } bytes = "1.1.0" futures-util = "0.3.17" tokio-stream = "0.1.8" diff --git a/poem-derive/src/lib.rs b/poem-derive/src/lib.rs index 771a960382..47a730194d 100644 --- a/poem-derive/src/lib.rs +++ b/poem-derive/src/lib.rs @@ -3,7 +3,7 @@ #![doc(html_favicon_url = "https://raw.githubusercontent.com/poem-web/poem/master/favicon.ico")] #![doc(html_logo_url = "https://raw.githubusercontent.com/poem-web/poem/master/logo.png")] #![forbid(unsafe_code)] -#![deny(private_in_public, unreachable_pub)] +#![deny(unreachable_pub)] #![cfg_attr(docsrs, feature(doc_cfg))] #![warn(missing_docs)] diff --git a/poem-grpc-build/src/lib.rs b/poem-grpc-build/src/lib.rs index 5a502120fe..c2dea0882f 100644 --- a/poem-grpc-build/src/lib.rs +++ b/poem-grpc-build/src/lib.rs @@ -3,7 +3,7 @@ #![doc(html_favicon_url = "https://raw.githubusercontent.com/poem-web/poem/master/favicon.ico")] #![doc(html_logo_url = "https://raw.githubusercontent.com/poem-web/poem/master/logo.png")] #![forbid(unsafe_code)] -#![deny(private_in_public, unreachable_pub)] +#![deny(unreachable_pub)] #![cfg_attr(docsrs, feature(doc_cfg))] #![warn(missing_docs)] diff --git a/poem-grpc/src/health.rs b/poem-grpc/src/health.rs index 5f40635161..21cd7a5f81 100644 --- a/poem-grpc/src/health.rs +++ b/poem-grpc/src/health.rs @@ -6,7 +6,7 @@ use tokio::sync::watch::{Receiver, Sender}; use crate::{Code, Request, Response, Service, Status, Streaming}; -#[allow(private_in_public, unreachable_pub)] +#[allow(unreachable_pub)] #[allow(clippy::derive_partial_eq_without_eq)] mod proto { include!(concat!(env!("OUT_DIR"), "/grpc.health.v1.rs")); diff --git a/poem-grpc/src/lib.rs b/poem-grpc/src/lib.rs index 75b299f654..75ba9ce9cc 100644 --- a/poem-grpc/src/lib.rs +++ b/poem-grpc/src/lib.rs @@ -3,7 +3,7 @@ #![doc(html_favicon_url = "https://raw.githubusercontent.com/poem-web/poem/master/favicon.ico")] #![doc(html_logo_url = "https://raw.githubusercontent.com/poem-web/poem/master/logo.png")] #![forbid(unsafe_code)] -#![deny(private_in_public, unreachable_pub)] +#![deny(unreachable_pub)] #![cfg_attr(docsrs, feature(doc_cfg))] #![warn(missing_docs)] diff --git a/poem-grpc/src/reflection.rs b/poem-grpc/src/reflection.rs index 9b8eababc5..dc28e3b77c 100644 --- a/poem-grpc/src/reflection.rs +++ b/poem-grpc/src/reflection.rs @@ -10,7 +10,7 @@ use proto::{ use crate::{include_file_descriptor_set, Code, Request, Response, Service, Status, Streaming}; -#[allow(private_in_public, unreachable_pub)] +#[allow(unreachable_pub)] #[allow(clippy::enum_variant_names)] #[allow(clippy::derive_partial_eq_without_eq)] mod proto { diff --git a/poem-grpc/src/test_harness.rs b/poem-grpc/src/test_harness.rs index d6049a1c16..ca49b1cdef 100644 --- a/poem-grpc/src/test_harness.rs +++ b/poem-grpc/src/test_harness.rs @@ -1,4 +1,4 @@ -#[allow(private_in_public, unreachable_pub)] +#[allow(unreachable_pub)] mod proto { include!(concat!(env!("OUT_DIR"), "/test_harness.rs")); } diff --git a/poem-lambda/src/lib.rs b/poem-lambda/src/lib.rs index 63cb2bc06c..2b0478766b 100644 --- a/poem-lambda/src/lib.rs +++ b/poem-lambda/src/lib.rs @@ -3,7 +3,7 @@ #![doc(html_favicon_url = "https://raw.githubusercontent.com/poem-web/poem/master/favicon.ico")] #![doc(html_logo_url = "https://raw.githubusercontent.com/poem-web/poem/master/logo.png")] #![forbid(unsafe_code)] -#![deny(private_in_public, unreachable_pub)] +#![deny(unreachable_pub)] #![cfg_attr(docsrs, feature(doc_cfg))] #![warn(missing_docs)] diff --git a/poem-openapi-derive/src/lib.rs b/poem-openapi-derive/src/lib.rs index 0ef70d8dcb..acfadf85a6 100644 --- a/poem-openapi-derive/src/lib.rs +++ b/poem-openapi-derive/src/lib.rs @@ -3,7 +3,7 @@ #![doc(html_favicon_url = "https://raw.githubusercontent.com/poem-web/poem/master/favicon.ico")] #![doc(html_logo_url = "https://raw.githubusercontent.com/poem-web/poem/master/logo.png")] #![forbid(unsafe_code)] -#![deny(private_in_public, unreachable_pub)] +#![deny(unreachable_pub)] #[macro_use] mod validators; diff --git a/poem-openapi/src/lib.rs b/poem-openapi/src/lib.rs index ea08cc3537..227cbc96a7 100644 --- a/poem-openapi/src/lib.rs +++ b/poem-openapi/src/lib.rs @@ -114,7 +114,7 @@ #![doc(html_favicon_url = "https://raw.githubusercontent.com/poem-web/poem/master/favicon.ico")] #![doc(html_logo_url = "https://raw.githubusercontent.com/poem-web/poem/master/logo.png")] #![forbid(unsafe_code)] -#![deny(private_in_public, unreachable_pub)] +#![deny(unreachable_pub)] #![cfg_attr(docsrs, feature(doc_cfg))] #![warn(rustdoc::broken_intra_doc_links)] #![warn(missing_docs)] diff --git a/poem/src/lib.rs b/poem/src/lib.rs index f7c587bff6..4a9b4648f2 100644 --- a/poem/src/lib.rs +++ b/poem/src/lib.rs @@ -260,7 +260,7 @@ #![doc(html_favicon_url = "https://raw.githubusercontent.com/poem-web/poem/master/favicon.ico")] #![doc(html_logo_url = "https://raw.githubusercontent.com/poem-web/poem/master/logo.png")] #![forbid(unsafe_code)] -#![deny(private_in_public, unreachable_pub)] +#![deny(unreachable_pub)] #![cfg_attr(docsrs, feature(doc_cfg))] #![warn(rustdoc::broken_intra_doc_links)] #![warn(missing_docs)]