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