# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "d3_geo_rs"
version = "2.0.6"
authors = ["martin <martinfrances107@hotmail.com>"]
description = "A port of D3/d3-geo"
readme = "README.md"
keywords = [
    "graphics",
    "d3-geo",
]
categories = ["graphics"]
license = "MIT"
repository = "https://github.com/martinfrances107/rust_d3_geo.git"

[[example]]
name = "globe_canvas"
crate-type = ["cdylib"]
path = "../examples/globe/canvas/src/lib.rs"

[[example]]
name = "globe_drag_and_zoom"
crate-type = ["cdylib"]
path = "../examples/globe/drag_and_zoom/src/lib.rs"

[[example]]
name = "rotating_50m"
crate-type = ["cdylib"]
path = "../examples/globe/rotating_50m/src/lib.rs"

[[example]]
name = "globe_svg"
crate-type = ["cdylib"]
path = "../examples/globe/svg/src/lib.rs"

[[example]]
name = "projection"
crate-type = ["cdylib"]
path = "../examples/projections/src/lib.rs"

[[example]]
name = "rings"
crate-type = ["cdylib"]
path = "../examples/ring/src/lib.rs"

[[bench]]
name = "graticule"
harness = false

[[bench]]
name = "rings"
harness = false

[dependencies.approx]
version = "~0.5"

[dependencies.geo]
version = "~0.26"

[dependencies.geo-types]
version = "~0.7"

[dependencies.num-traits]
version = "~0.2"

[dependencies.web-sys]
version = "~0.3"
features = [
    "Attr",
    "console",
    "CanvasRenderingContext2d",
    "Document",
    "Element",
    "Event",
    "Headers",
    "EventTarget",
    "HtmlCanvasElement",
    "HtmlElement",
    "HtmlInputElement",
    "Node",
    "Path2d",
    "Performance",
    "PerformanceTiming",
    "PerformanceMeasure",
    "Request",
    "RequestInit",
    "RequestMode",
    "Response",
    "SvgsvgElement",
    "SvgAnimatedLength",
    "SvgLength",
    "SvgPathElement",
    "Text",
    "Window",
]

[dev-dependencies.criterion]
version = "~0.5"
features = ["html_reports"]

[dev-dependencies.futures]
version = "~0.3"

[dev-dependencies.gloo-utils]
version = "~0.2"

[dev-dependencies.js-sys]
version = "~0.3"

[dev-dependencies.lazy_static]
version = "~1"

[dev-dependencies.pretty_assertions]
version = "~1"

[dev-dependencies.rand]
version = "~0.8"

[dev-dependencies.regex]
version = "~1"

[dev-dependencies.serde_json]
version = "~1"

[dev-dependencies.topojson]
version = "~0.5"

[dev-dependencies.wasm-bindgen]
version = "~0.2"

[dev-dependencies.wasm-bindgen-futures]
version = "~0.4"

[dev-dependencies.wasm-bindgen-test]
version = "~0.3"
