From 1a205236d019423f82d865f90ba917f24f2d2b7b Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Sat, 15 Feb 2025 02:44:43 +0100 Subject: feat: some feature flags --- Cargo.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index e52fd22..e7c8dd5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,14 @@ panic = "abort" rusttype = "0.9.3" [features] -default = [] +default = ["music"] # Bundle-in SDL. Not enabled for demo submission builds. Useful for compatibility. bundled = ["sdl2/bundled"] +# Don't timeout the demo - pass --features notimeout to disable the DVD screen timeout +notimeout = [] +# Make the window resizable - can let you trigger unexpected/undefined behaviour +resizable = [] +# Use Music +music = [] +# Compiles to <=32k on linux after UPX with --brute +32k = [] -- cgit v1.2.3