mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
Move services into subdirectory
This commit is contained in:
@@ -1,36 +1,11 @@
|
||||
#![doc = include_str!("../README.md")]
|
||||
// Jackson Coxson
|
||||
|
||||
#[cfg(feature = "afc")]
|
||||
pub mod afc;
|
||||
#[cfg(feature = "amfi")]
|
||||
pub mod amfi;
|
||||
#[cfg(feature = "pair")]
|
||||
mod ca;
|
||||
#[cfg(feature = "core_device_proxy")]
|
||||
pub mod core_device_proxy;
|
||||
#[cfg(feature = "crashreportcopymobile")]
|
||||
pub mod crashreportcopymobile;
|
||||
#[cfg(feature = "debug_proxy")]
|
||||
pub mod debug_proxy;
|
||||
#[cfg(feature = "dvt")]
|
||||
pub mod dvt;
|
||||
#[cfg(feature = "heartbeat")]
|
||||
pub mod heartbeat;
|
||||
#[cfg(feature = "xpc")]
|
||||
mod http2;
|
||||
#[cfg(feature = "installation_proxy")]
|
||||
pub mod installation_proxy;
|
||||
pub mod lockdown;
|
||||
#[cfg(feature = "misagent")]
|
||||
pub mod misagent;
|
||||
#[cfg(feature = "mobile_image_mounter")]
|
||||
pub mod mobile_image_mounter;
|
||||
pub mod pairing_file;
|
||||
pub mod provider;
|
||||
mod sni;
|
||||
#[cfg(feature = "springboardservices")]
|
||||
pub mod springboardservices;
|
||||
#[cfg(feature = "tunnel_tcp_stack")]
|
||||
pub mod tcp;
|
||||
#[cfg(feature = "tss")]
|
||||
@@ -40,8 +15,9 @@ pub mod tunneld;
|
||||
#[cfg(feature = "usbmuxd")]
|
||||
pub mod usbmuxd;
|
||||
mod util;
|
||||
#[cfg(feature = "xpc")]
|
||||
pub mod xpc;
|
||||
|
||||
pub mod services;
|
||||
pub use services::*;
|
||||
|
||||
use log::{debug, error, trace};
|
||||
use provider::IdeviceProvider;
|
||||
|
||||
25
idevice/src/services/mod.rs
Normal file
25
idevice/src/services/mod.rs
Normal file
@@ -0,0 +1,25 @@
|
||||
#[cfg(feature = "afc")]
|
||||
pub mod afc;
|
||||
#[cfg(feature = "amfi")]
|
||||
pub mod amfi;
|
||||
#[cfg(feature = "core_device_proxy")]
|
||||
pub mod core_device_proxy;
|
||||
#[cfg(feature = "crashreportcopymobile")]
|
||||
pub mod crashreportcopymobile;
|
||||
#[cfg(feature = "debug_proxy")]
|
||||
pub mod debug_proxy;
|
||||
#[cfg(feature = "dvt")]
|
||||
pub mod dvt;
|
||||
#[cfg(feature = "heartbeat")]
|
||||
pub mod heartbeat;
|
||||
#[cfg(feature = "installation_proxy")]
|
||||
pub mod installation_proxy;
|
||||
pub mod lockdown;
|
||||
#[cfg(feature = "misagent")]
|
||||
pub mod misagent;
|
||||
#[cfg(feature = "mobile_image_mounter")]
|
||||
pub mod mobile_image_mounter;
|
||||
#[cfg(feature = "springboardservices")]
|
||||
pub mod springboardservices;
|
||||
#[cfg(feature = "xpc")]
|
||||
pub mod xpc;
|
||||
@@ -1,6 +1,6 @@
|
||||
// DebianArch
|
||||
|
||||
use crate::http2::error::Http2Error;
|
||||
use super::http2::error::Http2Error;
|
||||
use std::{
|
||||
array::TryFromSliceError, error::Error, ffi::FromVecWithNulError, io, num::TryFromIntError,
|
||||
str::Utf8Error,
|
||||
@@ -4,16 +4,12 @@
|
||||
//! which is used for inter-process communication between iOS/macOS components.
|
||||
|
||||
use std::collections::HashMap;
|
||||
mod http2;
|
||||
|
||||
use crate::{
|
||||
http2::{
|
||||
self,
|
||||
h2::{SettingsFrame, WindowUpdateFrame},
|
||||
},
|
||||
IdeviceError, ReadWrite,
|
||||
};
|
||||
use crate::{IdeviceError, ReadWrite};
|
||||
use error::XPCError;
|
||||
use format::{XPCFlag, XPCMessage, XPCObject};
|
||||
use http2::h2::{SettingsFrame, WindowUpdateFrame};
|
||||
use log::{debug, warn};
|
||||
use serde::Deserialize;
|
||||
|
||||
@@ -292,4 +288,3 @@ impl<R: ReadWrite> XPCConnection<R> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user