From 25aa85a5faa3b1ecce9ee4016cdc8b9ce99a9d30 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Thu, 7 Mar 2024 17:09:55 -0700 Subject: [PATCH] chore: update dependencies --- Cargo.toml | 16 ++++++++-------- src/height_vector.rs | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1a6ee95..690a470 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,10 +9,10 @@ keywords = ["vivaldi", "network", "coordinates", "distributed", "p2p"] categories = ["algorithms", "network-programming"] documentation = "https://docs.rs/vivaldi-nc/" readme = "README.md" -homepage = "https://sr.ht/~swaits/vivaldi-nc/" -repository = "https://git.sr.ht/~swaits/vivaldi-nc" +homepage = "https://github.com/swaits/vivaldi-nc" +repository = "https://github.com/swaits/vivaldi-nc.git" exclude = ["examples/*"] -rust-version = "1.64" +rust-version = "1.65" [features] default = [] @@ -39,13 +39,13 @@ cargo-husky = { version = "1.5.0", features = [ "run-cargo-clippy", "run-cargo-fmt", ] } -proptest = "1.3.1" -serde_json = "1.0.108" +proptest = "1.4.0" +serde_json = "1.0.114" [dependencies] array-init = "2.1.0" cfg-if = "1.0.0" -num-traits = "0.2.17" +num-traits = "0.2.18" rand = "0.8.5" -serde = { version = "1.0.190", features = ["serde_derive"] } -serde_with = "3.4.0" +serde = { version = "1.0.197", features = ["serde_derive"] } +serde_with = "3.6.1" diff --git a/src/height_vector.rs b/src/height_vector.rs index 796362d..99e5cc1 100644 --- a/src/height_vector.rs +++ b/src/height_vector.rs @@ -47,7 +47,7 @@ use core::ops::{Add, Mul, Sub}; use rand::prelude::*; use serde::{Deserialize, Serialize}; -use crate::vector::{self, Vector}; +use crate::vector::Vector; // // **** Features **** @@ -160,7 +160,7 @@ impl Default for HeightVector { /// Default value for a Vivaldi height vector is just the defaults of its children types. fn default() -> Self { Self { - position: vector::Vector::default(), + position: Vector::default(), height: Default::default(), } }