[dependencies.hashbrown]
features = ["serde"]
version = "0.16.1"
[dependencies.serde]
default-features = false
features = ["derive", "alloc"]
version = "1"
[dependencies.serde_json]
default-features = false
features = ["alloc"]
version = "1"
[dev-dependencies.pretty_assertions]
version = "1"
[features]
default = ["std"]
std = ["serde/std", "serde_json/std"]
[lib]
doctest = false
name = "xai_openapi"
path = "src/lib.rs"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "web-programming", "no-std"]
description = "Rust types for the xAI API (Grok models)"
edition = "2021"
keywords = ["xai", "grok", "api", "openapi"]
license = "MIT OR Apache-2.0"
name = "xai-openapi"
readme = "README.md"
repository = "https://github.com/whb07/xai_openapi"
version = "0.1.1"
[[test]]
name = "chat_tests"
path = "tests/chat_tests.rs"
[[test]]
name = "common_tests"
path = "tests/common_tests.rs"
[[test]]
name = "embeddings_tests"
path = "tests/embeddings_tests.rs"
[[test]]
name = "images_tests"
path = "tests/images_tests.rs"
[[test]]
name = "messages_tests"
path = "tests/messages_tests.rs"
[[test]]
name = "models_tests"
path = "tests/models_tests.rs"
[[test]]
name = "responses_tests"
path = "tests/responses_tests.rs"
[[test]]
name = "schema_validation"
path = "tests/schema_validation.rs"
[[test]]
name = "search_tests"
path = "tests/search_tests.rs"
[[test]]
name = "tokenize_tests"
path = "tests/tokenize_tests.rs"
[[test]]
name = "tools_tests"
path = "tests/tools_tests.rs"
[[test]]
name = "usage_tests"
path = "tests/usage_tests.rs"