Commit graph

64 commits

Author SHA1 Message Date
1d9be9a41c
Add jemalloc and jemalloc-auto features
Introduce the new features jemalloc (set jemalloc global allocator
unconditionally) and jemalloc-auto (set jemalloc global allocator on
musl-based targets to fix multithreaded performance, see [1]).

Because cargo does not support target-specific features or feature
defaults, the default is handled using a helper crate
minedmap-default-alloc.

[1] https://nickb.dev/blog/default-musl-allocator-considered-harmful-to-performance/
2025-02-12 20:34:09 +01:00
0dd36a409a
Update dependencies
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2025-02-11 23:03:33 +01:00
561a1e6577
minedmap 2.4.0 2025-01-11 01:54:53 +01:00
0bf1d46aad
minedmap-types 0.1.4 2025-01-11 01:53:05 +01:00
c23b53a8c3
core, viewer: add support for WebP output
WebP can be selected by passing `--image-format webp` on the command
line. For typical Minecraft worlds, this results in a size reduction of
10-15% without increasing processing time.
2025-01-11 01:41:04 +01:00
f9954d1ce4
minedmap 2.3.1 2025-01-06 21:25:29 +01:00
a67bdb3b67
minedmap-resource 0.6.0 2025-01-06 21:25:20 +01:00
ff6e28d381
world, viewer: fix sign text colors
- Fix text colors for signs modified using dye
- Fix text colors specified using `#rrggbb` CSS syntax in JSON text

Only named colors specified via JSON text were working as intended. Dyed signs use different
color names.

The mapping of color names to values is now handled by the generator. Both the generator and the
viewer must be updated for sign text colors to work.
2025-01-06 21:16:41 +01:00
650cd23198
minedmap 2.3.0 2025-01-02 13:42:11 +01:00
941cd16337
minedmap-resource 0.5.0 2025-01-02 13:41:56 +01:00
f43e84eb2b
minedmap 2.2.0 2024-06-23 11:31:45 +02:00
269f08d356
minedmap-resource 0.4.0 2024-06-23 11:30:41 +02:00
7f3e47fcb4
treewide: update dependencies 2024-06-23 01:21:58 +02:00
e9abe6b502
minedmap 2.1.1 2024-06-14 16:31:18 +02:00
66189d279c
core: region_processor: fix crash due to incorrect counting in info message
Fixes #52
2024-06-14 16:02:56 +02:00
9fd3989a95
minedmap 2.1.0 2024-01-27 14:16:03 +01:00
d6716a598b
minedmap-resource 0.3.0 2024-01-27 14:15:28 +01:00
f186681b41
release: move commit message configuration to workspace 2024-01-27 14:14:48 +01:00
9fd5689ebb
core: add sign pattern command line argument handling 2024-01-10 22:56:30 +01:00
6da921cca3
core: wrap long help texts 2024-01-10 22:56:30 +01:00
7ea09a46f9
minedmap 2.0.2 2024-01-07 22:28:53 +01:00
96c60b048e
minedmap-nbt 0.1.1 2024-01-07 22:26:12 +01:00
b48cde7ba8
minedmap-types 0.1.2 2024-01-07 22:23:45 +01:00
e856800c3d
minedmap-resource 0.2.0 2024-01-07 22:21:46 +01:00
fbb99bb467
Update remaining repository URLs 2024-01-07 22:08:55 +01:00
1812e5c6d6
Add type alias for f32 colors to minedmap-resource
Allow removing the dependency on a specific glam version from the main
crate.
2023-12-29 20:13:03 +01:00
1432df7c93
Update dependencies 2023-12-29 20:06:52 +01:00
196e21718f
minedmap 2.0.1 2023-11-18 19:06:25 +01:00
30e5aee09e
Update dependencies 2023-10-12 18:27:49 +02:00
ceb71f035c
minedmap 2.0.0 2023-09-30 16:53:07 +02:00
c7145c5c4a
Cargo.toml: add cargo-release config 2023-09-29 22:15:08 +02:00
a8eb2da95d
Use tracing for configurable logging 2023-09-19 23:29:05 +02:00
646534c755
Cargo.toml: add workspace readme key
cargo-outdated requires the key to be set to allow inheriting it.
2023-09-17 19:24:16 +02:00
4ef0200804
core: display version number based on git-describe 2023-08-27 14:27:40 +02:00
14e57d2085
Cargo.toml: add excludes 2023-08-21 22:01:37 +02:00
b0ad1d8765
Cargo.toml: remove redundant default-run 2023-08-21 21:53:22 +02:00
c010ee9194
Prepare for crates.io release 2023-08-21 21:51:01 +02:00
8e369f33fd
Add license and repository info to all crates 2023-08-21 21:50:57 +02:00
4f3b43e4a4
Add missing serde derive feature to Cargo.toml 2023-08-21 17:07:03 +02:00
228f31c568
Move resource module to a separate crate
The resource module does not depend on any other part of MinedMap.
2023-08-20 17:00:10 +02:00
248a641035
Restructure crates
Get rid of the arbitrary bin/lib split and instead move as much as
possible into the bin crate, which becomes the main crate again.

The types and NBT handling are moved into separate crates, so they can
be reused by nbtdump and regiondump.
2023-08-20 17:00:10 +02:00
9ec1c03ce1
Only name library crate rather than whole package "minedmap-core" 2023-08-20 14:15:29 +02:00
ba86dc8c06
resource: use serde feature of enumflags2 crate 2023-08-19 16:01:51 +02:00
0842cb4ec2
Rename library crate to minedmap-core
Rustdoc can't deal with a bin and lib crate with the same name.
2023-08-18 19:20:21 +02:00
b5980b82af
minedmap/tile_renderer: async region cache
Prepare for sharing the region cache between multiple threads by making
lookup/load async.
2023-08-15 17:42:27 +02:00
78fe1ec50e
minedmap: add support for parallel processing
For now, only RegionProcessor and TileMipmapper are run in parallel.
2023-08-14 22:38:21 +02:00
84bee6d6d9
minedmap: add region cache
Cache the last loaded processed regions.
2023-08-05 20:26:59 +02:00
deb33814ee
minedmap/tile_renderer: avoid calling block_color() more often than necessary
Collect all biome indices/weights for a chunk and deduplicate using a
hash map.
2023-08-03 23:07:16 +02:00
fb712cd2f5
Store per-region biome list in IndexSet
Index into the biome list instead of duplicating the biome data for each
coordinate. This reduces the size of the processed data and speeds up
encoding/decoding.
2023-08-03 23:07:16 +02:00
757f6ff166
minedmap: write info.json file with tilemap metadata
With this change, the new minedmap implementation can generate all
necessary data for the frontend to work.
2023-07-02 23:09:14 +02:00