Context: After much ado, in 2021 according to RFC 3052 the authors
field was made optional, with the possibility of deprecation being held
open for the future. After four years, it doesn't seem people have come
much back around to the feature; in pull #15068 on the cargo repository
from January of this year, it was finally marked as deprecated in the
documentation.
Most of these kinds of attributes are pretty pointless for us anyways,
since we don't publish to crates.io, and the reasons for making it
optional/deprecated mostly apply to us as well. It just doesn't seem
very useful.
- Deduplicated and simplified version display methodologies, which had
previously been strewn haphazardly across the codebase; time is always
shown alongside date
- Voxygen main menu now only displays version once, at the top
- Build script now passes git commit timestamp instead of formatted
date; this also lets us delete some nix code
- Server sends hash and timestamp to client as numbers instead of hash
and date as strings; both are compared to determine compatibility
- Fixed a random typo
Now, all workspace packages are set to the current supposed version of
Veloren (0.17.0), with the exception of `common/query_server`, `network`
and `network/protocol`, since these appear to be attempting to use
semver at least somewhat more sensibly.
Apparently the person who originally found out that a newer version of
mimalloc was causing a memory leak can no longer reproduce the issue
with the latest mimalloc. Let's hope it's just fixed.
Also moved mimalloc to workspace dependency.
- ordered-float from 4 to 5
- strum from 0.26 to 0.27
- profiling from 1.0.16 to 1.0.17 and tracing-tracy from 0.11.3 to 0.11.4
- toml from 0.8 to 0.9
- socket2 from 0.5 to 0.6
- indicatif from 0.17 to 0.18
- crossterm from 0.28 to 0.29
- fluent from 0.16 to 0.17, fluent-bundle from 0.15 to 0.16, and
fluent-syntax from 0.11 to 0.12
Also moved criterion to workspace dependencies, and removed
assets_manager from voxygen since it doesn't appear to be used.
This contains a lot of renaming, in rand, thread_rng got changed to rng and gen got changed to random because of the upcomming rust2024 edition.
Additionally the traits are changing.
This is highly necessary for a toolchain update
Tried to run `cargo update`, but that broke things, see
https://github.com/rust-lang/hashbrown/issues/564.
Updated:
- itertools to 0.14
- kiddo to 5
- petgraph to 0.7
- notify to 8
- wasmtime and wasmtime-wasi to 29
Note: this causes even bigger problems if one were to try to run
`cargo update` since even if one were to add certain transitive
dependencies to common/Cargo.toml and enable the necessary feature
flags, a transitive dependency here also depends on allocator-api2 but
without exposing the proper feature flag. A fix is underway, see
https://github.com/bytecodealliance/regalloc2/issues/209
- axum to 0.8
- discord-sdk to 0.4
- minifb to 0.28