Skip to content

Commit

Permalink
Remove unused dependency on http
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarwcl authored and Jarema committed Nov 29, 2023
1 parent 6b42fe7 commit f6d64c5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion async-nats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ regex = "1.9.1"
serde = { version = "1.0.184", features = ["derive"] }
serde_json = "1.0.104"
serde_repr = "0.1.16"
http = "0.2.9"
tokio = { version = "1.29.0", features = ["macros", "rt", "fs", "net", "sync", "time", "io-util"] }
url = { version = "2"}
tokio-rustls = "0.24"
Expand Down
1 change: 0 additions & 1 deletion async-nats/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ This file lists the dependencies used in this repository.
| base64 0.21.4 | Apache-2.0 OR MIT |
| bytes 1.5.0 | MIT |
| futures 0.3.28 | Apache-2.0 OR MIT |
| http 0.2.9 | Apache-2.0 OR MIT |
| memchr 2.6.3 | MIT OR Unlicense |
| nkeys 0.3.2 | Apache-2.0 |
| nuid 0.5.0 | Apache-2.0 |
Expand Down
4 changes: 2 additions & 2 deletions async-nats/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
// is coming from the derive, it didn't work to set it on the struct.
#![allow(clippy::mutable_key_type)]

//! NATS [Message][crate::Message] headers, modeled loosely after the [http::header] crate.
//! NATS [Message][crate::Message] headers, modeled loosely after the `http::header` crate.
use std::{collections::HashMap, fmt, slice::Iter, str::FromStr};

use bytes::Bytes;
use serde::{Deserialize, Serialize};

/// A struct for handling NATS headers.
/// Has a similar API to [http::header], but properly serializes and deserializes
/// Has a similar API to `http::header`, but properly serializes and deserializes
/// according to NATS requirements.
///
/// # Examples
Expand Down

0 comments on commit f6d64c5

Please sign in to comment.