An invoice generator made in rust.
Currently only french language is supported but it is planned that English will be supported in the next iterations.
Powershell scripts are available to re-generate a json schema from the typescript file (/json-schema/interface.ts). Thus it is easy to change types and template in your own fork of this repository.
- npm
- cargo
- Install scripts dependencies using the
install-scripts-deps.ps1
script - Modify the file
json-schema/interface.ts
- Run the script
ts-to-types-rs.ps1
- Adapt the template in
src/invoice_template/mod.rs
The library is also bundled with a rocket server that provides EzInvoiceRS as a web service. Dockerization is also supported.
The default exposed port is 8080. To change the port make sure to update both the Rocket.toml
and docker-compose.yml
files.