# 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.95"
name = "jellyflow-runtime"
version = "0.3.0"
authors = ["Mingzhen Zhuang <superfrankie621@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Headless store, rules, schema, profile, and change pipeline for Jellyflow."
homepage = "https://github.com/Latias94/jellyflow"
documentation = "https://docs.rs/jellyflow-runtime"
readme = "README.md"
keywords = [
    "graph",
    "node-graph",
    "flow",
    "headless",
]
categories = [
    "data-structures",
    "gui",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Latias94/jellyflow"
resolver = "2"

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

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

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

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

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

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

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

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

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

[[bench]]
name = "layout_pipeline"
path = "benches/layout_pipeline.rs"
harness = false

[[bench]]
name = "rendering_query"
path = "benches/rendering_query.rs"
harness = false

[[bench]]
name = "schema_create_node"
path = "benches/schema_create_node.rs"
harness = false

[dependencies.jellyflow-core]
version = "0.3.0"

[dependencies.jellyflow-layout]
version = "0.3.0"

[dependencies.keyboard-types]
version = "0.8.3"
features = ["serde"]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "v5",
    "serde",
    "js",
]

[dev-dependencies.criterion]
version = "0.8.2"

[lints.clippy]
arc_with_non_send_sync = "allow"
default_constructed_unit_structs = "allow"
doc_lazy_continuation = "allow"
field_reassign_with_default = "allow"
map_entry = "allow"
new_without_default = "allow"
ok_expect = "allow"
question_mark = "allow"
redundant_closure = "allow"
reserve_after_initialization = "allow"
too_many_arguments = "allow"
type_complexity = "allow"

[lints.rust]
dead_code = "allow"
