# 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 = "egui_graphs" version = "0.22.0" authors = ["Dmitrii Samsonov "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Interactive graph visualization widget for rust powered by egui" homepage = "https://github.com/blitzarx1/egui_graphs" readme = "README.md" keywords = [ "egui", "ui", "graph", "node-graph", ] categories = [ "gui", "visualization", ] license = "MIT" repository = "https://github.com/blitzarx1/egui_graphs" [lib] name = "egui_graphs" path = "src/lib.rs" [dependencies.crossbeam] version = "0.8" optional = true [dependencies.egui] version = "0.29" default-features = false [dependencies.petgraph] version = "0.6" features = [ "stable_graph", "matrix_graph", ] default-features = false [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [features] egui_persistence = ["dep:serde"] events = [ "dep:serde", "dep:serde_json", "dep:crossbeam", ] serde = [ "dep:serde", "egui/serde", "petgraph/serde", "petgraph/serde-1", ] [lints.clippy.cast_possible_truncation] level = "allow" priority = 9 [lints.clippy.cast_precision_loss] level = "allow" priority = 7 [lints.clippy.cast_sign_loss] level = "allow" priority = 10 [lints.clippy.enum_glob_use] level = "deny" priority = 1 [lints.clippy.float_cmp] level = "allow" priority = 8 [lints.clippy.module_name_repetitions] level = "allow" priority = 6 [lints.clippy.must_use_candidate] level = "allow" priority = 12 [lints.clippy.out_of_bounds_indexing] level = "allow" priority = 11 [lints.clippy.pedantic] level = "deny" priority = 0 [lints.clippy.perf] level = "deny" priority = 2 [lints.clippy.return_self_not_must_use] level = "allow" priority = 14 [lints.clippy.struct_excessive_bools] level = "allow" priority = 13 [lints.clippy.style] level = "deny" priority = 3 [lints.rust] unsafe_code = "forbid"