Add Multithreading

This commit is contained in:
Chaoscaot
2023-03-11 11:34:40 +01:00
parent 971e453d46
commit 734a0a67b1
5 changed files with 103 additions and 74 deletions

View File

@ -14,6 +14,7 @@ schemsearch-sql = { path = "../schemsearch-sql", optional = true }
clap = { version = "4.1.8", features = ["cargo"] }
futures = { version = "0.3", optional = true }
sqlx = { version = "0.6", features = [ "runtime-async-std-native-tls" , "mysql" ], optional = true }
rayon = "1.7.0"
[features]
sql = [ "dep:schemsearch-sql", "dep:futures", "dep:sqlx" ]
sql = ["dep:schemsearch-sql", "dep:futures", "dep:sqlx"]