Use generator state for extra type support rather than cargo features

This commit is contained in:
ZacJW 2025-01-27 22:08:43 +00:00
parent e1958abe53
commit 177490cf4d
4 changed files with 42 additions and 353 deletions

View file

@ -9,8 +9,6 @@ description = "SQL analysis and Rust type generation for Rasql"
[features]
tokio-postgres = ["rasql-traits/tokio-postgres", "dep:tokio-postgres"]
uuid = ["dep:uuid"]
rust_decimal = ["dep:rust_decimal"]
[dependencies]
sqlparser = "0.54.0"
@ -21,5 +19,3 @@ syn = { version = "2.0.96", features = ["full"] }
tokio-postgres = { version = "0.7.12", optional = true }
convert_case = "0.7.1"
thiserror = "2.0.11"
uuid = { version = "1.12.1", optional = true }
rust_decimal = { version = "1.36.0", optional = true }