diff --git a/Cargo.toml b/Cargo.toml index 9971a7ed..659d75cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,6 +17,7 @@ members = [ "iceoryx2-ffi/ffi-macros", "iceoryx2-cal", + "iceoryx2-fal", "iceoryx2", "iceoryx2-pal/concurrency-sync", "iceoryx2-pal/posix/", @@ -60,6 +61,7 @@ iceoryx2-pal-posix = { version = "0.4.1", path = "iceoryx2-pal/posix/" } iceoryx2-pal-configuration = { version = "0.4.1", path = "iceoryx2-pal/configuration/" } iceoryx2-cal = { version = "0.4.1", path = "iceoryx2-cal" } +iceoryx2-fal = { version = "0.4.1", path = "iceoryx2-fal" } iceoryx2-ffi = { version = "0.4.1", path = "iceoryx2-ffi/ffi" } iceoryx2-ffi-macros = { version = "0.4.1", path = "iceoryx2-ffi/ffi-macros" } diff --git a/iceoryx2-fal/Cargo.toml b/iceoryx2-fal/Cargo.toml new file mode 100644 index 00000000..e306a30b --- /dev/null +++ b/iceoryx2-fal/Cargo.toml @@ -0,0 +1,13 @@ +[package] +name = "iceoryx2-fal" +description = "iceoryx2: framework abstraction layer, public API if iceoryx2 shall be integrated in other communication frameworks" +categories = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +keywords = { workspace = true } +license = { workspace = true } +repository = { workspace = true } +rust-version = { workspace = true } +version = { workspace = true } + +[dependencies] diff --git a/iceoryx2-fal/src/lib.rs b/iceoryx2-fal/src/lib.rs new file mode 100644 index 00000000..b93cf3ff --- /dev/null +++ b/iceoryx2-fal/src/lib.rs @@ -0,0 +1,14 @@ +pub fn add(left: u64, right: u64) -> u64 { + left + right +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn it_works() { + let result = add(2, 2); + assert_eq!(result, 4); + } +} diff --git a/internal/scripts/crates_io_publish_script.sh b/internal/scripts/crates_io_publish_script.sh index 29d2f0db..290092a9 100755 --- a/internal/scripts/crates_io_publish_script.sh +++ b/internal/scripts/crates_io_publish_script.sh @@ -31,6 +31,7 @@ cargo publish -p iceoryx2-bb-threadsafe cargo publish -p iceoryx2-bb-memory cargo publish -p iceoryx2-cal cargo publish -p iceoryx2-bb-trait-tests +cargo publish -p iceoryx2-fal cargo publish -p iceoryx2 cargo publish -p iceoryx2-ffi-macros cargo publish -p iceoryx2-ffi