!veagCdDBjKrMsOCzrq:privacytools.io

Ruma

144 Members
A set of Rust library crates for working with the Matrix protocol. ruma.io | github.com/ruma | liberapay.com/ruma | #ruma-dev:matrix.org63 Servers

Load older messages


SenderMessageTime
30 Jul 2021
@jplatte:flipdot.orgjplatte
In reply to @timokoesters:fachschaften.org
I thought Raw was just a wrapper around raw bytes, but I just saw it is already partially parsed / validated
* It's a wrapper around a boxed serde_json::value::RawValue which is in turn a wrapper around str
15:49:17
@timokoesters:fachschaften.orgTimo ⚡️To be fair this validation just made me find a bug in conduit, so it's probably a good idea to leave it in 😅15:50:01
@jplatte:flipdot.orgjplatteYes I think so too 😄15:50:20
@timokoesters:fachschaften.orgTimo ⚡️It was one of those "I updated half of the code, but the other half still uses the old version" bugs15:50:50
@jplatte:flipdot.orgjplatteWhat kind of update was this?15:51:12
@timokoesters:fachschaften.orgTimo ⚡️I changed some slight thing about the database layout15:51:42
@timokoesters:fachschaften.orgTimo ⚡️This lead to conduit's outgoing sender thread crashing, which lead to conduit not accepting new events anymore as it couldn't talk to the sender thread15:52:50
@damccull:matrix.orgdamccull joined the room.16:39:13
@ph:a-0.mePhilip (a-0) set a profile picture.18:32:24
31 Jul 2021
@ace:kittenface.studioAnanace 07:47:51
@dman:kittenface.studio@dman:kittenface.studio removed their display name Daniel Carlsson.08:44:48
@shadowjonathan:matrix.org[Jonathan] @jplatte re: Axum, you wanna make it so that it additionally has FromRequest and IntoRequest support when axum as a feature flag is enabled? o: 09:40:12
@shadowjonathan:matrix.org[Jonathan] * @jplatte re: Axum, you wanna make it so that it additionally has FromRequest and IntoRequest support when axum as a feature flag is enabled? o: 09:40:27
@shadowjonathan:matrix.org[Jonathan]That would be really cool09:40:30
@toger5:matrix.orgTimo K. changed their display name from Timo to Timo♒.11:11:32
@toger5:matrix.orgTimo K. changed their display name from Timo♒ to Timo 🦫.21:25:05
@toger5:matrix.orgTimo K. changed their display name from Timo 🦫 to Timo 🦄.21:27:05
@toger5:matrix.orgTimo K. changed their display name from Timo 🦄 to ▫️Timo▫️.21:31:57
@toger5:matrix.orgTimo K. changed their display name from ▫️Timo▫️ to Timo K..21:34:26
1 Aug 2021
@jplatte:flipdot.orgjplatte [Jonathan]: due to authentication, I think implementing additional traits for the types defined by the various api crates doesn't make so much sense, at least for requests. I guess for responses it could work better, though I think for now having a wrapper type (maybe [also] one taking possible errors into account) makes more sense 10:45:04
@shadowjonathan:matrix.org[Jonathan] Having responses be IntoResponse would already help a lot, yeah 10:45:38
@jplatte:flipdot.orgjplatte * [Jonathan]: due to authentication, I think implementing additional traits for the types defined by the various api crates doesn't make so much sense, at least for requests. I guess for responses it could work better, though I think for now having a wrapper type (maybe [also] one taking possible errors into account) makes more sense 10:45:59
@shadowjonathan:matrix.org[Jonathan] Though I think at least some helper functionality could be offered to make axum experience more smooth 10:46:30
@shadowjonathan:matrix.org[Jonathan]Maybe a small framework of authentication middleware and IntoRequest impls that would require(?) it somehow?10:46:51
@shadowjonathan:matrix.org[Jonathan]Then on the developer side, the only thing that’s needed is to “plug everything in” (impl logic for the paths and auth middleware) and they’re good to go10:47:21
@shadowjonathan:matrix.org[Jonathan]* Then on the developer side, the only thing that’s needed is to “plug everything in” (impl logic for the paths and middleware) and they’re good to go10:47:41
@shadowjonathan:matrix.org[Jonathan]* Then on the developer side, the only thing that’s needed is to “plug everything in” (impl logic for the paths and auth middleware) and they’re good to go10:47:46
@shadowjonathan:matrix.org[Jonathan] Maybe when trying to develop that, you can give feedback to axum on how to make their API better to accommodate things like this 👀 10:53:40
@shadowjonathan:matrix.org[Jonathan] * Maybe when trying to develop that, you can give feedback to axum on how to make their API better to accommodate things like this 👀 10:53:44
@shadowjonathan:matrix.org[Jonathan] I don’t know, I just really like the idea of ruma being instantly usable as a server toolkit in combination with Axum 10:54:07

There are no newer messages yet.


Back to Room List