# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.65"
name = "sea-orm-macros"
version = "1.1.17"
authors = ["Billy Chan <ccw.billy.123@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derive macros for SeaORM"
homepage = "https://www.sea-ql.org/SeaORM"
documentation = "https://docs.rs/sea-orm"
readme = false
keywords = [
    "async",
    "orm",
    "mysql",
    "postgres",
    "sqlite",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SeaQL/sea-orm"

[features]
default = ["derive"]
derive = ["bae"]
postgres-array = []
seaography = ["proc-macro-crate"]
strum = []

[lib]
name = "sea_orm_macros"
path = "src/lib.rs"
proc-macro = true

[[test]]
name = "derive_active_enum_test"
path = "tests/derive_active_enum_test.rs"

[[test]]
name = "derive_entity_model_column_name_test"
path = "tests/derive_entity_model_column_name_test.rs"

[[test]]
name = "derive_value_type_test"
path = "tests/derive_value_type_test.rs"

[dependencies.bae]
version = "0.2"
optional = true
default-features = false
package = "sea-bae"

[dependencies.heck]
version = "0.5"
default-features = false

[dependencies.proc-macro-crate]
version = "3.2.0"
optional = true

[dependencies.proc-macro2]
version = "1"
default-features = false

[dependencies.quote]
version = "1"
default-features = false

[dependencies.syn]
version = "2"
features = [
    "parsing",
    "proc-macro",
    "derive",
    "printing",
]
default-features = false

[dependencies.unicode-ident]
version = "1"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
