Compare commits
1 Commits
bump-versi
...
wasm-suppo
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa3943f21f |
@@ -10,32 +10,39 @@ repository.workspace = true
|
|||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base64 = { version = "0.22.1" }
|
getrandom = { version = "*", features = ["js"] }
|
||||||
|
ring = { version = "*", features = ["wasm32_unknown_unknown_js"] }
|
||||||
|
|
||||||
bincode = { version = "1.3.3" }
|
bincode = { version = "1.3.3" }
|
||||||
byteorder = { version = "1.5.0" }
|
base64 = { version = "0.22.1", optional = true }
|
||||||
|
byteorder = { version = "1.5.0", optional = true }
|
||||||
chrono = { version = "0.4.40", default-features = false, features = ["std"] }
|
chrono = { version = "0.4.40", default-features = false, features = ["std"] }
|
||||||
homedir = { version = "0.3.4" }
|
homedir = { version = "0.3.4", optional = true }
|
||||||
image = { version = "0.25.5", default-features = false }
|
image = { version = "0.25.5", default-features = false }
|
||||||
log = { version = "0.4.26" }
|
log = { version = "0.4.26" }
|
||||||
mdns-sd = { version = "0.13.9", default-features = false, features = [
|
mdns-sd = { version = "0.13.9", default-features = false, features = [
|
||||||
"logging",
|
"logging",
|
||||||
] }
|
], optional = true }
|
||||||
num-bigint = { version = "0.8.4", package = "num-bigint-dig" }
|
num-bigint = { version = "0.8.4", package = "num-bigint-dig", optional = true }
|
||||||
num-traits = { version = "0.2.19" }
|
num-traits = { version = "0.2.19", optional = true }
|
||||||
quick-protobuf = { version = "0.8.1" }
|
quick-protobuf = { version = "0.8.1", optional = true }
|
||||||
rand = { version = "0.9.0" }
|
rand = { version = "0.8.5", optional = true }
|
||||||
rcgen = { version = "0.13.1", default-features = false, features = [
|
rcgen = { version = "0.13.1", default-features = false, features = [
|
||||||
"aws_lc_rs",
|
"aws_lc_rs",
|
||||||
"pem",
|
"pem",
|
||||||
] }
|
], optional = true }
|
||||||
regex = { version = "1.11.1", features = ["perf", "std", "unicode"] }
|
regex = { version = "1.11.1", features = [
|
||||||
rsa = { version = "0.9.7" }
|
"perf",
|
||||||
rusb = { version = "0.9.4", features = ["vendored"] }
|
"std",
|
||||||
rustls = { version = "0.23.27" }
|
"unicode",
|
||||||
rustls-pki-types = { version = "1.11.0" }
|
], optional = true }
|
||||||
|
rsa = { version = "0.9.7", optional = true }
|
||||||
|
rusb = { version = "0.9.4", features = ["vendored"], optional = true }
|
||||||
|
rustls = { version = "0.23.27", optional = true }
|
||||||
|
rustls-pki-types = { version = "1.11.0", optional = true }
|
||||||
serde = { version = "1.0.216", features = ["derive"] }
|
serde = { version = "1.0.216", features = ["derive"] }
|
||||||
serde_repr = { version = "0.1.19" }
|
serde_repr = { version = "0.1.19", optional = true }
|
||||||
sha1 = { version = "0.10.6", features = ["oid"] }
|
sha1 = { version = "0.10.6", features = ["oid"], optional = true }
|
||||||
thiserror = { version = "2.0.7" }
|
thiserror = { version = "2.0.7" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|||||||
@@ -7,21 +7,37 @@
|
|||||||
mod adb_device_ext;
|
mod adb_device_ext;
|
||||||
mod constants;
|
mod constants;
|
||||||
mod device;
|
mod device;
|
||||||
mod emulator_device;
|
|
||||||
mod error;
|
mod error;
|
||||||
mod mdns;
|
|
||||||
mod models;
|
mod models;
|
||||||
mod server;
|
|
||||||
mod server_device;
|
|
||||||
mod transports;
|
mod transports;
|
||||||
|
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
|
mod emulator_device;
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
|
mod mdns;
|
||||||
|
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
|
mod server;
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
|
mod server_device;
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
mod utils;
|
mod utils;
|
||||||
|
|
||||||
pub use adb_device_ext::ADBDeviceExt;
|
pub use adb_device_ext::ADBDeviceExt;
|
||||||
pub use device::{ADBTcpDevice, ADBUSBDevice};
|
pub use device::ADBUSBDevice;
|
||||||
pub use emulator_device::ADBEmulatorDevice;
|
|
||||||
pub use error::{Result, RustADBError};
|
pub use error::{Result, RustADBError};
|
||||||
pub use mdns::*;
|
|
||||||
pub use models::{AdbStatResponse, RebootType};
|
pub use models::{AdbStatResponse, RebootType};
|
||||||
|
pub use transports::{ADBMessageTransport, ADBTransport};
|
||||||
|
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
|
pub use device::ADBTcpDevice;
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
|
pub use emulator_device::ADBEmulatorDevice;
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
|
pub use mdns::*;
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
pub use server::*;
|
pub use server::*;
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
pub use server_device::ADBServerDevice;
|
pub use server_device::ADBServerDevice;
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
pub use transports::*;
|
pub use transports::*;
|
||||||
|
|||||||
Reference in New Issue
Block a user