Skip to main content

lux_lib/
lib.rs

1pub mod build;
2pub mod config;
3pub mod git;
4pub mod hash;
5pub mod lockfile;
6pub mod lua;
7pub mod lua_installation;
8pub mod lua_rockspec;
9pub mod lua_version;
10pub mod luarocks;
11pub mod manifest;
12pub mod operations;
13pub mod package;
14pub mod path;
15pub mod progress;
16pub mod project;
17pub mod remote_package_db;
18pub mod rockspec;
19pub mod tree;
20pub mod upload;
21pub mod which;
22
23pub(crate) mod remote_package_source;
24pub(crate) mod reqwest;
25pub(crate) mod variables;
26
27/// An internal string describing the server-side API version that we support.
28/// Whenever we connect to a server (like `luarocks.org`), we ensure that these
29/// two versions match (meaning we can safely communicate with the server).
30pub(crate) const TOOL_VERSION: &str = "1.0.0";
31
32// The largest known files (Lua manifests) use up roughly ~500k steps.
33pub(crate) const ROCKSPEC_FUEL_LIMIT: i32 = 1_000_000;