Skip to content

Commit

Permalink
Update release
Browse files Browse the repository at this point in the history
  • Loading branch information
clegaard committed Feb 8, 2022
1 parent 2515b75 commit 252f9f4
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 19 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
authors = ["Christian Legaard <[email protected]>"]
edition = "2018"
edition = "2021"
name = "unifmu"
version = "0.0.6"
version = "0.0.7"

[dependencies]

Expand Down
8 changes: 4 additions & 4 deletions common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"] }
2 changes: 1 addition & 1 deletion docker-build/build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions fmi2api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
edition = "2018"
edition = "2021"
name = "fmi2api"
version = "0.1.0"

Expand All @@ -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"
2 changes: 1 addition & 1 deletion integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 252f9f4

Please sign in to comment.