65 lines
1.6 KiB
TOML
65 lines
1.6 KiB
TOML
[package]
|
|
name = "sea-orm-codegen"
|
|
version = "0.1.0"
|
|
authors = ["Billy Chan <ccw.billy.123@gmail.com>"]
|
|
edition = "2018"
|
|
description = ""
|
|
license = "MIT OR Apache-2.0"
|
|
documentation = "https://docs.rs/sea-orm"
|
|
repository = "https://github.com/SeaQL/sea-orm"
|
|
categories = ["database"]
|
|
keywords = ["orm", "database", "sql", "mysql", "postgres", "sqlite"]
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "sea_orm_codegen"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
sea-schema = { version = "^0.2", default-features = false, features = [
|
|
"sqlx-mysql",
|
|
"discovery",
|
|
"writer",
|
|
] }
|
|
sea-query = { version = "~0.12.8" }
|
|
sqlx = { version = "^0.5", default-features = false, features = ["mysql"] }
|
|
syn = { version = "^1", default-features = false, features = [
|
|
"derive",
|
|
"parsing",
|
|
"proc-macro",
|
|
"printing",
|
|
] }
|
|
quote = "^1"
|
|
heck = "^0.3"
|
|
proc-macro2 = "^1"
|
|
|
|
[dev-dependencies]
|
|
async-std = { version = "^1.9", features = ["attributes"] }
|
|
sea-orm = { path = "../" }
|
|
|
|
[features]
|
|
runtime-actix-native-tls = [
|
|
"sqlx/runtime-actix-native-tls",
|
|
"sea-schema/runtime-actix-native-tls",
|
|
]
|
|
runtime-async-std-native-tls = [
|
|
"sqlx/runtime-async-std-native-tls",
|
|
"sea-schema/runtime-async-std-native-tls",
|
|
]
|
|
runtime-tokio-native-tls = [
|
|
"sqlx/runtime-tokio-native-tls",
|
|
"sea-schema/runtime-tokio-native-tls",
|
|
]
|
|
runtime-actix-rustls = [
|
|
"sqlx/runtime-actix-rustls",
|
|
"sea-schema/runtime-actix-rustls",
|
|
]
|
|
runtime-async-std-rustls = [
|
|
"sqlx/runtime-async-std-rustls",
|
|
"sea-schema/runtime-async-std-rustls",
|
|
]
|
|
runtime-tokio-rustls = [
|
|
"sqlx/runtime-tokio-rustls",
|
|
"sea-schema/runtime-tokio-rustls",
|
|
]
|