latkit 0.2.0

Columnar data drawn as vertices, edges, lines, and areas on the GPU.
Documentation
# 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 = "2024"
rust-version = "1.99"
name = "latkit"
version = "0.2.0"
build = "build.rs"
include = [
    "LICENSE",
    "src/**",
    "tests/fixtures/**",
    "build/**",
    "build.rs",
    "shaders/**",
    "colormaps/catalog.txt",
    "colormaps/NOTICES.md",
    "THIRD_PARTY.md",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Columnar data drawn as vertices, edges, lines, and areas on the GPU."
homepage = "https://latkit.readthedocs.io"
readme = "README.md"
keywords = [
    "visualization",
    "webgpu",
    "graph",
    "map",
    "plot",
]
categories = [
    "visualization",
    "rendering",
    "graphics",
    "wasm",
]
license = "MIT"
repository = "https://github.com/lukelowry/latkit"

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]

[features]
default = ["gpu"]
gpu = [
    "dep:wgpu",
    "dep:glam",
    "dep:web-time",
    "dep:wesl",
    "dep:naga",
]
native = [
    "gpu",
    "dep:cosmic-text",
    "dep:windows",
    "dep:windows-core",
]
web = [
    "gpu",
    "dep:wasm-bindgen",
    "dep:wasm-bindgen-futures",
    "dep:web-sys",
    "dep:js-sys",
]

[lib]
name = "latkit"
path = "src/lib.rs"

[dependencies.bytemuck]
version = "1"
features = ["derive"]

[dependencies.flate2]
version = "1"

[dependencies.glam]
version = "0.34"
optional = true

[dependencies.hashbrown]
version = "0.17"
features = [
    "default-hasher",
    "inline-more",
]
default-features = false

[dependencies.image-webp]
version = "0.2"

[dependencies.jpeg-encoder]
version = "0.7"

[dependencies.png]
version = "0.18"

[dependencies.rustc-hash]
version = "2"

[dependencies.schemars]
version = "1"
features = [
    "derive",
    "std",
    "preserve_order",
]
default-features = false

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1"

[dependencies.serde_path_to_error]
version = "0.1"

[dependencies.thiserror]
version = "2"

[dependencies.url]
version = "2"

[dependencies.web-time]
version = "1"
optional = true

[dependencies.wgpu]
version = "30"
features = [
    "std",
    "parking_lot",
    "dx12",
    "metal",
    "vulkan",
    "wgsl",
    "webgpu",
]
optional = true
default-features = false

[dev-dependencies.bytemuck]
version = "1"
features = ["derive"]

[dev-dependencies.pollster]
version = "0.4"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.wgpu]
version = "30"
features = [
    "std",
    "parking_lot",
    "dx12",
    "metal",
    "vulkan",
    "wgsl",
    "webgpu",
]
default-features = false

[build-dependencies.naga]
version = "30"
features = ["wgsl-in"]
optional = true

[build-dependencies.wesl]
version = "0.6"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.cosmic-text]
version = "0.19"
features = [
    "std",
    "swash",
    "fontconfig",
]
optional = true
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "AddEventListenerOptions",
    "CssStyleDeclaration",
    "DedicatedWorkerGlobalScope",
    "DomRect",
    "Element",
    "Event",
    "EventTarget",
    "HtmlCanvasElement",
    "Headers",
    "HtmlElement",
    "ImageData",
    "KeyboardEvent",
    "MediaQueryList",
    "MouseEvent",
    "OffscreenCanvas",
    "OffscreenCanvasRenderingContext2d",
    "PointerEvent",
    "Request",
    "RequestInit",
    "ResizeObserver",
    "Response",
    "TextMetrics",
    "WheelEvent",
    "Window",
    "WorkerGlobalScope",
]
optional = true

[target."cfg(windows)".dependencies.windows]
version = "0.62.2"
features = [
    "Win32_Media_MediaFoundation",
    "Win32_System_Com",
    "Win32_System_Ole",
    "Win32_System_Variant",
]
optional = true

[target."cfg(windows)".dependencies.windows-core]
version = "0.62.2"
optional = true

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
float_cmp = "allow"
many_single_char_names = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"