···7788//! In-process communication between clients and servers
991010-use buttplug::{
1111- core::{
1010+use buttplug_core::{
1211 connector::{ButtplugConnector, ButtplugConnectorError, ButtplugConnectorResultFuture},
1312 errors::{ButtplugError, ButtplugMessageError},
1414- },
1515- server::{
1313+ util::async_manager,
1414+ };
1515+use buttplug_server::{
1616 message::{ButtplugClientMessageV2, ButtplugServerMessageV2, ButtplugServerMessageVariant},
1717 ButtplugServer,
1818 ButtplugServerBuilder,
1919- },
2020- util::async_manager,
2119};
2220use futures::{
2321 future::{self, BoxFuture, FutureExt},
···6967/// develop (and we highly recommend developing that way), and also an easy way to get users up and
7068/// running as quickly as possible, we recommend also including some sort of IPC Connector in order
7169/// for your application to connect to newer servers when they come out.
7272-#[cfg(feature = "server")]
7070+7371pub struct ButtplugInProcessClientConnector {
7472 /// Internal server object for the embedded connector.
7573 server: Arc<ButtplugServer>,
···7775 connected: Arc<AtomicBool>,
7876}
79778080-#[cfg(feature = "server")]
7878+8179impl Default for ButtplugInProcessClientConnector {
8280 fn default() -> Self {
8381 ButtplugInProcessClientConnectorBuilder::default().finish()
8482 }
8583}
86848787-#[cfg(feature = "server")]
8585+8886impl ButtplugInProcessClientConnector {
8987 /// Creates a new in-process connector, with a server instance.
9088 ///
···106104 }
107105}
108106109109-#[cfg(feature = "server")]
107107+110108impl ButtplugConnector<ButtplugClientMessageV2, ButtplugServerMessageV2>
111109 for ButtplugInProcessClientConnector
112110{