Skip to content

Commit

Permalink
feat(server): remove server deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
oddgrd committed Mar 7, 2023
1 parent 39bf0f9 commit 46f1f9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ ffi = ["libc"]
# enable 1.0 backports
backports = []

# whether or not to display deprecation warnings
deprecated = []

# internal features used in CI
nightly = []
__internal_happy_eyeballs_tests = []
Expand Down
6 changes: 0 additions & 6 deletions src/server/conn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,6 @@ pub struct Parts<T, S> {
impl Http {
/// Creates a new instance of the HTTP protocol, ready to spawn a server or
/// start accepting connections.
#[cfg_attr(
feature = "deprecated",
deprecated(
note = "This method will be replaced with `server::conn::http1::new` and `server::conn::http2::new` in 1.0, enable the \"backports\" feature to use them now."
)
)]
pub fn new() -> Http {
Http {
exec: Exec::Default,
Expand Down

0 comments on commit 46f1f9d

Please sign in to comment.