Skip to main content

lux_lib/
lib.rs

1pub mod build;
2pub mod config;
3pub mod drivers;
4pub mod fs;
5pub mod git;
6pub mod hash;
7pub mod lockfile;
8pub mod lua;
9pub mod luarocks;
10pub mod manifest;
11pub mod operations;
12pub mod package;
13pub mod path;
14pub mod pipeline;
15pub mod progress;
16pub mod project;
17pub mod rockspec;
18#[cfg(feature = "schema")]
19pub mod schema;
20pub mod target;
21pub mod toolchains;
22pub mod tree;
23pub mod upload;
24pub mod which;
25pub mod workspace;
26
27pub mod remote;
28pub mod reqwest;
29pub(crate) mod variables;
30#[cfg_attr(not(feature = "wally"), allow(dead_code))]
31pub(crate) mod wally;
32
33/// An internal string describing the server-side API version that we support.
34/// Whenever we connect to a server (like `luarocks.org`), we ensure that these
35/// two versions match (meaning we can safely communicate with the server).
36pub(crate) const TOOL_VERSION: &str = "1.0.0";
37
38// The largest known files (Lua manifests) use up roughly ~500k steps.
39pub(crate) const ROCKSPEC_FUEL_LIMIT: i32 = 1_000_000;