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 lua_installation;
10pub mod lua_rockspec;
11pub mod lua_version;
12pub mod luarocks;
13pub mod manifest;
14pub mod manifest_cache;
15pub mod operations;
16pub mod package;
17pub mod package_db;
18pub mod path;
19pub mod pipeline;
20pub mod progress;
21pub mod project;
22pub mod rockspec;
23pub mod toolchains;
24pub mod tree;
25pub mod upload;
26pub mod which;
27pub mod workspace;
28
29pub(crate) mod remote_package_source;
30pub(crate) mod reqwest;
31pub(crate) mod variables;
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;