Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 544 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 544 Bytes

c4rust

Model your c4 architecture using the programming language Rust

Rust

Build and test

  • Compile: cargo b
  • Run tests: cargo t
  • Run main: cargo r
  • Run example: cargo r --example <folder name in /examples>

Example usage

  • cargo r --example company | dot -Tpng > container.png && eog container.png
  • cargo r --example company | dot -Tsvg > container.svg && firefox container.svg