Cargo Features
[dependencies]
oauth1-request-ios = { version = "0.0.1", default-features = false, features = ["alloc", "derive", "hmac-sha1", "hmac-sha256", "rsa-sha1-06", "rsa-sha1-09", "js", "serde", "std", "test", "either"] }
- default = derive, hmac-sha1, hmac-sha256, std
-
These default features are set whenever
oauth1-request-ios
is added without
somewhere in the dependency tree.default-features = false - alloc std
-
Enables alloc of oauth-credentials-ios
Affects
oauth1-request-ios::authorize
,oauth1-request-ios::to_form
,oauth1-request-ios::to_query
,plaintext::PLAINTEXT
… - derive default = oauth1-request-derive-ios
- hmac-sha1 default = digest, hmac, sha1
-
Affects
signature_method::hmac_sha1
… - hmac-sha256 default = digest, hmac, sha2
-
Affects
signature_method::hmac_sha256
… - rsa-sha1-06 = digest, rsa06, sha1
-
Affects
signature_method::rsa_sha1_06
… - rsa-sha1-09 = digest, rsa09
-
sha1:
Enable OID support
Affects
signature_method::rsa_sha1_09
… - js = js-sys
- serde
-
Enables serde of oauth-credentials-ios
- std default = alloc
-
Note:
percent-encoding
depends onstd
until servo/rust-url#691 lands. https://github.com/servo/rust-url/pull/691Enables std of oauth-credentials-ios, 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-ios derive
-
Enables oauth1-request-derive-ios
derive
feature - either implicit feature
-
Enables either
either
feature - digest hmac-sha1 hmac-sha256 rsa-sha1-06? rsa-sha1-09?
-
Enables digest
hmac-sha1
feature - hmac hmac-sha1 hmac-sha256
- sha1 hmac-sha1 rsa-sha1-06? rsa-sha1-09?
- sha2 hmac-sha256
-
Enables sha2
hmac-sha256
feature - 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?