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 variables;
25
26/// An internal string describing the server-side API version that we support.
27/// Whenever we connect to a server (like `luarocks.org`), we ensure that these
28/// two versions match (meaning we can safely communicate with the server).
29pub const TOOL_VERSION: &str = "1.0.0";
30
31// The largest known files (Lua manifests) use up roughly ~500k steps.
32pub const ROCKSPEC_FUEL_LIMIT: i32 = 1_000_000;