Cargo Features

[dependencies]
oauth1-request = { version = "0.6.1", default-features = false, features = ["alloc", "derive", "hmac-sha1", "rsa-sha1-06", "rsa-sha1-09", "js", "serde", "std", "test", "either"] }
default = derive, hmac-sha1, std

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

alloc std

Enables alloc of oauth-credentials

Affects oauth1-request::authorize, oauth1-request::to_form, oauth1-request::to_query, plaintext::PLAINTEXT

derive default = oauth1-request-derive
hmac-sha1 default = digest, hmac, sha1

Affects signature_method::hmac_sha1

rsa-sha1-06 = digest, rsa06, sha1

Affects signature_method::rsa_sha1_06

rsa-sha1-09 = digest, rsa09

Enables oid of sha1

sha1:

Enable OID support

Affects signature_method::rsa_sha1_09

js = js-sys
serde

Enables serde of oauth-credentials

std default = alloc

Note: percent-encoding depends on std until servo/rust-url#691 lands. https://github.com/servo/rust-url/pull/691

Enables std of oauth-credentials, std and std_rng of rand

test

Affects serializer::recorder

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.

oauth1-request-derive derive

Enables oauth1-request-derive

derive feature

either implicit feature

Enables either

either feature

digest hmac-sha1 rsa-sha1-06? rsa-sha1-09?

Enables digest

hmac-sha1 feature

hmac hmac-sha1
sha1 hmac-sha1 rsa-sha1-06? rsa-sha1-09?
rsa06 rsa-sha1-06?

Enables rsa ^0.6

rsa-sha1-06 feature

rsa09 rsa-sha1-09?

Enables rsa

rsa-sha1-09 feature

js-sys wasm32 unknown js?