Commit Graph
38 Commits
Author SHA1 Message Date
swaits 23713e9e89 chore: update dependencies, update CI 2023-10-23 18:46:33 -06:00
swaits 88da4a2452 chore: update dependencies 2023-10-20 22:57:35 -06:00
swaits 8cfda8a912 chore: update MSRV (because serde), increase version 2023-09-29 11:17:57 -06:00
swaits 3a6a62a4ab chore: update dependencies, bump crate to 0.6.9 2023-09-22 16:06:13 -06:00
swaits 55fb764bb9 chore: bump crate version to 0.6.8 2023-05-15 11:12:34 -06:00
swaits effd941188 chore: bump deps to latest versions 2023-05-15 11:11:26 -06:00
swaits 80484ba9f0 chore: update deps, bump crate version 2023-04-20 14:21:24 -06:00
swaits 47f64bff8c chore: switch to sparse cargo registry; upgrade deps; bump crate version 2023-03-30 09:51:02 -06:00
swaits 18f07412a8 chore: update deps, bump crate to 0.6.5 2023-03-21 21:12:04 -06:00
swaits fcbc2cbc08 chore: bump crate to 0.6.4Signed-off-by: Stephen Waits <steve@waits.net> 2023-02-26 10:05:59 -07:00
swaits 0dedd8c6ba chore: upgrade dependencies
Signed-off-by: Stephen Waits <steve@waits.net>
2023-02-26 10:05:33 -07:00
swaits 988436bf19 chore: add MSRV (1.60)
Signed-off-by: Stephen Waits <steve@waits.net>
2023-02-26 09:54:23 -07:00
swaits cabee3c631 chore: bump crate to 0.6.3Signed-off-by: Stephen Waits <steve@waits.net> 2023-02-13 13:11:33 -07:00
swaits ba4107cd56 style: more Cargo.toml formatting 2023-02-13 11:13:33 -07:00
swaits e257e19dc2 style: format Cargo.toml 2023-02-13 11:10:44 -07:00
swaits f099f035b8 chore: bump crate to 0.6.2Signed-off-by: Stephen Waits <steve@waits.net> 2023-02-13 10:58:18 -07:00
swaits 79e5ed0d51 build: add husky for pre-commit hook generationSigned-off-by: Stephen Waits <steve@waits.net> 2023-02-13 10:48:19 -07:00
swaits 2809dbc280 refactor: clean up by using cfg-if where possible
Signed-off-by: Stephen Waits <steve@waits.net>
2023-02-13 10:41:49 -07:00
swaits 66be2bf6c6 chore: bump crate to 0.6.1 2023-02-10 23:02:46 -05:00
swaits f5dc99f7d3 refactor: switch to array-init
- Use array-init for the lowest level vector operations. Makes them nicer and less bug-prone, with zero performance impact.
- Remove unnecessary/unused ::new() functions on Vector and HeightVector.
- Update README with new dependency.
- Fix typo in README.

Signed-off-by: Stephen Waits <steve@waits.net>
2023-02-10 22:51:38 -05:00
swaits e20d9a284a chore: bump crate to 0.6.0 2023-02-10 12:38:11 -07:00
swaits 28097611a7 test: get to 100% coverage, clean up cargo features
- eliminated `f64` feature because Cargo doesn’t understand mutually exclusive features. So, we default to `f64`, and leave the `f32` feature there if people want to change to that.
- integrated tarpaulin for coverage
- added tests to get to 100% coverage
- fixed NetworkCoordinate Div impl safety checks (now acts like Add and Sub)
- update README to explain cargo feature change
- cleanup build script with the new simpler features model

Signed-off-by: Stephen Waits <steve@waits.net>
2023-02-10 12:14:24 -07:00
swaits 95ce16ef0a chore: bump crate to 0.5.4Signed-off-by: Stephen Waits <steve@waits.net> 2023-02-09 16:39:02 -07:00
swaits 737f533f7e perf: add benchmark, optimize
Realized about a 10x speedup.

- add benches/million-updates.rs
- optimization: use rand instead of nanorand (because of thread_rng() initialization being muchf aster)
- update README

Signed-off-by: Stephen Waits <steve@waits.net>
2023-02-09 16:36:24 -07:00
swaits 84a818b9b9 chore: bump crate to 0.5.3Signed-off-by: Stephen Waits <steve@waits.net> 2023-02-09 11:18:04 -07:00
swaits 9d0a318248 feat: f32/f64 cargo features added
Signed-off-by: Stephen Waits <steve@waits.net>
2023-02-08 17:01:19 -07:00
swaits 1bfdce1c21 docs: minor updates re: type aliases, crate to 0.5.1Signed-off-by: Stephen Waits <steve@waits.net> 2023-02-08 15:59:15 -07:00
swaits f0dedff879 docs: udpate crate description 2023-02-08 15:48:46 -07:00
swaits cb60d0a1c0 chore: bump crate to 0.5.0Signed-off-by: Stephen Waits <steve@waits.net> 2023-02-08 15:40:47 -07:00
swaits 3cb28947f6 fix: exclude examples from crate
crates.io is limited to 10MB crates

Signed-off-by: Stephen Waits <steve@waits.net>
2023-02-07 22:09:28 -07:00
swaits 880d604d87 chore: bump crate versionSigned-off-by: Stephen Waits <steve@waits.net> 2023-02-07 21:44:47 -07:00
swaits 441f83cc6f test: add proptest, make vec mul/div scalar safer
Signed-off-by: Stephen Waits <steve@waits.net>
2023-02-07 16:29:01 -07:00
swaits 57dcb9dd7f docs: add link to ticket trackerSigned-off-by: Stephen Waits <steve@waits.net> 2023-02-04 10:48:28 -07:00
swaits 308f94d0d1 chore: bump crate versionSigned-off-by: Stephen Waits <steve@waits.net> 2023-02-04 10:40:57 -07:00
swaits ebfee50ee6 chore: update README, bump crate versionSigned-off-by: Stephen Waits <steve@waits.net> 2023-02-04 09:48:01 -07:00
swaits b3147dfad7 feat: add serde
Adds serialization/deserialization support via serde and serde_with.

Also:

- remove `license-file` in Cargo.toml (superfluous)
- update README with Getting Started section
- add `serde` and `serde_with` dependencies to README
- add tests to `HeightVector`
- tweak assertion in `NetworkCoordinate`
- refactor `Vector` to be a struct witn an `inner` instead of a tuple struct so that we can use `serde_as` (from `serde_with`) to help us derive SerDe implementations for the const generic sized array
- moved trait requirements (which are getting long) into where clauses

Signed-off-by: Stephen Waits <steve@waits.net>
2023-02-04 09:42:46 -07:00
swaits dd063825f9 chore: prep Cargo.toml for publication, add badgesSigned-off-by: Stephen Waits <steve@waits.net> 2023-02-02 22:33:15 -07:00
swaits f29deb5335 initial commit
Includes an initial implementation, some tests, and some documentation.

Signed-off-by: Stephen Waits <steve@waits.net>
2023-02-02 21:19:09 -07:00