sea-orm/sea-orm-macros/Cargo.toml
Billy Chan 4376a29918
DeriveRelatedEntity use async-graphql re-exported by seaography (#2469)
* DeriveRelatedEntity use `async-graphql` re-exported by `seaography`

* Optionally compile related_entity

* Update mod.rs

* private

---------

Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2025-01-10 23:15:18 +08:00

39 lines
1.2 KiB
TOML

[package]
name = "sea-orm-macros"
version = "1.1.3"
authors = [ "Billy Chan <ccw.billy.123@gmail.com>" ]
edition = "2021"
description = "Derive macros for SeaORM"
license = "MIT OR Apache-2.0"
homepage = "https://www.sea-ql.org/SeaORM"
documentation = "https://docs.rs/sea-orm"
repository = "https://github.com/SeaQL/sea-orm"
categories = [ "database" ]
keywords = ["async", "orm", "mysql", "postgres", "sqlite"]
rust-version = "1.65"
[lib]
name = "sea_orm_macros"
path = "src/lib.rs"
proc-macro = true
[dependencies]
bae = { version = "0.2", package = "sea-bae", default-features = false, optional = true }
syn = { version = "2", default-features = false, features = ["parsing", "proc-macro", "derive", "printing"] }
quote = { version = "1", default-features = false }
heck = { version = "0.4", default-features = false }
proc-macro2 = { version = "1", default-features = false }
proc-macro-crate = { version = "3.2.0", optional = true }
unicode-ident = { version = "1" }
[dev-dependencies]
sea-orm = { path = "../", features = ["macros", "tests-cfg"] }
serde = { version = "1.0", features = ["derive"] }
[features]
default = ["derive"]
postgres-array = []
derive = ["bae"]
strum = []
seaography = ["proc-macro-crate"]