-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
41 lines (36 loc) · 1.21 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[workspace]
resolver = "2"
members = [
"./lib",
"./benchmark", # A webpage with a stress test of the library.
"./profile_target", # A binary that output a compelex SVG images, which can be profiled.
]
default-members = ['./lib']
[workspace.package]
authors = ["martin <[email protected]>"]
categories = ["graphics", "Mathematics"]
edition = "2021"
keywords = ["delauany", "diagram", "graphics", "voronoi"]
license = "MIT"
readme = "../README.md"
repository = "https://github.com/martinfrances107/rust_d3_geo_voronoi.git"
version = "0.10.4"
[workspace.dependencies]
d3_geo_rs = "~2"
d3_delaunay_rs = "~0.9"
geo = "~0.28"
geo-types = "~0.7"
[profile.release]
# This makes the compiled code faster and smaller, but it makes compiling slower,
# so it's only enabled in release mode.
lto = true
codegen-units = 1
# patch over the latest release with a version that adds
# cyclic_match for test builds.
#
# Only "./lib" needs this extra functionality.
[patch.crates-io]
geo = { git = "https://github.com/martinfrances107/geo.git", branch = "cyclic_match", package = "geo" }
geo-types = { git = "https://github.com/martinfrances107/geo.git", branch = "cyclic_match", package = "geo-types" }
[profile.bench]
debug = true