Skip to main content

lux_lib/
lib.rs

1use lux_workspace_hack as _;
2
3pub mod build;
4pub mod config;
5pub mod drivers;
6pub mod fs;
7pub mod git;
8pub mod hash;
9pub mod lockfile;
10pub mod lua;
11pub mod luarocks;
12pub mod manifest;
13pub mod operations;
14pub mod package;
15pub mod path;
16pub mod pipeline;
17pub mod progress;
18pub mod project;
19pub mod rockspec;
20#[cfg(feature = "schema")]
21pub mod schema;
22pub mod target;
23pub mod toolchains;
24pub mod tree;
25pub mod upload;
26pub mod which;
27pub mod workspace;
28
29pub mod remote;
30pub mod reqwest;
31pub(crate) mod variables;
32#[cfg_attr(not(feature = "wally"), allow(dead_code))]
33pub(crate) mod wally;
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;