fricon

Crates.iofricon
lib.rsfricon
version0.1.0-alpha
created_at2025-01-15 07:19:49.896045+00
updated_at2025-01-15 07:19:49.896045+00
descriptionFridge controller.
homepage
repositoryhttps://github.com/kahojyun/fricon
max_upload_size
id1517202
size405,153
Jiahao Yuan (kahojyun)

documentation

README

fricon

10 mK fridge controller.

Development

Requirements

  • Stable Rust toolchain

  • Protobuf compiler:

    brew install protobuf # Mac
    pacman -S protobuf # Arch
    scoop install protobuf # Windows
    
  • Sqlite3

  • sqlx-cli

    brew install sqlx-cli # Mac
    pacman -S sqlx-cli # Arch
    cargo install sqlx-cli
    

Local setup

  • .env file

    DATABASE_URL=sqlite://.dev/testdb.sqlite3
    
  • Local .dev folder should be ignored

    *
    
  • Setup development database

    sqlx db setup
    

License

fricon is distributed under the terms of the MIT OR Apache-2.0 license.

Commit count: 28

cargo fmt