65 lines
1.6 KiB
TOML
65 lines
1.6 KiB
TOML
[workspace]
|
|
members = [
|
|
# shared
|
|
"crates/model",
|
|
"crates/channels",
|
|
"crates/config",
|
|
"crates/testx",
|
|
"crates/db-utils",
|
|
# actors
|
|
"crates/account_manager",
|
|
"crates/cart_manager",
|
|
# "crates/database_manager",
|
|
"crates/email_manager",
|
|
"crates/order_manager",
|
|
"crates/payment_manager",
|
|
"crates/search_manager",
|
|
"crates/stock_manager",
|
|
"crates/token_manager",
|
|
# "crates/fs_manager",
|
|
"crates/lang_provider",
|
|
"crates/fulfillment_adapter",
|
|
# "crates/payment_adapter_pay_u",
|
|
# artifacts
|
|
# "crates/db-seed",
|
|
# "crates/api",
|
|
# "crates/web",
|
|
# vendor
|
|
# "vendor/t_pay",
|
|
# "vendor/pay_u",
|
|
# PLUGINS
|
|
"crates/plugin-api",
|
|
# PAYMENT
|
|
"crates/payment-adapter",
|
|
"crates/payment-pay-u-plugin",
|
|
"crates/payment-stripe-plugin",
|
|
# EVENT BUS
|
|
"crates/event-bus-messages",
|
|
"crates/event-bus-adapter",
|
|
"crates/event-bus-redis-plugin",
|
|
# CACHE
|
|
"crates/cache-adapter",
|
|
"crates/cache-redis-plugin",
|
|
"crates/cache-embedded-memory-plugin",
|
|
# FILE STORAGE
|
|
"crates/file-storage-adapter",
|
|
"crates/file-storage-local-plugin",
|
|
"crates/file-storage-s3-plugin",
|
|
# database
|
|
"migration",
|
|
]
|
|
exclude = [
|
|
"crates/web"
|
|
]
|
|
|
|
[workspace.dependencies]
|
|
plugin-api = { path = "crates/plugin-api" }
|
|
payment-adapter = { path = "crates/payment-adapter" }
|
|
event-bus-adapter = { path = "crates/event-bus-adapter" }
|
|
cache-adapter = { path = "crates/cache-adapter" }
|
|
file-storage-adapter = { path = "crates/file-storage-adapter" }
|
|
|
|
[profile.release]
|
|
lto = true
|
|
opt-level = 's'
|