diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 8005892..9f30ef2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,6 +46,8 @@ mod diff; mod error; mod forms; mod get_routes; +#[cfg(feature = "lua")] +mod lua; mod origins; mod post_routes; mod shares; @@ -99,6 +101,11 @@ async fn main() { let repo = Repository::open_bare(repo_path) .expect("expected current directory to be a bare Git repository"); + #[cfg(feature = "lua")] + { + eprintln!("[warning] the Lua code sandboxing is experimental, write access might lead to a system compromise") + } + if args.multiuser { serve(repo_path, MultiUserController::new(&repo), args).await; } else { |