Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
reinterpretcat committed May 20, 2024
1 parent 5b31a24 commit ccfce8c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ vrp-pragmatic = { path = "vrp-pragmatic", version = "1.23.0" }
vrp-cli = { path = "vrp-cli", version = "1.23.0" }

# external dependencies
hashbrown = "0.14.3"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.114"
hashbrown = "0.14.5"
serde = { version = "1.0.202", features = ["derive"] }
serde_json = "1.0.117"
rand = { version = "0.8.5", features = ["small_rng"] }
rayon = "1.10.0"
rustc-hash = "1.1.0"
Expand Down
2 changes: 1 addition & 1 deletion experiments/heuristic-research/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ serde_json.workspace = true

plotters = "0.3.5"
plotters-canvas = "0.3.0"
itertools = "0.11.0"
itertools = "0.13.0"
wasm-bindgen = "0.2.92"
web-sys = { version = "0.3.69", features = ["HtmlCanvasElement", "console"] }
lazy_static = "1.4.0"
4 changes: 2 additions & 2 deletions rosomaxa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ rand_distr = "0.4.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
num_cpus = "1.16.0"
tokio = { version= "1.36.0", features=["sync", "rt"], optional = true }
tokio = { version= "1.37.0", features=["sync", "rt"], optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2.12", features = ["js"] }
getrandom = { version = "0.2.15", features = ["js"] }
js-sys = "0.3.69"
4 changes: 2 additions & 2 deletions vrp-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ serde_json.workspace = true
csv = { version = "1.3.0", optional = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
clap = "4.5.3"
clap = "4.5.4"
ctrlc = { version = "3.4.4", features = ["termination"] }
num_cpus = "1.16.0"

# see https://github.com/xd009642/tarpaulin/issues/1092
[target.'cfg(all(not(target_arch = "wasm32"), not(tarpaulin)))'.dependencies]
pyo3 = { version= "0.21.0", features=["extension-module"], optional = true }
pyo3 = { version= "0.21.2", features=["extension-module"], optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { version = "0.2.92" }
Expand Down
2 changes: 1 addition & 1 deletion vrp-core/src/models/problem/jobs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ fn get_cost_between_locations(
// NOTE this happens if matrix uses negative values as a marker of unreachable location
UNREACHABLE_COST
} else {
(distance * costs.per_distance + duration * costs.per_driving_time) as f32
(distance * costs.per_distance + duration * costs.per_driving_time) as LowPrecisionCost
}
}

Expand Down
2 changes: 1 addition & 1 deletion vrp-pragmatic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ serde.workspace = true
serde_json.workspace = true
rand.workspace = true

time = { version = "0.3.34", features = ["parsing", "formatting"] }
time = { version = "0.3.36", features = ["parsing", "formatting"] }

[dev-dependencies]
proptest = "1.4.0"
Expand Down

0 comments on commit ccfce8c

Please sign in to comment.