# 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 = "ssd" version = "0.20.1" description = "A service and data description format + a code generator based on rhai scripts and templates" homepage = "https://github.com/ssd-codegen/ssd" readme = "README.md" license-file = "LICENSE" repository = "https://github.com/ssd-codegen/ssd" [lib] crate-type = [ "cdylib", "rlib", ] [[bin]] name = "ssd" path = "src/main.rs" [dependencies.anyhow] version = "1.0.70" [dependencies.clap] version = "4.1.13" features = [ "derive", "wrap_help", ] optional = true [dependencies.clap_complete] version = "4.1.5" optional = true [dependencies.extism] version = "^1.0.0-rc3" optional = true [dependencies.glob] version = "0.3.1" [dependencies.handlebars] version = "4.3.6" optional = true [dependencies.lazy_static] version = "1.4.0" [dependencies.once_cell] version = "1.19.0" [dependencies.pest] version = "2.5.6" [dependencies.pest_derive] version = "2.5.6" [dependencies.pyo3] version = "0.20.0" features = ["extension-module"] optional = true [dependencies.regex] version = "1.7.3" [dependencies.rhai] version = "1.13.0" features = [ "serde", "metadata", "internals", ] optional = true [dependencies.ron] version = "0.8.1" optional = true [dependencies.rsn] version = "0.1.0" [dependencies.serde] version = "1.0.158" features = ["derive"] [dependencies.serde-value] version = "0.7.0" [dependencies.serde_json] version = "1.0.94" features = ["preserve_order"] [dependencies.serde_yaml] version = "0.9.27" [dependencies.shellexpand] version = "3.1.0" [dependencies.ssd-data] version = "0.20.1" features = ["_access_functions"] [dependencies.tera] version = "1.18.1" optional = true [dependencies.termcolor] version = "1.2.0" [dependencies.toml] version = "0.8.8" features = ["preserve_order"] [dev-dependencies.insta] version = "1.29.0" features = ["json"] [features] _bin = [ "dep:clap", "dep:clap_complete", ] _python = [ "dep:pyo3", "ssd-data/_python", ] _web = [ "rhai", "rhai/wasm-bindgen", ] all = [ "rhai", "tera", "handlebars", "wasm", "ron", ] default = [ "rhai", "handlebars", "_bin", ] handlebars = ["dep:handlebars"] rhai = ["dep:rhai"] ron = ["dep:ron"] tera = ["dep:tera"] wasm = ["dep:extism"]