chore: initial sanitized public snapshot

This commit is contained in:
Aria2 Rust Pro Contributors
2026-07-18 14:04:26 +08:00
commit 7b3816441c
320 changed files with 76813 additions and 0 deletions
@@ -0,0 +1,26 @@
//! 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;