Skip to content

Commit

Permalink
Merge pull request #29 from N8BWert/1.1.1-patch
Browse files Browse the repository at this point in the history
Add missed feature flags (pt. 2)
  • Loading branch information
N8BWert authored Sep 14, 2024
2 parents 9d0631b + df0fb41 commit 7a5b30e
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 21 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

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

18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ default-members = [
resolver = "2"

[workspace.package]
version = "1.1.1"
version = "1.1.2"
edition = "2021"
license = "MIT"
description = "Rust Node-Based Communication Prototype Framework"
Expand All @@ -40,14 +40,14 @@ categories = ["science::robotics"]

[workspace.dependencies]
# NComm
ncomm = { path = "ncomm", version = "1.1.1", default-features = false }
ncomm-core = { path = "ncomm-core", version = "1.1.1", default-features = false }
ncomm-utils = { path = "ncomm-utils", version = "1.1.1", default-features = false }
ncomm-executors = { path = "ncomm-executors", version = "1.1.1", default-features = false }
ncomm-publishers-and-subscribers = { path = "ncomm-publishers-and-subscribers", version = "1.1.1", default-features = false }
ncomm-clients-and-servers = { path = "ncomm-clients-and-servers", version = "1.1.1", default-features = false }
ncomm-update-clients-and-servers = { path = "ncomm-update-clients-and-servers", version = "1.1.1", default-features = false }
ncomm-nodes = { path = "ncomm-nodes", version = "1.1.1", default-features = false }
ncomm = { path = "ncomm", version = "1.1.2", default-features = false }
ncomm-core = { path = "ncomm-core", version = "1.1.2", default-features = false }
ncomm-utils = { path = "ncomm-utils", version = "1.1.2", default-features = false }
ncomm-executors = { path = "ncomm-executors", version = "1.1.2", default-features = false }
ncomm-publishers-and-subscribers = { path = "ncomm-publishers-and-subscribers", version = "1.1.2", default-features = false }
ncomm-clients-and-servers = { path = "ncomm-clients-and-servers", version = "1.1.2", default-features = false }
ncomm-update-clients-and-servers = { path = "ncomm-update-clients-and-servers", version = "1.1.2", default-features = false }
ncomm-nodes = { path = "ncomm-nodes", version = "1.1.2", default-features = false }

# Outside Dependencies
crossbeam = "0.8.4"
Expand Down
5 changes: 5 additions & 0 deletions ncomm-clients-and-servers/src/serial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ use embedded_io::{Error, Read, ReadReady, Write};
use ncomm_core::client_server::{Client, Server};
use ncomm_utils::packing::{Packable, PackingError};

#[cfg(feature = "alloc")]
use alloc::vec::Vec;
#[cfg(feature = "std")]
use std::vec::Vec;

/// An Error regarding sending and receiving data via serial
#[derive(Debug)]
pub enum SerialClientServerError<Err: Error> {
Expand Down
1 change: 1 addition & 0 deletions ncomm-publishers-and-subscribers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pub mod local;
#[cfg(feature = "std")]
pub mod udp;

#[cfg(feature = "std")]
pub mod tcp;

#[cfg(feature = "rerun")]
Expand Down
2 changes: 2 additions & 0 deletions ncomm-update-clients-and-servers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#[cfg(feature = "alloc")]
extern crate alloc;

#[cfg(feature = "std")]
pub mod local;

#[cfg(feature = "std")]
pub mod udp;

0 comments on commit 7a5b30e

Please sign in to comment.