Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.02 KB

File metadata and controls

35 lines (25 loc) · 1.02 KB

Contributing

Thanks for helping improve the E-Rechnung node package.

Development

Install the WASM target:

rustup target add wasm32-wasip2

Run the standard checks before opening a pull request:

cargo fmt --all -- --check
cargo test --target $(rustc -vV | grep host | awk '{print $2}')
cargo check
cargo build --release --target wasm32-wasip2

Node Guidelines

  • Keep one registered node per file under src/nodes/.
  • Use FlowPath for files, PDFs, folders, exports, archives, and rendered artifacts.
  • Do not expose file contents as raw byte pins.
  • Prefer typed Struct pins with schemas over untyped generic values.
  • Keep official E-Rechnung standards paths first, and use fallback parsing only for compatibility.
  • Add focused tests when changing shared parsing, validation, or catalog behavior.

Licensing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this repository is licensed as MIT OR Apache-2.0, without additional terms or conditions.