init project structure
This commit is contained in:
85
apps/nxmesh-master/Cargo.toml
Normal file
85
apps/nxmesh-master/Cargo.toml
Normal file
@@ -0,0 +1,85 @@
|
||||
[package]
|
||||
name = "nxmesh-master"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
authors.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
default-run = "nxmesh-master"
|
||||
|
||||
[[bin]]
|
||||
name = "nxmesh-master"
|
||||
path = "src/main.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "gen-openapi"
|
||||
path = "src/bin/gen-openapi.rs"
|
||||
|
||||
[dependencies]
|
||||
# Internal
|
||||
nxmesh-core.workspace = true
|
||||
nxmesh-proto.workspace = true
|
||||
nxmesh-migration.workspace = true
|
||||
|
||||
# Core
|
||||
tokio.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
thiserror.workspace = true
|
||||
tracing.workspace = true
|
||||
tracing-subscriber.workspace = true
|
||||
|
||||
# Web
|
||||
axum = { workspace = true, features = ["ws"] }
|
||||
tower.workspace = true
|
||||
tower-http = { workspace = true, features = ["fs", "cors"] }
|
||||
|
||||
# OpenAPI
|
||||
utoipa = { version = "4", features = ["axum_extras"] }
|
||||
utoipa-swagger-ui = { version = "6", features = ["axum"] }
|
||||
|
||||
# gRPC
|
||||
tonic.workspace = true
|
||||
|
||||
# Database
|
||||
sea-orm.workspace = true
|
||||
sea-orm-migration = { workspace = true, features = [
|
||||
"runtime-tokio-native-tls",
|
||||
"sqlx-postgres",
|
||||
] }
|
||||
|
||||
# Async
|
||||
async-trait.workspace = true
|
||||
futures.workspace = true
|
||||
async-stream = "0.3"
|
||||
|
||||
# Config
|
||||
config.workspace = true
|
||||
toml.workspace = true
|
||||
|
||||
# Crypto
|
||||
argon2.workspace = true
|
||||
jsonwebtoken.workspace = true
|
||||
sha2.workspace = true
|
||||
hex.workspace = true
|
||||
|
||||
# Validation
|
||||
validator.workspace = true
|
||||
|
||||
# Time
|
||||
chrono.workspace = true
|
||||
|
||||
# UUID
|
||||
uuid.workspace = true
|
||||
|
||||
# Templating
|
||||
handlebars.workspace = true
|
||||
|
||||
# Random generation
|
||||
rand = "0.10"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio-test.workspace = true
|
||||
mockall.workspace = true
|
||||
0
apps/nxmesh-master/src/main.rs
Normal file
0
apps/nxmesh-master/src/main.rs
Normal file
Reference in New Issue
Block a user