Skip to content

Commit

Permalink
feat: add support for ERiC 40 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
zembrowski authored Aug 6, 2024
1 parent d91a4be commit 79771af
Show file tree
Hide file tree
Showing 12 changed files with 631 additions and 23 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ To generate the bindings, `eric-bindings` expects the environment variables `LIB
`PLUGIN_PATH`. For example:

``` bash
PATH_VENDOR="ERiC-40.2.10.0-Linux-x86_64/ERiC-40.2.10.0/Linux-x86_64"
LIBRARY_NAME=ericapi
LIBRARY_PATH=ERiC-38.1.6.0-Linux-x86_64/ERiC-38.1.6.0/Linux-x86_64/lib
HEADER_FILE=ERiC-38.1.6.0-Linux-x86_64/ERiC-38.1.6.0/Linux-x86_64/include/ericapi.h
PLUGIN_PATH=ERiC-38.1.6.0-Linux-x86_64/ERiC-38.1.6.0/Linux-x86_64/lib/plugins2
LIBRARY_PATH="$PATH_VENDOR/lib"
HEADER_FILE="$PATH_VENDOR/include/ericapi.h"
PLUGIN_PATH="$PATH_VENDOR/lib/plugins2"
```

The bindings have to be generated on-the-fly for your specific platform and architecture:
Expand Down Expand Up @@ -82,10 +83,11 @@ To send the xml file, the path and password of the Elster certificate has to be

### Supported Eric versions

| Rust SDK | Eric |
| -------- | -------- |
| 0.1.0 | 38.1.6.0 |
| 0.2.0 | 39.6.4.0 |
| Rust SDK | Eric |
| -------- | --------- |
| 0.1.0 | 38.1.6.0 |
| 0.2.0 | 39.6.4.0 |
| 0.3.0 | 40.2.10.0 |

### Test SDK

Expand Down
5 changes: 5 additions & 0 deletions eric-bindings/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
- changed
- removed

## v0.4.0 (2024-08-05)

- added
- Bindings for ERiC as of v40.1

## v0.3.0 (2024-08-04)

- changed
Expand Down
2 changes: 1 addition & 1 deletion eric-bindings/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "eric-bindings"
version = "0.3.0"
version = "0.4.0"
authors.workspace = true
edition.workspace = true
readme.workspace = true
Expand Down
Loading

0 comments on commit 79771af

Please sign in to comment.