117 lines
2.4 KiB
TOML
117 lines
2.4 KiB
TOML
# 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 = "2024"
|
|
rust-version = "1.85.0"
|
|
name = "sea-orm-macros"
|
|
version = "2.0.0"
|
|
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]
|
|
async = []
|
|
default = ["derive"]
|
|
derive = ["bae"]
|
|
entity-registry = []
|
|
postgres-array = []
|
|
seaography = ["proc-macro-crate"]
|
|
sqlx-postgres = []
|
|
strum = []
|
|
with-arrow = []
|
|
with-json = []
|
|
|
|
[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_auto_increment_test"
|
|
path = "tests/derive_entity_model_auto_increment_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.itertools]
|
|
version = "0.14"
|
|
|
|
[dependencies.pluralizer]
|
|
version = "0.5"
|
|
|
|
[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",
|
|
"extra-traits",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.unicode-ident]
|
|
version = "1"
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|