chat-gpt-lib-rs and gpt-macro

These are **complements**: the proc macro tool would likely depend on or build atop a ChatGPT library like the first one to make compile-time code generation requests to OpenAI's API.

chat-gpt-lib-rs
57
Established
gpt-macro
47
Emerging
Maintenance 10/25
Adoption 14/25
Maturity 16/25
Community 17/25
Maintenance 13/25
Adoption 10/25
Maturity 16/25
Community 8/25
Stars: 43
Forks: 11
Downloads: 302
Commits (30d): 0
Language: Rust
License: Apache-2.0
Stars: 668
Forks: 9
Downloads:
Commits (30d): 2
Language: Rust
License: MIT
No Package No Dependents
No Package No Dependents

About chat-gpt-lib-rs

Arend-Jan/chat-gpt-lib-rs

A Rust library for interacting with OpenAI's ChatGPT API, providing an easy-to-use interface and strongly typed structures.

About gpt-macro

retrage/gpt-macro

ChatGPT powered Rust proc macro that generates code at compile-time.

Provides `auto_impl!{}` macro that accepts natural language prompts alongside incomplete function signatures, querying the OpenAI API to generate implementations at compile-time, and `#[auto_test]` attribute macro for auto-generating test cases. The macro parses prompts and stub code, sends them to ChatGPT, extracts Rust code from responses, and substitutes the implementation before compilation proceeds normally.

Scores updated daily from GitHub, PyPI, and npm data. How scores work