denoland / fastwebsockets

A fast RFC6455 WebSocket implementation
https://docs.rs/fastwebsockets/
Apache License 2.0
880 stars 66 forks source link

fix: remove deprecated method & append missing features #83

Closed ptazithos closed 4 months ago

ptazithos commented 5 months ago

Modifications:

  1. remove deprecated method add_server_trust_anchors
    #[deprecated(since = "0.21.6", note = "Please use `add_trust_anchors` instead")]
    pub fn add_server_trust_anchors(
        &mut self,
        trust_anchors: impl Iterator<Item = OwnedTrustAnchor>,
    ) {
        self.add_trust_anchors(trust_anchors);
    }
  2. append upgrade feature to required examples and tests