Topcoat is pushing the boundary of server applications with Rust
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Topcoat is pushing the boundary of server applications with Rust
Unofficial Hacker News client; not affiliated with Y Combinator.
jdw64 · · focus · HN ↗
haellsigh · · focus · HN ↗
jdw64 · · focus · HN ↗
moffers · · focus · HN ↗
jdw64 · · focus · HN ↗
bickfordb · · focus · HN ↗
- In SQLite UUIDs are default stored as compact blobs instead of inefficient varchar/text (SeaORM)
- Timestamps were easier via jiff instead of chrono (SeaORM)
- Model structs use the actual name of the $table instead of being named like $tablemodule.(Model|ActiveModel) (SeaORM) they are just $Table. This makes writing libraries a little simpler that need to use entity struct's from two separate modules/crates otherwise you get a name collision on Model/ActiveModel and need to do alias imports.
- There's an API to fetch related data to a query similar to Django ORM. IIRC this is missing from SeaORM
- The query expression language doesn't cover as much of SQL as SeaORM but seems to be enough for most web apps.
- I didn't like how the migration system works. I would skip that part of the library
carllerche · · focus · HN ↗