[package]
edition = "2024"
name = "vercel-rpc-cli"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI tool for Vercel RPC: parses Rust lambdas and generates TypeScript types and client"
homepage = "https://github.com/misha-mad/vercel-rpc"
readme = "README.md"
keywords = [
"rpc",
"vercel",
"cli",
"serverless",
"typescript",
]
categories = [
"web-programming",
"command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/misha-mad/vercel-rpc"
[lib]
name = "vercel_rpc_cli"
path = "src/lib.rs"
[[bin]]
name = "rpc"
path = "src/main.rs"
[[test]]
name = "client"
path = "tests/client.rs"
[[test]]
name = "commands"
path = "tests/commands.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "extract"
path = "tests/extract.rs"
[[test]]
name = "types"
path = "tests/types.rs"
[[test]]
name = "typescript"
path = "tests/typescript.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.colored]
version = "2"
[dependencies.ctrlc]
version = "3"
[dependencies.globset]
version = "0.4"
[dependencies.notify]
version = "7"
[dependencies.notify-debouncer-mini]
version = "0.5"
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.syn]
version = "2"
features = ["full"]
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.8"
[dependencies.walkdir]
version = "2"
[dev-dependencies.insta]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
manual_let_else = "warn"
redundant_clone = "warn"
semicolon_if_nothing_returned = "warn"
uninlined_format_args = "warn"
[lints.clippy.needless_pass_by_value]
level = "warn"
priority = 1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin_include)"]