chore: scaffold v2 workspace
This commit is contained in:
4
crates/adapters/activitypub-base/Cargo.toml
Normal file
4
crates/adapters/activitypub-base/Cargo.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[package]
|
||||
name = "activitypub-base"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
0
crates/adapters/activitypub-base/src/lib.rs
Normal file
0
crates/adapters/activitypub-base/src/lib.rs
Normal file
4
crates/adapters/activitypub/Cargo.toml
Normal file
4
crates/adapters/activitypub/Cargo.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[package]
|
||||
name = "activitypub"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
0
crates/adapters/activitypub/src/lib.rs
Normal file
0
crates/adapters/activitypub/src/lib.rs
Normal file
14
crates/adapters/auth/Cargo.toml
Normal file
14
crates/adapters/auth/Cargo.toml
Normal file
@@ -0,0 +1,14 @@
|
||||
[package]
|
||||
name = "auth"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
domain = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
tokio = { workspace = true }
|
||||
jsonwebtoken = "9"
|
||||
argon2 = "0.5"
|
||||
0
crates/adapters/auth/src/lib.rs
Normal file
0
crates/adapters/auth/src/lib.rs
Normal file
4
crates/adapters/event-payload/Cargo.toml
Normal file
4
crates/adapters/event-payload/Cargo.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[package]
|
||||
name = "event-payload"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
0
crates/adapters/event-payload/src/lib.rs
Normal file
0
crates/adapters/event-payload/src/lib.rs
Normal file
4
crates/adapters/event-publisher/Cargo.toml
Normal file
4
crates/adapters/event-publisher/Cargo.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[package]
|
||||
name = "event-publisher"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
0
crates/adapters/event-publisher/src/lib.rs
Normal file
0
crates/adapters/event-publisher/src/lib.rs
Normal file
4
crates/adapters/nats/Cargo.toml
Normal file
4
crates/adapters/nats/Cargo.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[package]
|
||||
name = "nats"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
0
crates/adapters/nats/src/lib.rs
Normal file
0
crates/adapters/nats/src/lib.rs
Normal file
4
crates/adapters/postgres-federation/Cargo.toml
Normal file
4
crates/adapters/postgres-federation/Cargo.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[package]
|
||||
name = "postgres-federation"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
0
crates/adapters/postgres-federation/src/lib.rs
Normal file
0
crates/adapters/postgres-federation/src/lib.rs
Normal file
4
crates/adapters/postgres-search/Cargo.toml
Normal file
4
crates/adapters/postgres-search/Cargo.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[package]
|
||||
name = "postgres-search"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
0
crates/adapters/postgres-search/src/lib.rs
Normal file
0
crates/adapters/postgres-search/src/lib.rs
Normal file
17
crates/adapters/postgres/Cargo.toml
Normal file
17
crates/adapters/postgres/Cargo.toml
Normal file
@@ -0,0 +1,17 @@
|
||||
[package]
|
||||
name = "postgres"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
domain = { workspace = true }
|
||||
sqlx = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
sqlx = { workspace = true, features = ["migrate"] }
|
||||
0
crates/adapters/postgres/src/lib.rs
Normal file
0
crates/adapters/postgres/src/lib.rs
Normal file
9
crates/api-types/Cargo.toml
Normal file
9
crates/api-types/Cargo.toml
Normal file
@@ -0,0 +1,9 @@
|
||||
[package]
|
||||
name = "api-types"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
serde = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
0
crates/api-types/src/lib.rs
Normal file
0
crates/api-types/src/lib.rs
Normal file
15
crates/application/Cargo.toml
Normal file
15
crates/application/Cargo.toml
Normal file
@@ -0,0 +1,15 @@
|
||||
[package]
|
||||
name = "application"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
domain = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
domain = { workspace = true, features = ["test-helpers"] }
|
||||
0
crates/application/src/lib.rs
Normal file
0
crates/application/src/lib.rs
Normal file
18
crates/domain/Cargo.toml
Normal file
18
crates/domain/Cargo.toml
Normal file
@@ -0,0 +1,18 @@
|
||||
[package]
|
||||
name = "domain"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
test-helpers = []
|
||||
|
||||
[dependencies]
|
||||
async-trait = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
0
crates/domain/src/lib.rs
Normal file
0
crates/domain/src/lib.rs
Normal file
33
crates/presentation/Cargo.toml
Normal file
33
crates/presentation/Cargo.toml
Normal file
@@ -0,0 +1,33 @@
|
||||
[package]
|
||||
name = "presentation"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "thoughts"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
domain = { workspace = true }
|
||||
application = { workspace = true }
|
||||
api-types = { workspace = true }
|
||||
postgres = { workspace = true }
|
||||
auth = { workspace = true }
|
||||
axum = { workspace = true }
|
||||
tower-http = { workspace = true }
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
tracing-subscriber = { workspace = true }
|
||||
dotenvy = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
sha2 = "0.10"
|
||||
hex = "0.4"
|
||||
|
||||
[dev-dependencies]
|
||||
http-body-util = "0.1"
|
||||
tower = "0.5"
|
||||
domain = { workspace = true, features = ["test-helpers"] }
|
||||
1
crates/presentation/src/main.rs
Normal file
1
crates/presentation/src/main.rs
Normal file
@@ -0,0 +1 @@
|
||||
fn main() {}
|
||||
4
crates/worker/Cargo.toml
Normal file
4
crates/worker/Cargo.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[package]
|
||||
name = "worker"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
1
crates/worker/src/main.rs
Normal file
1
crates/worker/src/main.rs
Normal file
@@ -0,0 +1 @@
|
||||
fn main() {}
|
||||
Reference in New Issue
Block a user