Cargo Features

[dependencies]
stun-format = { version = "1.0.1", default-features = false, features = ["rfc3489", "rfc5389", "rfc5245", "rfc5780", "rfc5766", "rfc8489", "rfc8445", "rfc8656", "rfc6679", "rfc7635", "rfc7982", "rfc8016", "rfc6062", "iana", "fmt"] }
default = iana

The iana feature is set by default whenever stun-format is added without default-features = false somewhere in the dependency tree.

rfc3489

Affects consts::msg_type.SHARED_SECRET_REQUEST, consts::msg_type.SHARED_SECRET_RESPONSE, consts::msg_type.SHARED_SECRET_ERROR_RESPONSE, consts::attr_type.RESPONSE_ADDRESS, consts::attr_type.SOURCE_ADDRESS, consts::attr_type.CHANGED_ADDRESS, consts::attr_type.PASSWORD, consts::attr_type.REFLECTED_FROM, consts::attr_type.OPT_XOR_MAPPED_ADDRESS, consts::error_code.STALE_CREDENTIALS, consts::error_code.INTEGRITY_CHECK_FAILURE, consts::error_code.MISSING_USERNAME, consts::error_code.USE_TLS, consts::error_code.GLOBAL_FAILURE, consts::attr_type.CHANGE_REQUEST, consts::msg_type.BINDING_REQUEST, format::UnknownAttrIter

rfc5389

Affects consts::attr_type.REALM, consts::attr_type.NONCE, consts::attr_type.XOR_MAPPED_ADDRESS, consts::attr_type.SOFTWARE, consts::attr_type.ALTERNATE_SERVER, consts::attr_type.FINGERPRINT, consts::error_code.TRY_ALTERNATE, consts::error_code.STALE_NONCE, consts::attr_type.MAPPED_ADDRESS, consts::attr_type.USERNAME, consts::attr_type.MESSAGE_INTEGRITY, consts::attr_type.ERROR_CODE, consts::attr_type.UNKNOWN_ATTRIBUTES, consts::error_code.BAD_REQUEST, consts::error_code.UNAUTHORISED, consts::error_code.UNKNOWN_ATTRIBUTE, format::UnknownAttrIter

rfc5245

Affects consts::error_code.ROLE_CONFLICT

rfc5780 iana

Affects consts::attr_type.PADDING, consts::attr_type.RESPONSE_PORT, consts::attr_type.CACHE_TIMEOUT, consts::attr_type.RESPONSE_ORIGIN, consts::attr_type.OTHER_ADDRESS, consts::attr_type.CHANGE_REQUEST

rfc5766

Affects consts::msg_type.ALLOCATE_REQUEST, consts::msg_type.ALLOCATE_RESPONSE, consts::msg_type.ALLOCATE_ERROR_RESPONSE, consts::msg_type.REFRESH_REQUEST, consts::msg_type.REFRESH_RESPONSE, consts::msg_type.REFRESH_ERROR_RESPONSE, consts::msg_type.SEND_INDICATION, consts::msg_type.DATA_INDICATION, consts::msg_type.CREATE_PERMISSION_REQUEST, consts::msg_type.CREATE_PERMISSION_RESPONSE, consts::msg_type.CREATE_PERMISSION_ERROR_RESPONSE, consts::msg_type.CHANNEL_BIND_REQUEST, consts::msg_type.CHANNEL_BIND_RESPONSE, consts::msg_type.CHANNEL_BIND_ERROR_RESPONSE, consts::attr_type.CHANNEL_NUMBER, consts::attr_type.LIFETIME

rfc8489 iana

Affects consts::attr_type.MESSAGE_INTEGRITY_SHA256, consts::attr_type.PASSWORD_ALGORITHM, consts::attr_type.USERHASH, consts::attr_type.PASSWORD_ALGORITHMS, consts::attr_type.ALTERNATE_DOMAIN, format::PasswordAlgorithm, format::PasswordAlgorithmIter, format::PasswordAlgorithmsBuilder, consts::msg_type.BINDING_INDICATION, consts::attr_type.REALM, consts::attr_type.NONCE, consts::attr_type.XOR_MAPPED_ADDRESS, consts::attr_type.SOFTWARE, consts::attr_type.ALTERNATE_SERVER, consts::attr_type.FINGERPRINT, consts::error_code.TRY_ALTERNATE, consts::error_code.STALE_NONCE, consts::msg_type.BINDING_REQUEST, consts::msg_type.BINDING_RESPONSE, format::UnknownAttrIter

rfc8445 iana

Affects consts::attr_type.PRIORITY, consts::attr_type.USE_CANDIDATE, consts::attr_type.ICE_CONTROLLED, consts::attr_type.ICE_CONTROLLING, consts::error_code.ROLE_CONFLICT

rfc8656 iana

Affects consts::attr_type.REQUESTED_ADDRESS_FAMILY, consts::attr_type.ADDITIONAL_ADDRESS_FAMILY, consts::attr_type.ADDRESS_ERROR_CODE, consts::attr_type.ICMP, consts::error_code.ADDRESS_FAMILY_NOT_SUPPORTED, consts::error_code.PEER_ADDRESS_FAMILY_MISMATCH, consts::msg_type.ALLOCATE_REQUEST, consts::msg_type.ALLOCATE_RESPONSE, consts::msg_type.ALLOCATE_ERROR_RESPONSE, consts::msg_type.REFRESH_REQUEST, consts::msg_type.REFRESH_RESPONSE, consts::msg_type.REFRESH_ERROR_RESPONSE, consts::msg_type.SEND_INDICATION, consts::msg_type.DATA_INDICATION, consts::msg_type.CREATE_PERMISSION_REQUEST, consts::msg_type.CREATE_PERMISSION_RESPONSE

rfc6679 iana

Affects consts::attr_type.ECN_CHECK

rfc7635 iana

Affects consts::attr_type.ACCESS_TOKEN, consts::attr_type.THIRD_PARTY_AUTHORISATION

rfc7982 iana

Affects consts::attr_type.TRANSACTION_TRANSMIT_COUNTER

rfc8016 iana

Affects consts::attr_type.MOBILITY_TICKET, consts::error_code.MOBILITY_FORBIDDEN

rfc6062 iana

Affects consts::msg_type.CONNECT_REQUEST, consts::msg_type.CONNECT_RESPONSE, consts::msg_type.CONNECT_ERROR_RESPONSE, consts::msg_type.CONNECTION_BIND_REQUEST, consts::msg_type.CONNECTION_BIND_RESPONSE, consts::msg_type.CONNECTION_BIND_ERROR_RESPONSE, consts::msg_type.CONNECTION_ATTEMPT_INDICATION, consts::attr_type.CONNECTION_ID, consts::error_code.CONNECTION_ALREADY_EXISTS, consts::error_code.CONNECTION_TIMEOUT_OR_FAILURE

iana default = rfc5780, rfc6062, rfc6679, rfc7635, rfc7982, rfc8016, rfc8445, rfc8489, rfc8656
fmt