Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused dependency on http #1164

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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