mirror of
https://github.com/BSchneppe/einvoice-rs.git
synced 2026-03-17 10:24:08 +00:00
chore: release v0.1.0 (#1)
* chore: release v0.1.0 * docs: fix java example in import * style: make clippy happy --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Benedikt Schneppe <benedikt@flowers-software.de>
This commit is contained in:
committed by
GitHub
parent
52fb7af753
commit
4006542d4e
14
CHANGELOG.md
Normal file
14
CHANGELOG.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.1.0](https://github.com/BSchneppe/einvoice-rs/releases/tag/v0.1.0) - 2025-01-17
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- Initial Commit
|
||||||
@@ -43,11 +43,11 @@ This will validate that we can deserialize and serialize all tests in the [xrech
|
|||||||
## Examples
|
## Examples
|
||||||
### Java
|
### Java
|
||||||
```java
|
```java
|
||||||
import com.schneppe.einvoice.Invoice;
|
import com.schneppe.einvoice.InvoiceStandard;
|
||||||
import com.schneppe.einvoice.EinvoiceKt;
|
import com.schneppe.einvoice.EinvoiceKt;
|
||||||
|
|
||||||
String xml = new String(Files.readAllBytes(path));
|
String xml = new String(Files.readAllBytes(path));
|
||||||
Invoice invoice = EinvoiceKt.validateXRechnung(xml);
|
InvoiceStandard invoiceStandard = EinvoiceKt.validateInvoice(xml);
|
||||||
```
|
```
|
||||||
### Rust
|
### Rust
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ mod tests {
|
|||||||
assert_eq!(normalized_serialized, normalized_original);
|
assert_eq!(normalized_serialized, normalized_original);
|
||||||
}
|
}
|
||||||
|
|
||||||
use einvoice::ZugferdProfile::EN16931;
|
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
use xmltree::{Element, ParserConfig};
|
use xmltree::{Element, ParserConfig};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user