feat(setup): basic workspace setup for development, and dependencies
This commit is contained in:
parent
624d2d816a
commit
db00616184
|
@ -0,0 +1,17 @@
|
|||
[package]
|
||||
name = "nexus-common"
|
||||
version = "0.1.0"
|
||||
authors = ["Malek <pocmalek@gmail.com>, Marceline Cramer <cramermarceline@gmail.com>"]
|
||||
edition = '2021'
|
||||
description = "nexus-common is a shared library for nexus-client and nexus-server."
|
||||
repository = "https://git.tebibyte.media/nexus"
|
||||
license = "MIT"
|
||||
publish = false #we don't wanna publish yet
|
||||
|
||||
[dependencies]
|
||||
serde_json = "1.0.82"
|
||||
serde = {version = "1.0.140", features = ["derive"]}
|
||||
bevy = "0.7.0"
|
||||
|
||||
[workspace]
|
||||
members = ["server", "client"]
|
|
@ -0,0 +1,20 @@
|
|||
[package]
|
||||
name = "nexus-client"
|
||||
version = "0.1.0"
|
||||
authors = ["Malek <pocmalek@gmail.com>", "Marceline Cramer <cramermarceline@gmail.com>"]
|
||||
edition = '2021'
|
||||
description = "A client for nexus"
|
||||
license = "MIT"
|
||||
repository = "https://git.tebibyte.media/nexus"
|
||||
publish = false #nope
|
||||
|
||||
[dependencies]
|
||||
bincode = "2.0.0-rc.1"
|
||||
nexus-common = { path = ".." }
|
||||
serde_json = "1.0.82"
|
||||
crossbeam-channel = "0.5.6"
|
||||
bevy = "0.7.0"
|
||||
color-eyre = "0.6.2"
|
||||
bytes = "1.2.0"
|
||||
tokio = { version = "1.20.0", features = ["full"] }
|
||||
qp2p = "0.28.7"
|
|
@ -0,0 +1,3 @@
|
|||
pub fn main() {
|
||||
println!("hello world!")
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
[package]
|
||||
name = "nexus-server"
|
||||
version = "0.1.0"
|
||||
authors = ["Malek <pocmalek@gmail.com>", "Marceline Cramer <cramermarceline@gmail.com>"]
|
||||
edition = '2021'
|
||||
description = "A server implemntation for nexus"
|
||||
repository = "https://git.tebibyte.media/nexus"
|
||||
license = "MIT"
|
||||
publish = false #nope
|
||||
|
||||
[dependencies]
|
||||
qp2p = "0.28.7"
|
||||
tokio = {version = "1.20.0", features = ["full"]}
|
||||
bytes = "1.2.0"
|
||||
color-eyre = "0.6.2"
|
||||
bevy = "0.7.0"
|
||||
crossbeam-channel = "0.5.6"
|
||||
serde_json = "1.0.82"
|
||||
nexus-common = { path = ".."}
|
||||
bincode = "2.0.0-rc.1"
|
|
@ -0,0 +1,3 @@
|
|||
pub fn main() {
|
||||
println!("hello world!");
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
//this is a lib
|
Loading…
Reference in New Issue