Gsim is a work-in-progress circuit simulator targeting Windows, Linux, Mac and the Web on Desktop.
This repository contains the graphical circuit editor, the simulation backend can be found at https://github.com/Artentus/gsim.
To build Gsim you need Rust, then run cargo build --release
.
To build Gsim for the web you also need Trunk, which can be installed easily using Cargo: cargo install --locked trunk
Then to build run trunk build
or to spawn a local dev server run trunk serve
.
Contributions are always welcome, but please follow these steps before submitting a PR:
- Run
cargo fmt
using the default Rust formatting style - Run
cargo clippy
and make sure there are no warnings in your code (warnings that existed before are ok)