redox/src/lib.rs
2026-02-15 15:26:08 +07:00

18 lines
412 B
Rust

pub mod blake3;
pub mod config;
pub mod cook;
pub mod recipe;
pub mod web;
mod progress_bar;
/// Default for maximum number of levels to descend down dependencies tree.
pub const WALK_DEPTH: usize = 16;
/// Default remote package source, for recipes with build type = "remote"
pub const REMOTE_PKG_SOURCE: &str = "https://static.redox-os.org/pkg";
pub fn is_redox() -> bool {
cfg!(target_os = "redox")
}