๐งต View Thread
๐งต Thread (5 tweets)

After years of missing @laravelphp's Eloquent ORM everywhere I go, I've finally decided to do something about it. Ensemble (a laravel-inspired ORM for Rust), coming soon ๐ https://t.co/WDaPlSljcU


@laravelphp After a bunch of tinkering, I finally got things to compile! I honestly thought both figuring out the basics of derive macros and getting a global db connection pool would be the hardest parts of this, so I'm super happy with progress so far ๐ Next up, basic CRUD ๐ https://t.co/95ItKkD0MY


@laravelphp Ensemble lets you just write Rust, iRust ORMs is that they always make you write your migrations in SQL. Ensemble lets you just write Rust, and provides a fluent interface for things like constraints, indexes, etc. ๐ซ https://t.co/r14G6jEnAN


Finally managed to get relationships working! Full support for BelongsTo/HasMany/BelongsToMany relationships, as simple as adding a key to a struct โจ This require manually deriving serde, which was PAINFUL, but also means you no longer need to pull it in as a dependency ๐ https://t.co/cxFCh6sbUf


Switched to Ensemble on one of my Rust projects, and shoved off more than a thousand lines in the process! Getting close to a v1.0 ๐ https://t.co/YuT9giAwon
