modelstruct_derive 0.1.0

A Rust crate that provides a derive macro Model to automatically generate SQL CREATE TABLE IF NOT EXISTS statements from struct definitions.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[package]
name = "modelstruct_derive"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "A Rust crate that provides a derive macro Model to automatically generate SQL CREATE TABLE IF NOT EXISTS statements from struct definitions."
homepage = "https://github.com/famz/modelstruct"
repository = "https://github.com/famz/modelstruct"
readme = "../README.md"

[lib]
proc-macro = true

[dependencies]
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "2.0", features = ["full"] }