# 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 = "diagramer" version = "0.1.0" authors = ["Alexander Böhm "] description = "A sequence diagram generator service" homepage = "https://github.com/aboehm/diagramer-rs" readme = "README.md" keywords = [ "diagram", "webservice", ] categories = [ "graphics", "visualization", ] license = "MIT" repository = "https://github.com/aboehm/diagramer-rs.git" [[bin]] name = "diagramer" test = false required-features = ["server"] [[example]] name = "server-stress-test" required-features = [ "client", "mermaid", "server", ] [[example]] name = "client-simple" required-features = [ "client", "mermaid", ] [[example]] name = "stress-test" required-features = ["mermaid"] [dependencies.chrono] version = "0.4.23" features = ["serde"] [dependencies.reqwest] version = "0.11.14" features = ["json"] [dependencies.ring] version = "0.16.20" [dependencies.rocket] version = "0.5.0-rc.2" features = [ "http2", "json", "serde_json", "uuid", ] [dependencies.rocket-include-tera] version = "0.5.4" [dependencies.serde] version = "1" features = [ "derive", "rc", ] [dependencies.svg] version = "0.13.0" [dependencies.tokio] version = "1.25.0" features = ["macros"] [features] api = [] client = ["api"] default = [ "api", "frontend", "mermaid", "svg", ] frontend = ["server"] mermaid = ["render"] render = [] server = ["api"] svg = ["render"]