* Added escaping to ActiveEnum to allow for non-Unicode Standard Annex #31 characters, as well as addressing issues with ' ' and '_' causing potential identifier conflicts. * Improved docstring for camel_case_with_escaped_non_xid. * Moved underscore prepending to camel_case_with_escaped_non_xid. * cargo fmt and code fixes to resolve CI failures. * Added unittest to sea_orm_macros::util for new function. * Fixed a typo in a doc code block. * clippy * Test cases --------- Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
37 lines
1.1 KiB
TOML
37 lines
1.1 KiB
TOML
[package]
|
|
name = "sea-orm-macros"
|
|
version = "0.12.0"
|
|
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.1", default-features = false, optional = true }
|
|
syn = { version = "1", 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 }
|
|
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 = []
|