From 252f9f469e135c0e055b5131420c565c26f9a1f7 Mon Sep 17 00:00:00 2001 From: clegaard <clegaard@outlook.com> Date: Tue, 8 Feb 2022 12:34:16 +0100 Subject: [PATCH] Update release --- README.md | 11 ++++++----- cli/Cargo.toml | 4 ++-- common/Cargo.toml | 8 ++++---- docker-build/build_all.sh | 2 +- fmi2api/Cargo.toml | 12 ++++++------ integration-tests/Cargo.toml | 2 +- 6 files changed, 20 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 37313ef..0ef95ae 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,12 @@ While this allows efficient execution of a simulation, it is a significant limit UniFMU is a command line tool that facilitates the implementation of FMUs in other popular languages that would otherwise not be able to produce C-compatible binaries. It does this by providing a precompiled binary that is C-compatible, which then dispatches calls to the implementation of the model in the target language. -| Specification Version | FMU Types | Languages | -| --------------------- | ------------ | ---------------- | -| FMI3 | | | -| FMI2 | cosimulation | Python, C#, Java | -| FMI1 | | | +| Specification Version | FMU Interface | Languages | Binaries | +| --------------------- | ------------- | ---------------- | ------------------------ | +| FMI3 | | | | +| FMI2 | Co-Simulation | Python, C#, Java | win64, linux64, darwin64 | +| FMI1 | | | | + Examples of generated FMUs can be found in the [unifmu_examples](https://github.com/INTO-CPS-Association/unifmu_examples) repo. diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 86f1f5f..3ec7034 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,8 +1,8 @@ [package] authors = ["Christian Legaard <clegaard@outlook.com>"] -edition = "2018" +edition = "2021" name = "unifmu" -version = "0.0.6" +version = "0.0.7" [dependencies] diff --git a/common/Cargo.toml b/common/Cargo.toml index 2737424..d7f36ca 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -1,11 +1,11 @@ [package] -edition = "2018" +edition = "2021" name = "common" version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -quick-xml = {version = "*", features = ["serialize"]} -safer-ffi = {version = "*", features = ["proc_macros"]} -serde = {version = "1.0.127", features = ["derive"]} +quick-xml = { version = "*", features = ["serialize"] } +safer-ffi = { version = "*", features = ["proc_macros"] } +serde = { version = "1.0.127", features = ["derive"] } diff --git a/docker-build/build_all.sh b/docker-build/build_all.sh index 2cb7989..b03006a 100644 --- a/docker-build/build_all.sh +++ b/docker-build/build_all.sh @@ -19,7 +19,7 @@ cp ./target/x86_64-apple-darwin/release/lib${tgt}.dylib ./assets/auto_generated/ # ------------------------------ schemas ------------------------------ echo "generating protobuf schemas for python and csharp backends" -protoc -I=./schemas --python_out=./assets/auto_generated --csharp_out=./assets/auto_generated unifmu_fmi2.proto --java_out ./assets/auto_generated unifmu_fmi2.proto +protoc -I=./schemas --python_out=./assets/auto_generated --csharp_out=./assets/auto_generated --java_out ./assets/auto_generated unifmu_fmi2.proto # ------------------------------ cli ------------------------------ tgt=unifmu diff --git a/fmi2api/Cargo.toml b/fmi2api/Cargo.toml index 01e2c44..02da53b 100644 --- a/fmi2api/Cargo.toml +++ b/fmi2api/Cargo.toml @@ -1,5 +1,5 @@ [package] -edition = "2018" +edition = "2021" name = "fmi2api" version = "0.1.0" @@ -13,19 +13,19 @@ bytes = "*" libc = "*" num_enum = "*" prost = "*" -safer-ffi = {version = "*", features = ["proc_macros"]} -serde = {version = "1.0.127", features = ["derive"]} +safer-ffi = { version = "*", features = ["proc_macros"] } +serde = { version = "1.0.127", features = ["derive"] } serde_bytes = "*" serde_json = "*" serde_repr = "*" subprocess = "*" -tokio = {version = "*", features = ["rt"]} +tokio = { version = "*", features = ["rt"] } toml = "*" url = "*" -zeromq = {git = "https://github.com/zeromq/zmq.rs.git", default-features = false, features = [ +zeromq = { git = "https://github.com/zeromq/zmq.rs.git", default-features = false, features = [ "tokio-runtime", "tcp-transport", -]} +] } [build-dependencies] prost-build = "0.8.0" diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 02b81b7..eec010c 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "integration-tests" version = "0.1.0" -edition = "2018" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html