http-rs / http-rs/surf

Disable default features on `http-types` crate

Open
#332 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.5k
Forks
128
PR merge metrics
No merged PRs in 30d

Description

By default `http-types` includes `cookie-secure` feature and pulls in `cookie`, `aes-gcm`, `aead` and probably other crates. This looks unnecessary when you just want to do some HTTPS GET/POST requests and drop any cookies.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Locate the http-types dependency and its default-feature declaration, then inspect the dependency graph with cookie-secure disabled. Done means ordinary HTTPS GET/POST use no longer pulls in the listed cookie-related crates while the requested client behavior remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.