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