Martin T Cvars Versions Save

Configuration variables and consoles for games in Rust. An alternative to inline_tweak / const-tweaker with different tradeoffs.

cvars-console-fyrox-v0.4.0

1 month ago
  • Breaking change: Update fyrox-ui to 0.23.0

cvars-console-fyrox-v0.3.0

4 months ago
  • Breaking change: Update fyrox-ui to 0.22.0

cvars-console-macroquad-v0.3.0

4 months ago
  • Breaking change: Update macroquad to 0.4.0

cvars-v0.4.2,cvars-macros-v0.4.2

4 months ago
  • Add #![cvars(sorted)] to check if cvars are sorted

cvars-macros-v0.4.1

5 months ago

Cvars-macros v0.4.1 - 2023-07-08

  • Add support for non-Copy types such as String.

cvars-v0.4.0,cvars-console-fyrox-v0.2.0,cvars-console-macroquad-v0.2.0

5 months ago

Cvars and cvars-macros v0.4.0 - 2023-07-01

  • Update to syn 2
  • Internal improvements: unified macro logic so cvars! no longer depends on #[derive(SetGet)].
  • Breaking change: cvars! no longer adds #[derive(Debug, Clone)] to the generated struct. This might improve compile times with a large (~10k) number of cvars.
  • Reduce the amount of code generated per-cvar (6x fewer lines of LLVM IR):
    • Recompile speedup after editing cvars: 10.5s -> 3.5s for 1k cvars (3x faster).
    • Recompile speedup after editing other code: 700ms -> 450ms for 1k cvars (1.5x faster).
  • The cvars! proc macro is no longer experimental and is the recommended way to use cvars because it is more convenient than #[derive(SetGet)].
  • Add cvar_count() and CVAR_COUNT to get the number of cvars.
  • Accept 0, 1, f and t for bool cvars.
  • cvars! now accepts inner attributes and comments - see its docs for usage examples.

Cvars-console-fyrox v0.2.0 - 2023-07-01

  • Breaking change: Update to cvars v0.4.0
  • Breaking change: Update to fyrox-ui v0.21.0

Cvars-console and cvars-console-macroquad v0.2.0 - 2023-07-01

  • Breaking change: Update to cvars v0.4.0

cvars-v0.3.1,cvars-macros-v0.2.1

10 months ago

Cvars v0.3.1, cvars-macros v0.2.1 - 2023-02-06

  • Fix and improve docs

cvars-console-fyrox-v0.1.0,cvars-console-macroquad-v0.1.0

10 months ago

Cvars-console-fyrox v0.1.0 - 2023-02-06

  • First release - in-game console with history

Cvars-console-macroquad v0.1.0 - 2023-02-06

  • First release - in-game console with history

cvars-console-v0.1.0

10 months ago

Cvars-console v0.1.0 - 2023-02-04

  • Basic help message
  • Command history
  • Setting / getting cvars

cvars-v0.3.0,cvars-macros-v0.2.0

10 months ago

Cvars v0.3.0 - 2023-02-04

  • Breaking change: Depend on cvars-macros v0.2.0

Cvars-macros v0.2.0 - 2023-02-04

  • Breaking change: cvars! {} now generates a Default impl that uses the specified values instead of a new function