Cargo Features
ruma-events has no features set by default.
[dependencies]
ruma-events = { version = "0.29.1", features = ["canonical-json", "html", "markdown", "unstable-exhaustive-types", "unstable-msc1767", "unstable-msc2448", "unstable-msc2747", "unstable-msc2867", "unstable-msc3061", "unstable-msc3245", "unstable-msc3245-v1-compat", "unstable-msc3246", "unstable-msc3381", "unstable-msc3401", "unstable-msc3488", "unstable-msc3489", "unstable-msc3551", "unstable-msc3552", "unstable-msc3553", "unstable-msc3554", "unstable-msc3927", "unstable-msc3954", "unstable-msc3955", "unstable-msc3956", "unstable-msc4075", "unstable-msc4095", "unstable-pdu", "compat-empty-string-null", "compat-optional", "compat-tag-info", "compat-encrypted-stickers", "criterion"] }
- canonical-json
-
Enables canonical-json of ruma-common
- html
-
Enables ruma-html
- markdown
-
Enables pulldown-cmark
- unstable-exhaustive-types
- unstable-msc1767 unstable-msc3381? unstable-msc3488? unstable-msc3554? unstable-msc3954? unstable-msc3955? unstable-msc3956?
-
Affects
ruma-events::message
… - unstable-msc2448
-
Affects
avatar::ImageInfo.blurhash
,member::RoomMemberEventContent.blurhash
,video::VideoInfo.blurhash
,room::ImageInfo.blurhash
… - unstable-msc2747
-
Affects
answer::CallAnswerEventContent.capabilities
,invite::CallInviteEventContent.capabilities
,call::CallCapabilities
… - unstable-msc2867
-
Affects
marked_unread::UnstableMarkedUnreadEventContent
… - unstable-msc3061
-
Affects
forwarded_room_key::ToDeviceForwardedRoomKeyEventContent.shared_history
,room_key::ToDeviceRoomKeyEventContent.shared_history
… - unstable-msc3245 = unstable-msc3246
-
Affects
ruma-events::voice
… - unstable-msc3245-v1-compat
-
Support the m.room.message fallback fields from the first version of MSC3245, implemented in Element Web and documented at https://github.com/matrix-org/matrix-spec-proposals/blob/83f6c5b469c1d78f714e335dcaa25354b255ffa5/proposals/3245-voice-messages.md
Affects
audio::AudioMessageEventContent.audio
,audio::AudioMessageEventContent.voice
,audio::UnstableAudioDetailsContentBlock
,audio::UnstableVoiceContentBlock
,audio::UnstableAmplitude
… - unstable-msc3246 unstable-msc3245? = unstable-msc3927
-
Affects
audio::AudioDetailsContentBlock.waveform
,audio::Amplitude
… - unstable-msc3381 = unstable-msc1767
-
Affects
ruma-events::poll
… - unstable-msc3401 unstable-msc4075?
-
Affects
call::member
… - unstable-msc3488 unstable-msc3489? = unstable-msc1767
-
Affects
ruma-events::location
,location::LocationMessageEventContent.message
,location::LocationMessageEventContent.location
,location::LocationMessageEventContent.asset
,location::LocationMessageEventContent.ts
… - unstable-msc3489 = unstable-msc3488
-
Affects
ruma-events::beacon
,ruma-events::beacon_info
… - unstable-msc3551 unstable-msc3552? unstable-msc3927? = unstable-msc3956
-
Affects
ruma-events::file
… - unstable-msc3552 unstable-msc3553? = unstable-msc3551
-
Affects
ruma-events::image
… - unstable-msc3553 = unstable-msc3552
-
Affects
ruma-events::video
… - unstable-msc3554 = unstable-msc1767
-
Affects
message::TextRepresentation.lang
… - unstable-msc3927 unstable-msc3246? = unstable-msc3551
-
Affects
ruma-events::audio
… - unstable-msc3954 = unstable-msc1767
-
Affects
ruma-events::emote
… - unstable-msc3955 = unstable-msc1767
-
Affects
audio::AudioEventContent.automated
,emote::EmoteEventContent.automated
,file::FileEventContent.automated
,image::ImageEventContent.automated
,location::LocationEventContent.automated
,message::MessageEventContent.automated
,end::PollEndEventContent.automated
,response::PollResponseEventContent.automated
,start::PollStartEventContent.automated
,video::VideoEventContent.automated
,voice::VoiceEventContent.automated
… - unstable-msc3956 unstable-msc3551? = unstable-msc1767
-
Affects
ruma-events::encrypted
… - unstable-msc4075 = unstable-msc3401
-
Affects
call::notify
… - unstable-msc4095
-
Affects
message::MessageEventContent.url_previews
,text::TextMessageEventContent.url_previews
… - unstable-pdu
-
Affects
ruma-events::pdu
… - compat-empty-string-null
-
Allow some mandatory fields to be missing, defaulting them to an empty string in deserialization.
- compat-optional
-
Allow certain fields to be absent even though the spec marks them as mandatory. Deserialization will yield a default value like an empty string.
- compat-tag-info
-
Allow TagInfo to contain a stringified floating-point value for the
order
field. - compat-encrypted-stickers
-
Support encrypted stickers, as sent by several bridges. https://github.com/matrix-org/matrix-spec/issues/1667