27 lines
977 B
Rust
27 lines
977 B
Rust
//! Canonical option registry for the compat surface.
|
|
|
|
/// Shared option data model used by the compat registry and query helpers.
|
|
mod model;
|
|
/// Lookup and filtering helpers for canonical, scoped, and RPC option spellings.
|
|
mod query;
|
|
/// Static aria2-compatible option specifications exposed by the compat layer.
|
|
mod registry;
|
|
/// Internal option names reserved for compat-layer metadata.
|
|
mod reserved;
|
|
|
|
pub use self::model::{
|
|
OptionFamily, OptionKind, OptionMetadata, OptionParser, OptionScope, OptionSource, OptionSpec,
|
|
OptionStatus, OptionTag,
|
|
};
|
|
pub use self::query::{
|
|
env_var_for_option, global_option_specs, is_live_option_status, is_required_pro_option,
|
|
live_option_specs, option_spec, per_download_option_specs, reserved_option_names,
|
|
rpc_option_name,
|
|
};
|
|
pub use self::registry::OPTION_SPECS;
|
|
pub use self::reserved::{RESERVED_OPTION_NAMES, ReservedOptionName};
|
|
|
|
#[cfg(test)]
|
|
/// Regression coverage for compat option registry behavior.
|
|
mod tests;
|