hyper version: 1.4.*
in lib.rs file:
cfg_feature! {
#![all(feature = "server")]
pub mod server;
#[cfg(any(feature = "http1", feature = "http2"))]
#[doc(no_inline)]
pub use crate::server::Server;
}
IDEClion+Rust Pulgin can not import Server
hyper version: 1.3.*
pub use crate::server::Server;
...
pub mod server;
IDE can import Server
hyper version: 1.4.*
in
lib.rsfile:IDE
Clion+Rust Pulgincan not importServerhyper version: 1.3.*
IDE can import
Server