Skip to content

Commit 3eb594e

Browse files
authored
Enable pathfinder by default (#220)
1 parent e357ce4 commit 3eb594e

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "rust-g"
33
edition = "2021"
4-
version = "3.9.0"
4+
version = "3.10.0"
55
authors = [
66
"Bjorn Neergaard <[email protected]>",
77
"Tad Hardesty <[email protected]>",
@@ -64,9 +64,7 @@ ammonia = { version = "4.1", optional = true }
6464
fast_poisson = { version = "=0.5.2", optional = true, features = [
6565
"single_precision",
6666
] } # Higher versions have problems with x86 due to 'kiddo'.
67-
symphonia = { version = "0.5.4", optional = true, features = [
68-
"all-codecs",
69-
] }
67+
symphonia = { version = "0.5.4", optional = true, features = ["all-codecs"] }
7068

7169
[features]
7270
default = [
@@ -82,6 +80,7 @@ default = [
8280
"json",
8381
"log",
8482
"noise",
83+
"pathfinder",
8584
"rustls_tls",
8685
"sanitize",
8786
"sound_len",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ The default features are:
103103
* json: Function to check JSON validity.
104104
* log: Faster log output.
105105
* noise: 2d Perlin noise.
106+
* pathfinder: An a* pathfinder used for finding the shortest path in a static node map. Not to be used for a non-static map.
106107
* sound_len: A mostly codec-agnostic library for reading the duration of an audio file.
107108
* sql: Asynchronous MySQL/MariaDB client library.
108109
* There are also two sub-features: `native_tls` and `rustls_tls`. `rustls_tls` is a default feature, while the former is not.
@@ -113,7 +114,6 @@ The default features are:
113114
Additional features are:
114115
* allow_non_32bit: Disables the forced compile errors on non-32bit targets. Only use this if you know exactly what you are doing.
115116
* batchnoise: Discrete Batched Perlin-like Noise, fast and multi-threaded - sent over once instead of having to query for every tile.
116-
* pathfinder: An a* pathfinder used for finding the shortest path in a static node map. Not to be used for a non-static map.
117117
* poissonnoise: A way to generate a 2D poisson disk distribution ('blue noise'), which is relatively uniform.
118118
* redis_pubsub: Library for sending and receiving messages through Redis.
119119
* redis_reliablequeue: Library for using a reliable queue pattern through Redis.

0 commit comments

Comments
 (0)