Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smartive/swiss-qr-bill-decoder
A simple tool to decode QR codes of Swiss QR bills
https://github.com/smartive/swiss-qr-bill-decoder
Last synced: about 5 hours ago
JSON representation
A simple tool to decode QR codes of Swiss QR bills
- Host: GitHub
- URL: https://github.com/smartive/swiss-qr-bill-decoder
- Owner: smartive
- License: mit
- Created: 2024-06-25T10:49:33.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T13:49:52.000Z (13 days ago)
- Last Synced: 2024-10-25T09:14:52.515Z (12 days ago)
- Language: Rust
- Size: 3.34 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Swiss QR bill decoder
This project contains a tool to decode the Swiss QR bill. It reads the QR code from an image or a pdf and decodes the data json based on the [Swiss QR bill specification](https://www.six-group.com/en/products-services/banking-services/payment-standardization/standards/qr-bill.html).It contains a lib crate that can be used as a library and a bin crate that can be used as a command line tool.
> [!WARNING]
> Users of this project do so at their own risk. There are no guarantees of any kind regarding the reliability, functionality, or security of this tool. The authors are not responsible for any damage or losses incurred from using this software.## Usage
To run the tool in debug mode, use the following command:
```shell
cargo run --
```
For additional options, run:
```shell
cargo run -- --help
```To build a release version, use the following command:
```shell
cargo build --release
```
The binary will be located at `target/release/swiss-qr-bill-decoder` and can be run as follows:
```shell
./target/release/swiss-qr-bill-decoder
```## Run tests
```shell
cargo test
```