2022-04-14 08:07:59 +02:00
|
|
|
[workspace]
|
2022-05-06 11:47:18 +02:00
|
|
|
members = [
|
2022-05-20 16:08:49 +02:00
|
|
|
# shared
|
2022-11-04 18:40:14 +01:00
|
|
|
"crates/model",
|
|
|
|
"crates/channels",
|
|
|
|
"crates/config",
|
|
|
|
"crates/testx",
|
2022-11-09 16:59:12 +01:00
|
|
|
"crates/db-utils",
|
2022-05-20 16:08:49 +02:00
|
|
|
# actors
|
2022-11-04 18:40:14 +01:00
|
|
|
"crates/account_manager",
|
|
|
|
"crates/cart_manager",
|
2023-06-03 13:31:57 +02:00
|
|
|
# "crates/database_manager",
|
2022-11-04 18:40:14 +01:00
|
|
|
"crates/email_manager",
|
2022-11-29 15:18:31 +01:00
|
|
|
"crates/order_manager",
|
2022-12-01 17:39:06 +01:00
|
|
|
"crates/payment_manager",
|
2022-11-04 18:40:14 +01:00
|
|
|
"crates/search_manager",
|
2022-11-06 19:50:51 +01:00
|
|
|
"crates/stock_manager",
|
2022-11-04 18:40:14 +01:00
|
|
|
"crates/token_manager",
|
2023-06-03 13:31:57 +02:00
|
|
|
# "crates/fs_manager",
|
2022-11-04 18:40:14 +01:00
|
|
|
"crates/lang_provider",
|
2023-05-05 14:20:50 +02:00
|
|
|
"crates/fulfillment_adapter",
|
2023-06-03 13:31:57 +02:00
|
|
|
# "crates/payment_adapter_pay_u",
|
2022-05-20 16:08:49 +02:00
|
|
|
# artifacts
|
2023-06-03 13:31:57 +02:00
|
|
|
# "crates/db-seed",
|
|
|
|
# "crates/api",
|
|
|
|
# "crates/web",
|
2022-06-08 15:22:43 +02:00
|
|
|
# vendor
|
2023-06-03 13:31:57 +02:00
|
|
|
# "vendor/t_pay",
|
|
|
|
# "vendor/pay_u",
|
2023-06-01 22:02:47 +02:00
|
|
|
# PLUGINS
|
|
|
|
"crates/plugin-api",
|
|
|
|
# PAYMENT
|
|
|
|
"crates/payment-adapter",
|
2023-06-03 13:31:57 +02:00
|
|
|
"crates/payment-pay-u-plugin",
|
|
|
|
"crates/payment-stripe-plugin",
|
2023-05-24 19:03:49 +02:00
|
|
|
# EVENT BUS
|
|
|
|
"crates/event-bus-messages",
|
|
|
|
"crates/event-bus-adapter",
|
2023-06-03 13:31:57 +02:00
|
|
|
"crates/event-bus-redis-plugin",
|
2023-06-01 10:41:58 +02:00
|
|
|
# CACHE
|
|
|
|
"crates/cache-adapter",
|
2023-06-03 13:31:57 +02:00
|
|
|
"crates/cache-redis-plugin",
|
|
|
|
"crates/cache-embedded-memory-plugin",
|
2023-06-01 22:02:47 +02:00
|
|
|
# FILE STORAGE
|
|
|
|
"crates/file-storage-adapter",
|
2023-06-03 13:31:57 +02:00
|
|
|
"crates/file-storage-local-plugin",
|
|
|
|
"crates/file-storage-s3-plugin",
|
|
|
|
# database
|
|
|
|
"migration",
|
2022-05-06 11:47:18 +02:00
|
|
|
]
|
2022-12-05 06:04:14 +01:00
|
|
|
exclude = [
|
2023-05-26 23:22:14 +02:00
|
|
|
"crates/web"
|
2022-12-05 06:04:14 +01:00
|
|
|
]
|
2022-05-17 08:23:39 +02:00
|
|
|
|
2023-06-03 13:31:57 +02:00
|
|
|
[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" }
|
|
|
|
|
2022-05-17 08:23:39 +02:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
opt-level = 's'
|