mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-01 16:08:30 +00:00
59 lines
1.7 KiB
TOML
59 lines
1.7 KiB
TOML
[package]
|
|
publish = false
|
|
name = "component_traits"
|
|
edition = "2024"
|
|
version = "0.0.1"
|
|
authors = [
|
|
"Brandon Thomas <bt@brand.io>",
|
|
"Brandon Thomas <echelon@gmail.com>",
|
|
]
|
|
|
|
[lib]
|
|
name = "component_traits"
|
|
path = "src/lib.rs"
|
|
|
|
[package.metadata.cargo-udeps.ignore]
|
|
normal = ["workspace-build-acceleration"]
|
|
|
|
[dependencies]
|
|
# Workspace hack (faster compile times)
|
|
workspace-build-acceleration.workspace = true
|
|
|
|
# Internal
|
|
#url_config = { path = "../../../lib/url_config" }
|
|
artcraft_api_defs.workspace = true
|
|
enums.workspace = true
|
|
errors.workspace = true
|
|
http_server_common = { path = "../../../lib/deprecated/http_server_common" }
|
|
mysql_queries = { path = "../../../schema/database/mysql_queries" }
|
|
reusable_types = { path = "../../../schema/public/reusable_types" }
|
|
tokens.workspace = true
|
|
user_traits_component = { path = "../user_traits_component" }
|
|
|
|
# External
|
|
actix-http.workspace = true
|
|
actix-web.workspace = true
|
|
anyhow.workspace = true
|
|
chrono.workspace = true
|
|
log.workspace = true
|
|
once_cell.workspace = true
|
|
serde.workspace = true
|
|
serde_derive.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
# Async traits
|
|
# NB: note: `async` trait functions are not currently supported
|
|
# The initial round of stabilizations for the async/await language feature in Rust 1.39 did not
|
|
# include support for async fn in traits.
|
|
async-trait = "0.1.58"
|
|
|
|
sqlx = { version = "0.7.4", features = [ "mysql", "runtime-tokio-rustls", "chrono" ] }
|
|
#sqlx = { version = "0.7.4", features = [ "mysql", "runtime-tokio", "tls-rustls", "chrono" ] }
|
|
#utoipa = { version = "4", features = ["chrono","actix_extras"] }
|
|
|
|
[dev-dependencies]
|
|
mockall.workspace = true
|
|
|
|
# NB: Tokio version matches `async-stripe` transitive dep; features are for testing
|
|
tokio = { version = "1.38.0", features = ["rt", "macros"] }
|