[workspace]
members = [".", "agent"]
[package]
name = "mrapids"
version = "0.1.31"
edition = "2021"
authors = ["MicroRapid Team"]
description = "Your OpenAPI, but executable"
license = "MIT"
repository = "https://github.com/microrapids/api-runtime"
keywords = ["openapi", "api", "testing", "cli", "graphql"]
categories = ["command-line-utilities", "development-tools", "web-programming"]
[lib]
name = "mrapids"
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]
[dependencies]
clap = { version = "4.5", features = ["derive"] }
colored = "2.1"
reqwest = { version = "0.12", default-features = false, features = ["json", "blocking", "stream", "rustls-tls"] }
url = "2.5"
http = "0.2"
axum = { version = "0.6", features = ["macros"] }
tower = "0.4"
tower-http = { version = "0.4", features = ["cors"] }
tokio = { version = "1.36", features = ["full"] }
futures = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
regex = "1.10"
strsim = "0.11"
base64 = "0.22"
urlencoding = "2.1"
handlebars = "5.1"
rpassword = "7.3"
dotenv = "0.15"
indicatif = "0.17"
dirs = "5.0"
openapiv3 = "2.0"
anyhow = "1.0"
thiserror = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
aes-gcm = "0.10"
argon2 = "0.5"
rand = "0.8"
sha2 = "0.10"
hex = "0.4"
chrono = { version = "0.4", features = ["serde"] }
hostname = "0.4"
open = "5.0"
prettytable-rs = "0.10"
schemars = { version = "0.8", features = ["chrono"] }
serde_repr = "0.1"
uuid = { version = "1.7", features = ["v4", "serde", "js"] }
glob = "0.3"
toml = "0.8"
rusqlite = { version = "0.31", features = ["bundled"] }
ort = { version = "2.0.0-rc.10", optional = true }
tokenizers = { version = "0.15", optional = true }
ndarray = { version = "0.15", optional = true }
pyo3 = { version = "0.22", features = ["extension-module"], optional = true }
wasm-bindgen = { version = "0.2", optional = true }
wasm-bindgen-futures = { version = "0.4", optional = true }
web-sys = { version = "0.3", optional = true }
js-sys = { version = "0.3", optional = true }
getrandom = { version = "0.2", features = ["js"] }
hmac = "0.12.1"
[features]
default = []
python = ["pyo3"]
wasm = ["wasm-bindgen", "wasm-bindgen-futures", "web-sys", "js-sys"]
vendored-openssl = []
embeddings = ["ort", "tokenizers", "ndarray"]
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true
panic = "abort"
[profile.release-fast]
inherits = "release"
opt-level = 3
lto = "thin"
[dev-dependencies]
assert_cmd = "2.0"
predicates = "3.0"
tempfile = "3.10"