Cargo Features

[dependencies]
scrappy = { version = "0.0.2", default-features = false, features = ["compress", "secure-cookies", "failure", "openssl", "rustls"] }
default = compress, failure

These default features are set whenever scrappy is added without default-features = false somewhere in the dependency tree.

compress default

content-encoding support

Enables compress of scrappy-client and scrappy-http

secure-cookies

sessions feature, session require "ring" crate and c compiler

Enables secure-cookies of scrappy-http

failure default

Enables failure of scrappy-http

scrappy-http:

failure integration. scrappy does not use failure anymore

openssl = open-ssl

Enables openssl of scrappy-client and scrappy-tls

rustls = rust-tls

Enables rustls of scrappy-client and scrappy-tls

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

open-ssl openssl?

Enables openssl

rust-tls rustls?

Enables rustls ^0.16.0