Glacier Framework
A batteries-included web framework for Rust, inspired by Rails, Phoenix and Laravel. Agents write the code and people review it, so .glacier source reads like Elixir or Ruby. It then compiles to fast, memory-safe Rust, and it is how we build every product in the studio.
- Code that reads like a plain description
- Conventions agents and people both follow
- Compiles to native, memory-safe Rust
module Subscription do implements Model field interval: enum(weekly, monthly), default: :monthly field status: enum(active, paused), default: :active belongs_to :customer has_many :deliveries, dependent: :destroy scope active, where(status: :active) def pause(self) do self.update(status: :paused)! end end
