Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missed feature flags (pt. 2) #29

Merged
merged 5 commits into from
Sep 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
Loading