1 unstable release

new 0.1.0-alpha Jan 15, 2025

#534 in Database interfaces

Download history 97/week @ 2025-01-12

97 downloads per month

MIT/Apache

125KB
1.5K SLoC

Rust 1.5K SLoC // 0.0% comments Python 236 SLoC // 0.1% comments SQL 21 SLoC

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.

Dependencies

~67MB
~1M SLoC