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