Skip to content

Commit

Permalink
Make Rust version no_std and improve docs (#120)
Browse files Browse the repository at this point in the history
* Improve Rust documentation and bump to 1.0.2

* Make Rust version no_std

* Improve fast_sqrt function

* Fix link in readme

* Use num-trais for no_std support

* Improve compile time error message

* Fix typo

* Bump to version 1.1.0

---------

Co-authored-by: Dennis Kobert <[email protected]>
Co-authored-by: Jordan Peck <[email protected]>
  • Loading branch information
3 people authored Oct 15, 2023
1 parent b4e6444 commit 467e6c0
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 61 deletions.
27 changes: 26 additions & 1 deletion Rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions Rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,40 @@ description = "FastNoiseLite is an extremely portable open source noise generati
repository = "https://github.com/Auburn/FastNoiseLite"
readme = "README.md"
authors = ["Jordan Peck", "Keavon Chambers"]
categories = [
"algorithms",
"game-development",
"graphics",
"multimedia::images",
"rendering",
]
keywords = [
"noise",
"fastnoise",
"procedural",
"simplex",
"opensimplex",
"cellular",
"voronoi",
"perlin",
"value",
"cubic",
"fractal",
"domain-warping",
"2D",
"3D",
"heightmap",
"terrain",
"texture",
"random",
"generative",
]

[features]
f64 = []
std = ["num-traits/std"]
libm = ["num-traits/libm"]
default = ["std"]

[dependencies]
num-traits = { version = "0.2.16", optional = true, default-features = false }
Loading

0 comments on commit 467e6c0

Please sign in to comment.