Skip to content

Commit 94fd923

Browse files
committed
Remove unstable-mobile-app feature gating
1 parent 270c6e3 commit 94fd923

File tree

10 files changed

+4
-36
lines changed

10 files changed

+4
-36
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: [ubuntu-24.04, macos-14, windows-2022]
21-
feature-args: ['', '-Funstable-mobile-app']
22-
include:
23-
- feature-args: ''
24-
feature-suffix: ''
25-
- feature-args: '-Funstable-mobile-app'
26-
feature-suffix: ', mobile-app'
27-
28-
name: Lint (${{ matrix.os }}${{ matrix.feature-suffix }})
21+
2922
runs-on: ${{ matrix.os }}
3023
steps:
3124
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
@@ -39,7 +32,7 @@ jobs:
3932
run: cargo fmt --all -- --check
4033

4134
- name: Run Clippy
42-
run: cargo clippy --workspace --tests ${{ matrix.feature-args }}
35+
run: cargo clippy --workspace --tests
4336

4437
lint:
4538
needs: lint-each-os
@@ -58,14 +51,7 @@ jobs:
5851
fail-fast: false
5952
matrix:
6053
os: [ubuntu-24.04, macos-14, windows-2022]
61-
feature-args: ['', '-Funstable-mobile-app']
62-
include:
63-
- feature-args: ''
64-
feature-suffix: ''
65-
- feature-args: '-Funstable-mobile-app'
66-
feature-suffix: ', mobile-app'
67-
68-
name: Test (${{ matrix.os }}${{ matrix.feature-suffix }})
54+
6955
runs-on: ${{ matrix.os }}
7056

7157
steps:
@@ -76,7 +62,7 @@ jobs:
7662
key: ${{ github.job }}
7763

7864
- name: Run Cargo Tests
79-
run: cargo test --all ${{ matrix.feature-args }}
65+
run: cargo test --all
8066

8167
test_node:
8268
strategy:

.vscode/settings.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
{
2-
"rust-analyzer.cargo.features": ["unstable-mobile-app"],
3-
"rust-analyzer.cargo.noDefaultFeatures": false
4-
}

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@ default = []
9494
managed = []
9595
with_crash_reporting = []
9696

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-
10197
[workspace.lints.clippy]
10298
allow-attributes = "warn"
10399
unnecessary-wraps = "warn"

src/api/data_types/chunking/mobile_app.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![cfg(feature = "unstable-mobile-app")]
21
use serde::{Deserialize, Serialize};
32
use sha1_smol::Digest;
43

src/api/data_types/chunking/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ pub use self::compression::ChunkCompression;
1414
pub use self::dif::{AssembleDifsRequest, AssembleDifsResponse, ChunkedDifRequest};
1515
pub use self::file_state::ChunkedFileState;
1616
pub use self::hash_algorithm::ChunkHashAlgorithm;
17-
#[cfg(feature = "unstable-mobile-app")]
1817
pub use self::mobile_app::{AssembleMobileAppResponse, ChunkedMobileAppRequest};
1918
pub use self::upload::{ChunkServerOptions, ChunkUploadCapability};

src/api/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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,

src/commands/mobile_app/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![cfg(feature = "unstable-mobile-app")]
2-
31
use anyhow::Result;
42
use clap::{ArgMatches, Command};
53

src/commands/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ macro_rules! each_subcommand {
3131
$mac!(info);
3232
$mac!(issues);
3333
$mac!(login);
34-
#[cfg(feature = "unstable-mobile-app")]
3534
$mac!(mobile_app);
3635
$mac!(monitors);
3736
$mac!(organizations);

src/utils/mobile_app/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![cfg(feature = "unstable-mobile-app")]
2-
31
#[cfg(target_os = "macos")]
42
mod apple;
53
mod validation;

tests/integration/mobile_app/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![cfg(feature = "unstable-mobile-app")]
2-
31
use crate::integration::TestManager;
42

53
mod upload;

0 commit comments

Comments
 (0)