[package]
name = "rescript-openapi"
version = "0.1.0"
edition = "2021"
authors = ["Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>"]
description = "Generate type-safe ReScript clients from OpenAPI specifications"
readme = "README.adoc"
license-file = "LICENSE"
repository = "https://github.com/hyperpolymath/rescript-openapi"
keywords = ["rescript", "openapi", "codegen", "api", "client"]
categories = ["development-tools", "web-programming"]
[dependencies]
clap = { version = "4", features = ["derive"] }
openapiv3 = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
genco = "0.17"
heck = "0.5"
thiserror = "2"
anyhow = "1"
walkdir = "2"
notify = { version = "6", default-features = false, features = ["macos_kqueue"] }
toml = "0.8"
[dev-dependencies]
insta = { version = "1", features = ["redactions"] }
tempfile = "3"
pretty_assertions = "1"
[[bin]]
name = "rescript-openapi"
path = "src/main.rs"
[profile.release]
lto = true
strip = true