Skip to content

Commit 074a2ad

Browse files
author
Ιωάννης Νικολαΐδης
committed
Συμπλήρωση λειτουργικότητας και τεκμηρίωση
1 parent 1b61c4a commit 074a2ad

6 files changed

+286
-32
lines changed

Cargo.toml

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,29 @@
11
[package]
22
name = "lindel"
33
version = "0.1.0"
4-
authors = ["froderick <[email protected]>"]
4+
authors = ["froderick <[email protected]>"]
55
edition = "2018"
6+
description = "A crate for Hilbert and Morton encoding and decoding; in a word, linearising and delinearising."
7+
license = "MIT OR Apache-2.0"
8+
readme = "README.md"
9+
keywords = ["Z-order", "fractal", "curve", "Morton", "Hilbert"]
10+
categories = ["algorithms"]
11+
homepage = "https://github.com/DoubleHyphen/lindel"
12+
documentation = "https://docs.rs/lindel/"
13+
repository = "https://github.com/DoubleHyphen/lindel"
614

715
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
816

917
[package.metadata.docs.rs]
1018
all-features = true
1119

1220
[dependencies]
13-
num = {version = "*"}
14-
num-traits = {version = "*"}
15-
nalgebra = {version = "*", optional = true}
21+
num = {version = "0.2"}
22+
num-traits = {version = "0.2"}
23+
nalgebra = {version = "0.25", optional = true}
1624

1725
[dev-dependencies]
18-
rand = "*"
26+
rand = "0.8"
1927

2028
[dependencies.morton-encoding]
2129
version = "^2"

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ This crate is an extension of the `morton-encoding` crate.
99
If it is not necessary to use `lindel` with `nalgebra`, it is sufficient to insert the line
1010

1111
```toml
12-
lindel = "1.0"
12+
lindel = "0.1"
1313
```
1414

1515
under the `[dependencies]` section. Otherwise, the following section must be inserted to the project's `Cargo.toml` file:
1616

1717
```toml
1818
[dependencies.lindel]
19-
version = "1.0"
19+
version = "0.1"
2020
features = ["nalgebra"]
2121
```
2222

src/compact_encoding.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! Implementation of [Compact Hilbert Indices](https://dl.acm.org/doi/10.1109/CISIS.2007.16) by
2-
//! Chris Hamilton, and of Compact Z-indices by the crate maintainer.
2+
//! Chris Hamilton, and (in the near future) of Compact Z-indices by the crate maintainer.
33
44
/// Right rotation of x by b bits out of n.
55
fn rotate_right(x: usize, b: u32, n: u32) -> usize {

0 commit comments

Comments
 (0)