-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create ncomm (assembly crate) and ncomm-nodes
- Loading branch information
Showing
10 changed files
with
102 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# NCOMM | ||
# NComm | ||
|
||
## Description | ||
|
||
ncomm is an in-progress Rust-Native Node-Based Communication system for use in robotics, IOT, etc... | ||
NComm is an in-progress Rust-Native Node-Based Communication system for use in robotics, IOT, etc... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[package] | ||
name = "ncomm-nodes" | ||
description = "A collection of common Nodes for use in NComm projects" | ||
version.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
keywords.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
readme.workspace = true | ||
authors.workspace = true | ||
categories.workspace = true | ||
|
||
[dependencies] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "ncomm" | ||
description = "NComm Robotics Framework" | ||
version.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
keywords.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
readme.workspace = true | ||
authors.workspace = true | ||
categories.workspace = true | ||
|
||
[dependencies] | ||
ncomm-core = { workspace = true } | ||
ncomm-utils = { workspace = true } | ||
ncomm-executors = { workspace = true } | ||
ncomm-publishers-and-subscribers = { workspace = true } | ||
ncomm-clients-and-servers = { workspace = true } | ||
ncomm-update-clients-and-servers = { workspace = true } | ||
ncomm-nodes = { workspace = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//! | ||
//! NComm | ||
//! | ||
|
||
pub mod prelude; | ||
|
||
/// NComm Core Traits | ||
pub use ncomm_core as core; | ||
/// NComm Utility Functionality and Traits | ||
pub use ncomm_utils as utils; | ||
/// NComm Executors | ||
pub use ncomm_executors as executors; | ||
/// NComm Publishers and Subscribers | ||
pub use ncomm_publishers_and_subscribers as pubsubs; | ||
/// NComm Clients and Servers | ||
pub use ncomm_clients_and_servers as client_servers; | ||
/// NComm Update Clients and Servers | ||
pub use ncomm_update_clients_and_servers as update_client_servers; | ||
/// Common NComm Nodes | ||
pub use ncomm_nodes as nodes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
//! | ||
//! Re-export of NComm traits to make working with | ||
//! NComm a bit easier | ||
//! | ||
|
||
pub use ncomm_core::*; |