🔥 Remove SeaORM database support
This commit is contained in:
parent
e157576581
commit
90d4d5cde0
18 changed files with 2 additions and 1334 deletions
28
Cargo.toml
28
Cargo.toml
|
|
@ -28,15 +28,7 @@ members = ["helpers/*"]
|
|||
[lib]
|
||||
name = "pagetop"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
database = ["futures", "sea-orm", "sea-schema"]
|
||||
mysql = ["database", "sea-orm/sqlx-mysql"]
|
||||
postgres = ["database", "sea-orm/sqlx-postgres"]
|
||||
sqlite = ["database", "sea-orm/sqlx-sqlite"]
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1.81"
|
||||
chrono = "0.4.38"
|
||||
concat-string = "1.0.1"
|
||||
figlet-rs = "0.1.5"
|
||||
|
|
@ -45,9 +37,7 @@ nom = "7.1.3"
|
|||
paste = "1.0.15"
|
||||
substring = "1.4.5"
|
||||
term_size = "0.3.2"
|
||||
time = "0.3.36"
|
||||
toml = "0.8.16"
|
||||
url = "2.5.2"
|
||||
|
||||
tracing = "0.1.40"
|
||||
tracing-appender = "0.2.3"
|
||||
|
|
@ -68,23 +58,5 @@ pagetop-macros = { version = "0.0", path = "helpers/pagetop-macros" }
|
|||
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
||||
[dependencies.futures]
|
||||
version = "0.3.30"
|
||||
optional = true
|
||||
|
||||
[dependencies.sea-orm]
|
||||
version = "0.12.15"
|
||||
features = ["debug-print", "macros", "runtime-async-std-native-tls"]
|
||||
default-features = false
|
||||
optional = true
|
||||
|
||||
[dependencies.sea-schema]
|
||||
version = "0.14.2"
|
||||
optional = true
|
||||
|
||||
[build-dependencies]
|
||||
pagetop-build = { version = "0.0", path = "helpers/pagetop-build" }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue