Skip to content

Commit

Permalink
Do not enable json by default
Browse files Browse the repository at this point in the history
  • Loading branch information
algesten committed Jan 27, 2025
1 parent 574769f commit 94f3e0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exclude = ["/cargo_deny.sh", "/deny.toml", "/test.sh"]
rust-version = "1.71.1"

[features]
default = ["rustls", "gzip", "json"]
default = ["rustls", "gzip"]

######## SUPPORTED FEATURES

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ You can control them when including ureq as a dependency.

`ureq = { version = "3", features = ["socks-proxy", "charset"] }`

The default enabled features are: **rustls**, **gzip** and **json**.
The default enabled features are: **rustls** and **gzip**.

* **rustls** enables the rustls TLS implementation. This is the default for the the crate level
convenience calls (`ureq::get` etc). It currently uses `ring` as the TLS provider.
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
//!
//! `ureq = { version = "3", features = ["socks-proxy", "charset"] }`
//!
//! The default enabled features are: **rustls**, **gzip** and **json**.
//! The default enabled features are: **rustls** and **gzip**.
//!
//! * **rustls** enables the rustls TLS implementation. This is the default for the the crate level
//! convenience calls (`ureq::get` etc). It currently uses `ring` as the TLS provider.
Expand Down

0 comments on commit 94f3e0e

Please sign in to comment.