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