Skip to content

Commit 8c51e0e

Browse files
authored
chore!: re-merge oma-mirror to aosc feature (#573)
1 parent 4589a4b commit 8c51e0e

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,14 @@ rust-embed = "8.5.0"
7474

7575
[features]
7676
aosc = ["dep:oma-topics", "oma-refresh/aosc", "oma-pm/aosc", "oma-contents/aosc", "dep:oma-mirror", "reqwest/blocking", "dep:oma-tum"]
77-
mirror = []
7877
sequoia-openssl-backend = ["oma-refresh/sequoia-openssl-backend"]
7978
sequoia-nettle-backend = ["oma-refresh/sequoia-nettle-backend"]
8079
tokio-console = ["dep:console-subscriber"]
8180
rustls = ["reqwest/rustls-tls", "oma-fetch/rustls", "oma-refresh/rustls", "oma-topics/rustls"]
8281
openssl = ["reqwest/native-tls", "oma-fetch/native-tls", "oma-refresh/native-tls", "oma-topics/native-tls"]
8382
nice-setup = ["sequoia-nettle-backend", "rustls", "oma-refresh/apt"]
8483
openssl-setup = ["sequoia-openssl-backend", "openssl", "oma-refresh/apt"]
85-
default = ["aosc", "nice-setup", "mirror"]
84+
default = ["aosc", "nice-setup"]
8685

8786
[workspace]
8887
members = ["oma-contents", "oma-console", "oma-topics", "oma-fetch", "oma-refresh", "oma-utils", "oma-pm", "oma-history", "oma-pm-operation-type", "oma-repo-verify", "oma-mirror", "apt-auth-config", "oma-tum"]

src/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ pub enum SubCmd {
199199
#[command(visible_alias = "topic", about = fl!("clap-topics-help"), help_template = &*HELP_TEMPLATE)]
200200
#[command(next_help_heading = &**crate::args::ARG_HELP_HEADING)]
201201
Topics(Topics),
202-
#[cfg(feature = "mirror")]
202+
#[cfg(feature = "aosc")]
203203
/// Manage Mirrors enrollment
204204
#[command(visible_alias = "mirrors", about = fl!("clap-mirror-help"), help_template = &*HELP_TEMPLATE)]
205205
#[command(next_help_heading = &**crate::args::ARG_HELP_HEADING)]

src/subcommand/mirror.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ impl CliExecuter for CliMirror {
223223
),
224224
MirrorSubCmd::Speedtest {
225225
set_fastest,
226-
#[cfg(feature = "aosc")]
227226
no_refresh_topics,
228227
no_refresh,
229228
timeout,

src/subcommand/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pub mod history;
99
pub mod install;
1010
pub mod list;
1111
pub mod mark;
12-
#[cfg(feature = "mirror")]
12+
#[cfg(feature = "aosc")]
1313
pub mod mirror;
1414
pub mod pick;
1515
pub mod rdepends;

0 commit comments

Comments
 (0)