Skip to content

Commit 2ebf15e

Browse files
committed
remove http-parser feature
1 parent 309e98d commit 2ebf15e

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

stacks-common/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,11 @@ winapi = { version = "0.3", features = ["fileapi", "processenv", "winnt"] }
8282
toml = { workspace = true }
8383

8484
[features]
85-
default = ["developer-mode", "ctrlc-handler", "http-parser", "rand"]
85+
default = ["developer-mode", "ctrlc-handler", "rand"]
8686
developer-mode = []
8787
# Enables graceful shutdown handling for Ctrl+C (SIGINT) signals.
8888
# This pulls in the `nix` or `winapi` dependency.
8989
ctrlc-handler = ["dep:nix", "dep:winapi"]
90-
# Enables a lightweight, internal HTTP/1.x parser.
91-
http-parser = []
9290
slog_json = ["slog-json"]
9391
rusqlite = ["dep:rusqlite", "rand"]
9492
# Enables the rand module. This flag must be off on deterministic

stacks-common/src/libcommon.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,10 @@ pub mod address;
3232
pub mod deps_common {
3333
pub mod bech32;
3434
pub mod bitcoin;
35+
pub mod httparse;
3536

3637
#[cfg(all(not(target_family = "wasm"), feature = "ctrlc-handler"))]
3738
pub mod ctrlc;
38-
39-
#[cfg(feature = "http-parser")]
40-
pub mod httparse;
4139
}
4240

4341
pub mod bitvec;

stacks-common/src/util/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
pub mod log;
1919
#[macro_use]
2020
pub mod macros;
21-
#[cfg(feature = "http-parser")]
2221
pub mod chunked_encoding;
2322
#[cfg(feature = "rusqlite")]
2423
pub mod db;

0 commit comments

Comments
 (0)