ReferenceCommand line
rent new
Use rent new to scaffold an application with Cargo configuration, a starter User entity, generated client code,
schema and migration directories, rent.toml, formatter settings, and development database configuration.
Start with SQLite
rent new social-appCreated ./social-app
Next: cd ./social-app && rent doctorSQLite is the default and needs no container. The generated application creates rent.db locally.
Start with a server database
rent new social-app --database postgresThe database can be postgres, mysql, or mariadb. Every scaffold writes .env and .env.example; the server
variants also add a compose.yaml for a local database container. Rent creates configuration; it does not start
Docker automatically.
Choose a Cargo package name
rent new services/social --name social-service --database mariadbThe destination must be absent or empty. Rent refuses to merge a new scaffold into existing files.