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