svugy-parse 0.2.1

Parse diagrams written in Markdown, d2 or JSON into the svugy model, and print them back
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"
name = "svugy-parse"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parse diagrams written in Markdown, d2 or JSON into the svugy model, and print them back"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/fedemagnani/svugy"

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

[[test]]
name = "d2"
path = "tests/d2.rs"

[[test]]
name = "d2_golden"
path = "tests/d2_golden.rs"

[[test]]
name = "d2_lower"
path = "tests/d2_lower.rs"

[[test]]
name = "json"
path = "tests/json.rs"

[[test]]
name = "markdown"
path = "tests/markdown.rs"

[[test]]
name = "markdown_print"
path = "tests/markdown_print.rs"

[[test]]
name = "smoke"
path = "tests/smoke.rs"

[dependencies.chumsky]
version = "0.12"

[dependencies.comrak]
version = "0.59"
default-features = false

[dependencies.logos]
version = "0.16"

[dependencies.miette]
version = "7"

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

[dependencies.serde-saphyr]
version = "2.1"
features = ["deserialize"]
default-features = false

[dependencies.serde_json]
version = "1"

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.svugy-model]
version = "0.2.1"

[dependencies.thiserror]
version = "2"

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

[lints.clippy]
or_fun_call = "deny"
self_named_module_files = "deny"
unnecessary_lazy_evaluations = "allow"