Crates.io | convex-typegen |
lib.rs | convex-typegen |
version | |
source | src |
created_at | 2023-12-03 20:23:26.033764 |
updated_at | 2024-11-14 15:15:25.084241 |
description | Type safe bindings for ConvexDB in Rust |
homepage | https://github.com/JamalLyons/convex-typegen |
repository | https://github.com/JamalLyons/convex-typegen |
max_upload_size | |
id | 1057065 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
A blazing fast Rust type generator for ConvexDB schemas and functions.
cargo add convex-typegen
cargo add --build convex-typegen
build.rs
file:use convex_typegen::generate;
fn main() {
generate().unwrap();
}
cargo build
to generate the types.You can watch a demo video here to learn more.
string
, number
, boolean
, null
, int64
, bytes
array
, object
, record
, union
, optional
any
, literal
, id
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first.
This project is licensed under the MIT License - see the LICENSE file for details.