[package] name = "polywrap_schemafy" version = "0.1.1" # VERSION_TAG authors = ["Markus Westerlind ", "Nestor Amesty "] edition = "2018" description = "Generates serializable Rust types from a json schema" license = "MIT" keywords = ["json-schema", "code-generation"] repository = "https://github.com/Marwes/schemafy" documentation = "https://docs.rs/schemafy" [lib] proc-macro = true [[bin]] name = "generate-tests" path = "src/generate_tests.rs" required-features = ["generate-tests"] [[bin]] name = "schemafy" path = "src/main.rs" required-features = ["tool"] [workspace] [dependencies] anyhow = { version = "1", optional = true } schemafy_core = { version = "0.6.0", path = "schemafy_core" } # VERSION_TAG polywrap_schemafy_lib = { version = "0.1.0", path = "schemafy_lib" } # VERSION_TAG serde = "1.0" serde_json = "1.0" serde_derive = "1.0" serde_repr = "0.1.7" structopt = { version = "0.3", optional = true } syn = "1.0" tempfile = { version = "3", optional = true } Inflector = "0.11" [build-dependencies] schemafy_core = { version = "0.6.0", path = "schemafy_core" } # VERSION_TAG polywrap_schemafy_lib = { version = "0.1.0", path = "schemafy_lib" } # VERSION_TAG [features] internal-regenerate = [] generate-tests = [] tool = ["anyhow", "structopt", "tempfile"]