File tree Expand file tree Collapse file tree 11 files changed +5
-33
lines changed
tests/integration/mobile_app Expand file tree Collapse file tree 11 files changed +5
-33
lines changed Original file line number Diff line number Diff line change @@ -16,20 +16,15 @@ jobs:
1616 fail-fast : false
1717 matrix :
1818 os : [ubuntu-24.04, macos-14, windows-2022]
19- feature-args : ['', '-Funstable-mobile-app']
2019 include :
2120 - os : ubuntu-24.04
2221 display-os : Linux
2322 - os : macos-14
2423 display-os : macOS
2524 - os : windows-2022
2625 display-os : Windows
27- - feature-args : ' '
28- feature-suffix : ' '
29- - feature-args : ' -Funstable-mobile-app'
30- feature-suffix : ' (-Funstable-mobile-app)'
3126
32- name : ${{ matrix.display-os }}${{ matrix.feature-suffix }}
27+ name : ${{ matrix.display-os }}
3328 runs-on : ${{ matrix.os }}
3429 steps :
3530 - name : Checkout Repository
4540 run : cargo fmt --all -- --check
4641
4742 - name : Run Clippy
48- run : cargo clippy --workspace --tests ${{ matrix.feature-args }}
43+ run : cargo clippy --workspace --tests
Original file line number Diff line number Diff line change @@ -16,20 +16,15 @@ jobs:
1616 fail-fast : false
1717 matrix :
1818 os : [ubuntu-24.04, macos-14, windows-2022]
19- feature-args : ['', '-Funstable-mobile-app']
2019 include :
2120 - os : ubuntu-24.04
2221 display-os : Linux
2322 - os : macos-14
2423 display-os : macOS
2524 - os : windows-2022
2625 display-os : Windows
27- - feature-args : ' '
28- feature-suffix : ' '
29- - feature-args : ' -Funstable-mobile-app'
30- feature-suffix : ' (-Funstable-mobile-app)'
3126
32- name : ${{ matrix.display-os }}${{ matrix.feature-suffix }}
27+ name : ${{ matrix.display-os }}
3328 runs-on : ${{ matrix.os }}
3429
3530 steps :
4035 uses : swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0
4136
4237 - name : Run Cargo Tests
43- run : cargo test --all ${{ matrix.feature-args }}
38+ run : cargo test --all
Original file line number Diff line number Diff line change 1- {
2- "rust-analyzer.cargo.features" : [" unstable-mobile-app" ],
3- "rust-analyzer.cargo.noDefaultFeatures" : false
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"
@@ -115,6 +110,7 @@ workspace = true
115110
116111[target ."cfg(target_os = \"macos\")" .dependencies ]
117112mac-process-info = " 0.2.0"
113+ apple-catalog-parsing = { path = " apple-catalog-parsing" }
118114
119115[target ."cfg(unix)" ]
120116
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 @@ -1018,7 +1018,6 @@ impl<'a> AuthenticatedApi<'a> {
10181018 . convert_rnf ( ApiErrorKind :: ReleaseNotFound )
10191019 }
10201020
1021- #[ cfg( feature = "unstable-mobile-app" ) ]
10221021 pub fn assemble_mobile_app (
10231022 & self ,
10241023 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( target_os = "macos" ) ]
42mod apple;
53mod validation;
You can’t perform that action at this time.
0 commit comments