forge-charts 0.3.1

Pure-Rust + SVG interactive charts for Leptos CSR. Project-agnostic public API; no JS, no canvas, no Tailwind.
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.92"
name = "forge-charts"
version = "0.3.1"
authors = ["Daniel Laloush <dandush03@users.noreply.github.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust + SVG interactive charts for Leptos CSR. Project-agnostic public API; no JS, no canvas, no Tailwind."
readme = "README.md"
keywords = [
    "leptos",
    "chart",
    "svg",
    "wasm",
    "visualization",
]
categories = [
    "visualization",
    "web-programming",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dandush03/forge"
resolver = "2"

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.leptos]
version = "0.8"
features = ["csr"]

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

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

[dependencies.web-sys]
version = "0.3"
features = [
    "DomRect",
    "Element",
    "MouseEvent",
]

[lints.clippy]
dbg_macro = "deny"
expect_used = "warn"
mod_module_files = "warn"
panic = "deny"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
unwrap_used = "deny"

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

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

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

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1