File tree Expand file tree Collapse file tree 11 files changed +6
-31
lines changed
tests/integration/mobile_app Expand file tree Collapse file tree 11 files changed +6
-31
lines changed Original file line number Diff line number Diff line change 2020 - x86_64-pc-windows-msvc
2121 - aarch64-apple-darwin
2222 - x86_64-apple-darwin
23- feature-args : ['', '-Funstable-mobile-app']
2423 include :
2524 - target : x86_64-unknown-linux-musl
2625 os : ubuntu-24.04
3433 - target : x86_64-apple-darwin
3534 os : macos-14
3635 display-os : macOS – x86_64
37- - feature-args : ' '
38- feature-suffix : ' '
39- - feature-args : ' -Funstable-mobile-app'
40- feature-suffix : ' (-Funstable-mobile-app)'
4136
42- name : ${{ matrix.display-os }}${{ matrix.feature-suffix }}
37+ name : ${{ matrix.display-os }}
4338 runs-on : ${{ matrix.os }}
4439 steps :
4540 - name : Checkout Repository
6459 run : cargo fmt --all -- --check
6560
6661 - name : Run Clippy
67- run : cargo clippy --workspace --tests --target ${{ matrix.target }} ${{ matrix.feature-args }}
62+ run : cargo clippy --workspace --tests --target ${{ matrix.target }}
Original file line number Diff line number Diff line change 2020 - x86_64-pc-windows-msvc
2121 - aarch64-apple-darwin
2222 - x86_64-apple-darwin
23- feature-args : ['', '-Funstable-mobile-app']
2423 include :
2524 - target : x86_64-unknown-linux-musl
2625 os : ubuntu-24.04
3433 - target : x86_64-apple-darwin
3534 os : macos-14
3635 display-os : macOS – x86_64
37- - feature-args : ' '
38- feature-suffix : ' '
39- - feature-args : ' -Funstable-mobile-app'
40- feature-suffix : ' (-Funstable-mobile-app)'
4136
42- name : ${{ matrix.display-os }}${{ matrix.feature-suffix }}
37+ name : ${{ matrix.display-os }}
4338 runs-on : ${{ matrix.os }}
4439
4540 steps :
5954 uses : swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0
6055
6156 - name : Run Cargo Tests
62- run : cargo test --workspace --target ${{ matrix.target }} ${{ matrix.feature-args }}
57+ run : cargo test --workspace --target ${{ matrix.target }}
Original file line number Diff line number Diff line change 11{
2- "rust-analyzer.cargo.features" : [" unstable-mobile-app" ],
32 "rust-analyzer.cargo.noDefaultFeatures" : false ,
43 "rust-analyzer.check.command" : " clippy"
5- }
4+ }
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ rust-version = "1.86"
1111[dependencies ]
1212anylog = " 0.6.3"
1313anyhow = { version = " 1.0.69" , features = [" backtrace" ] }
14- apple-catalog-parsing = { path = " apple-catalog-parsing" , optional = true }
1514backoff = " 0.4.0"
1615brotli2 = " 0.3.2"
1716bytecount = " 0.6.3"
@@ -94,10 +93,6 @@ default = []
9493managed = []
9594with_crash_reporting = []
9695
97- # Feature flag for the mobile-app command, as it is still under development.
98- # CI tests run against this flag, but we don't include it in release builds.
99- unstable-mobile-app = [" apple-catalog-parsing" ]
100-
10196[workspace .lints .clippy ]
10297allow-attributes = " warn"
10398str-to-string = " warn"
@@ -116,6 +111,7 @@ workspace = true
116111
117112[target ."cfg(target_os = \"macos\")" .dependencies ]
118113mac-process-info = " 0.2.0"
114+ apple-catalog-parsing = { path = " apple-catalog-parsing" }
119115
120116[target ."cfg(unix)" ]
121117
Original file line number Diff line number Diff line change 1- #![ cfg( feature = "unstable-mobile-app" ) ]
21use serde:: { Deserialize , Serialize } ;
32use sha1_smol:: Digest ;
43
Original file line number Diff line number Diff line change @@ -14,6 +14,5 @@ pub use self::compression::ChunkCompression;
1414pub use self :: dif:: { AssembleDifsRequest , AssembleDifsResponse , ChunkedDifRequest } ;
1515pub use self :: file_state:: ChunkedFileState ;
1616pub use self :: hash_algorithm:: ChunkHashAlgorithm ;
17- #[ cfg( feature = "unstable-mobile-app" ) ]
1817pub use self :: mobile_app:: { AssembleMobileAppResponse , ChunkedMobileAppRequest } ;
1918pub use self :: upload:: { ChunkServerOptions , ChunkUploadCapability } ;
Original file line number Diff line number Diff line change @@ -1017,7 +1017,6 @@ impl<'a> AuthenticatedApi<'a> {
10171017 . convert_rnf ( ApiErrorKind :: ReleaseNotFound )
10181018 }
10191019
1020- #[ cfg( feature = "unstable-mobile-app" ) ]
10211020 pub fn assemble_mobile_app (
10221021 & self ,
10231022 org : & str ,
Original file line number Diff line number Diff line change 1- #![ cfg( feature = "unstable-mobile-app" ) ]
2-
31use anyhow:: Result ;
42use clap:: { ArgMatches , Command } ;
53
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ macro_rules! each_subcommand {
5757 $mac!( info) ;
5858 $mac!( issues) ;
5959 $mac!( login) ;
60- #[ cfg( feature = "unstable-mobile-app" ) ]
6160 $mac!( mobile_app) ;
6261 $mac!( monitors) ;
6362 $mac!( organizations) ;
Original file line number Diff line number Diff line change 1- #![ cfg( feature = "unstable-mobile-app" ) ]
2-
31#[ cfg( all( target_os = "macos" , target_arch = "aarch64" ) ) ]
42mod apple;
53mod validation;
You can’t perform that action at this time.
0 commit comments