@smbcloud / cli / commits / 58ebe46

fix building tauri app for android

keypair34 committed Apr 4, 2026 at 16:11 UTC 58ebe46e2731e667b721aafddbd4bf0caab3c5ce
5 files changed +6 -188
Cargo.lock
+2 -184
@@ -327,16 +327,6 @@ dependencies = [
327 "unicode-segmentation",
328 ]
329
330 -[[package]]
331 -name = "core-foundation"
332 -version = "0.9.4"
333 -source = "registry+https://github.com/rust-lang/crates.io-index"
334 -checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
335 -dependencies = [
336 - "core-foundation-sys",
337 - "libc",
338 -]
339 -
330 [[package]]
331 name = "core-foundation"
332 version = "0.10.1"
@@ -472,15 +462,6 @@ version = "1.0.0"
462 source = "registry+https://github.com/rust-lang/crates.io-index"
463 checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
464
475 -[[package]]
476 -name = "encoding_rs"
477 -version = "0.8.35"
478 -source = "registry+https://github.com/rust-lang/crates.io-index"
479 -checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
480 -dependencies = [
481 - "cfg-if",
482 -]
483 -
465 [[package]]
466 name = "equivalent"
467 version = "1.0.2"
@@ -521,21 +502,6 @@ version = "1.0.7"
502 source = "registry+https://github.com/rust-lang/crates.io-index"
503 checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
504
524 -[[package]]
525 -name = "foreign-types"
526 -version = "0.3.2"
527 -source = "registry+https://github.com/rust-lang/crates.io-index"
528 -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
529 -dependencies = [
530 - "foreign-types-shared",
531 -]
532 -
533 -[[package]]
534 -name = "foreign-types-shared"
535 -version = "0.1.1"
536 -source = "registry+https://github.com/rust-lang/crates.io-index"
537 -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
538 -
505 [[package]]
506 name = "form_urlencoded"
507 version = "1.2.2"
@@ -670,25 +636,6 @@ dependencies = [
636 "tokio-postgres",
637 ]
638
673 -[[package]]
674 -name = "h2"
675 -version = "0.4.13"
676 -source = "registry+https://github.com/rust-lang/crates.io-index"
677 -checksum = "2f44da3a8150a6703ed5d34e164b875fd14c2cdab9af1252a9a1020bde2bdc54"
678 -dependencies = [
679 - "atomic-waker",
680 - "bytes",
681 - "fnv",
682 - "futures-core",
683 - "futures-sink",
684 - "http",
685 - "indexmap",
686 - "slab",
687 - "tokio",
688 - "tokio-util",
689 - "tracing",
690 -]
691 -
639 [[package]]
640 name = "hashbrown"
641 version = "0.16.1"
@@ -792,7 +739,6 @@ dependencies = [
739 "bytes",
740 "futures-channel",
741 "futures-core",
795 - "h2",
742 "http",
743 "http-body",
744 "httparse",
@@ -821,22 +767,6 @@ dependencies = [
767 "tower-service",
768 ]
769
824 -[[package]]
825 -name = "hyper-tls"
826 -version = "0.6.0"
827 -source = "registry+https://github.com/rust-lang/crates.io-index"
828 -checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
829 -dependencies = [
830 - "bytes",
831 - "http-body-util",
832 - "hyper",
833 - "hyper-util",
834 - "native-tls",
835 - "tokio",
836 - "tokio-native-tls",
837 - "tower-service",
838 -]
839 -
770 [[package]]
771 name = "hyper-util"
772 version = "0.1.20"
@@ -855,11 +785,9 @@ dependencies = [
785 "percent-encoding",
786 "pin-project-lite",
787 "socket2",
858 - "system-configuration",
788 "tokio",
789 "tower-service",
790 "tracing",
862 - "windows-registry",
791 ]
792
793 [[package]]
@@ -1248,12 +1176,6 @@ dependencies = [
1176 "autocfg",
1177 ]
1178
1251 -[[package]]
1252 -name = "mime"
1253 -version = "0.3.17"
1254 -source = "registry+https://github.com/rust-lang/crates.io-index"
1255 -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
1256 -
1179 [[package]]
1180 name = "mio"
1181 version = "1.1.1"
@@ -1265,23 +1187,6 @@ dependencies = [
1187 "windows-sys 0.61.2",
1188 ]
1189
1268 -[[package]]
1269 -name = "native-tls"
1270 -version = "0.2.14"
1271 -source = "registry+https://github.com/rust-lang/crates.io-index"
1272 -checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e"
1273 -dependencies = [
1274 - "libc",
1275 - "log",
1276 - "openssl",
1277 - "openssl-probe 0.1.6",
1278 - "openssl-sys",
1279 - "schannel",
1280 - "security-framework 2.11.1",
1281 - "security-framework-sys",
1282 - "tempfile",
1283 -]
1284 -
1190 [[package]]
1191 name = "nu-ansi-term"
1192 version = "0.50.3"
@@ -1335,32 +1240,6 @@ dependencies = [
1240 "pathdiff",
1241 ]
1242
1338 -[[package]]
1339 -name = "openssl"
1340 -version = "0.10.75"
1341 -source = "registry+https://github.com/rust-lang/crates.io-index"
1342 -checksum = "08838db121398ad17ab8531ce9de97b244589089e290a384c900cb9ff7434328"
1343 -dependencies = [
1344 - "bitflags 2.10.0",
1345 - "cfg-if",
1346 - "foreign-types",
1347 - "libc",
1348 - "once_cell",
1349 - "openssl-macros",
1350 - "openssl-sys",
1351 -]
1352 -
1353 -[[package]]
1354 -name = "openssl-macros"
1355 -version = "0.1.1"
1356 -source = "registry+https://github.com/rust-lang/crates.io-index"
1357 -checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
1358 -dependencies = [
1359 - "proc-macro2",
1360 - "quote",
1361 - "syn 2.0.114",
1362 -]
1363 -
1243 [[package]]
1244 name = "openssl-probe"
1245 version = "0.1.6"
@@ -1823,20 +1702,15 @@ checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147"
1702 dependencies = [
1703 "base64",
1704 "bytes",
1826 - "encoding_rs",
1705 "futures-core",
1828 - "h2",
1706 "http",
1707 "http-body",
1708 "http-body-util",
1709 "hyper",
1710 "hyper-rustls",
1834 - "hyper-tls",
1711 "hyper-util",
1712 "js-sys",
1713 "log",
1838 - "mime",
1839 - "native-tls",
1714 "percent-encoding",
1715 "pin-project-lite",
1716 "quinn",
@@ -1848,7 +1722,6 @@ dependencies = [
1722 "serde_urlencoded",
1723 "sync_wrapper",
1724 "tokio",
1851 - "tokio-native-tls",
1725 "tokio-rustls",
1726 "tower",
1727 "tower-http",
@@ -1921,7 +1794,7 @@ dependencies = [
1794 "openssl-probe 0.2.1",
1795 "rustls-pki-types",
1796 "schannel",
1924 - "security-framework 3.5.1",
1797 + "security-framework",
1798 ]
1799
1800 [[package]]
@@ -1991,19 +1864,6 @@ version = "1.2.0"
1864 source = "registry+https://github.com/rust-lang/crates.io-index"
1865 checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
1866
1994 -[[package]]
1995 -name = "security-framework"
1996 -version = "2.11.1"
1997 -source = "registry+https://github.com/rust-lang/crates.io-index"
1998 -checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
1999 -dependencies = [
2000 - "bitflags 2.10.0",
2001 - "core-foundation 0.9.4",
2002 - "core-foundation-sys",
2003 - "libc",
2004 - "security-framework-sys",
2005 -]
2006 -
1867 [[package]]
1868 name = "security-framework"
1869 version = "3.5.1"
@@ -2011,7 +1871,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1871 checksum = "b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef"
1872 dependencies = [
1873 "bitflags 2.10.0",
2014 - "core-foundation 0.10.1",
1874 + "core-foundation",
1875 "core-foundation-sys",
1876 "libc",
1877 "security-framework-sys",
@@ -2497,27 +2357,6 @@ dependencies = [
2357 "syn 2.0.114",
2358 ]
2359
2500 -[[package]]
2501 -name = "system-configuration"
2502 -version = "0.7.0"
2503 -source = "registry+https://github.com/rust-lang/crates.io-index"
2504 -checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b"
2505 -dependencies = [
2506 - "bitflags 2.10.0",
2507 - "core-foundation 0.9.4",
2508 - "system-configuration-sys",
2509 -]
2510 -
2511 -[[package]]
2512 -name = "system-configuration-sys"
2513 -version = "0.6.0"
2514 -source = "registry+https://github.com/rust-lang/crates.io-index"
2515 -checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4"
2516 -dependencies = [
2517 - "core-foundation-sys",
2518 - "libc",
2519 -]
2520 -
2360 [[package]]
2361 name = "tabled"
2362 version = "0.20.0"
@@ -2712,16 +2551,6 @@ dependencies = [
2551 "syn 2.0.114",
2552 ]
2553
2715 -[[package]]
2716 -name = "tokio-native-tls"
2717 -version = "0.3.1"
2718 -source = "registry+https://github.com/rust-lang/crates.io-index"
2719 -checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
2720 -dependencies = [
2721 - "native-tls",
2722 - "tokio",
2723 -]
2724 -
2554 [[package]]
2555 name = "tokio-postgres"
2556 version = "0.7.16"
@@ -3327,17 +3156,6 @@ version = "0.2.1"
3156 source = "registry+https://github.com/rust-lang/crates.io-index"
3157 checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
3158
3330 -[[package]]
3331 -name = "windows-registry"
3332 -version = "0.6.1"
3333 -source = "registry+https://github.com/rust-lang/crates.io-index"
3334 -checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720"
3335 -dependencies = [
3336 - "windows-link",
3337 - "windows-result",
3338 - "windows-strings",
3339 -]
3340 -
3159 [[package]]
3160 name = "windows-result"
3161 version = "0.4.1"
Cargo.toml
+1 -1
@@ -20,7 +20,7 @@ log = "0.4.14"
20 maybe-async = "0.2"
21 open = "5.3"
22 regex = "1.11"
23 -reqwest = "0.12.18"
23 +reqwest = { version = "0.12.18", default-features = false }
24 serde = "1"
25 serde_json = "1.0.82"
26 serde_repr = "0.1"
crates/cli/Cargo.toml
+1 -1
@@ -37,7 +37,7 @@ indicatif = { workspace = true }
37 log = { workspace = true }
38 open = { workspace = true }
39 regex = { workspace = true }
40 -reqwest = { workspace = true, features = ["json"] }
40 +reqwest = { workspace = true, features = ["json", "rustls-tls-native-roots"] }
41 serde = { workspace = true, features = ["derive"] }
42 serde_json = { workspace = true }
43 serde_repr = { workspace = true }
crates/smbcloud-network/Cargo.toml
+1 -1
@@ -23,7 +23,7 @@ crate-type = ["cdylib", "rlib"]
23 [dependencies]
24 clap = { workspace = true, features = ["derive", "env"] }
25 log = { workspace = true }
26 -reqwest = { workspace = true, features = ["json"] }
26 +reqwest = { workspace = true, features = ["json", "rustls-tls-native-roots"] }
27 serde = { workspace = true, features = ["derive"] }
28 serde_json = { workspace = true }
29 smbcloud-model = { workspace = true }
crates/smbcloud-networking-project/Cargo.toml
+1 -1
@@ -23,7 +23,7 @@ async-trait = { workspace = true, optional = true }
23 dirs = { workspace = true }
24 log = { workspace = true }
25 maybe-async = { workspace = true, features = ["is_sync"] }
26 -reqwest = { workspace = true, features = ["json"] }
26 +reqwest = { workspace = true, features = ["json", "rustls-tls-native-roots"] }
27 serde = { workspace = true, features = ["derive"] }
28 serde_json = { workspace = true }
29 smbcloud-model = { workspace = true }