turn into a cargo workspace

This commit is contained in:
Astro 2021-11-02 01:27:53 +01:00
parent c6b3f91bec
commit 1fb409758b
8 changed files with 20 additions and 15 deletions

View File

@ -1,15 +1,4 @@
[package]
name = "heliwatch"
version = "0.1.0"
edition = "2021"
[dependencies]
futures = "0.3"
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.11", features = ["json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
geo = "0.18"
csv = "1.1"
tokio-xmpp = "3"
xmpp-parsers = "0.18"
[workspace]
members = [
"heliwatch",
]

View File

@ -26,6 +26,7 @@
packages.heliwatch = naersk-lib.buildPackage {
pname = "heliwatch";
root = ./.;
src = ./heliwatch;
nativeBuildInputs = with pkgs; [ pkg-config ];
buildInputs = with pkgs; [ openssl ];
};

15
heliwatch/Cargo.toml Normal file
View File

@ -0,0 +1,15 @@
[package]
name = "heliwatch"
version = "0.1.0"
edition = "2021"
[dependencies]
futures = "0.3"
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.11", features = ["json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
geo = "0.18"
csv = "1.1"
tokio-xmpp = "3"
xmpp-parsers = "0.18"