Comments (2)
Actually, what would be much better for convenience is macros that produce owned identifiers. I also just realized we don't need any const fn
features for this, instead we can make these proc macros and verify the literals that way (this will require the validation code to live in a new crate, I think I'll call it ruma-identifiers-internal
) and then construct the actual type with a new unsafe
unchecked constructor (which will probably also be #[doc(hidden)]
), I think that can be named from_str_unchecked
.
from ruma.
Identifier macros are available and re-exported from ruma-identifiers + ruma.
from ruma.
Related Issues (20)
- Release automation does not pick up release notes if skipping all previous steps
- Add call.notify event (MSC4075)
- `m.direct` account data parsing should be more lenient HOT 2
- The `strike` and `font` HTML elements are deprecated and `s` is introduced HOT 1
- Implement Matrix 1.10 changes HOT 1
- Inconsistent m.call.candidates candidate definition
- Upgrade http to version 1.x HOT 6
- Upgrade html5ever HOT 1
- Make `room_alias_or_id::Variant` a public enum HOT 7
- How to send encrypted message to encrypted room HOT 3
- When user reply to their message, the reply mentions the current user HOT 1
- API responses always return a `200 OK` status code HOT 4
- Support optional path parameters for endpoints HOT 1
- Implement Matrix next version changes
- Make it harder to accidentally log sensitive data like user IDs HOT 4
- RoomMemberUnsigned is only useful in federation, but not used by servers HOT 5
- ruma rejects `Authorization: X-Matrix ...` headers that include optional whitespace around parameter pairs HOT 1
- `failures` is optional in responses to `/keys/signatures/upload` HOT 2
- Choose between `DeviceKeyId` and `DeviceSigningKeyId` HOT 1
- Handle encrypted stickers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruma.