Set up workspace
This commit is contained in:
parent
babdd10fba
commit
288a5f97dd
45 changed files with 68 additions and 56 deletions
60
Cargo.toml
60
Cargo.toml
|
|
@ -1,60 +1,10 @@
|
||||||
[package]
|
[workspace]
|
||||||
name = "cove"
|
resolver = "2"
|
||||||
|
members = ["cove"]
|
||||||
|
|
||||||
|
[workspace.package]
|
||||||
version = "0.6.1"
|
version = "0.6.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
anyhow = "1.0.70"
|
|
||||||
async-trait = "0.1.68"
|
|
||||||
clap = { version = "4.2.1", features = ["derive", "deprecated"] }
|
|
||||||
cookie = "0.17.0"
|
|
||||||
crossterm = "0.26.1"
|
|
||||||
directories = "5.0.0"
|
|
||||||
edit = "0.1.4"
|
|
||||||
linkify = "0.9.0"
|
|
||||||
log = { version = "0.4.17", features = ["std"] }
|
|
||||||
once_cell = "1.17.1"
|
|
||||||
open = "4.0.1"
|
|
||||||
parking_lot = "0.12.1"
|
|
||||||
rusqlite = { version = "0.29.0", features = ["bundled", "time"] }
|
|
||||||
serde = { version = "1.0.159", features = ["derive"] }
|
|
||||||
serde_json = "1.0.95"
|
|
||||||
thiserror = "1.0.40"
|
|
||||||
tokio = { version = "1.27.0", features = ["full"] }
|
|
||||||
toml = "0.7.3"
|
|
||||||
unicode-segmentation = "1.10.1"
|
|
||||||
unicode-width = "0.1.10"
|
|
||||||
|
|
||||||
[dependencies.time]
|
|
||||||
version = "0.3.20"
|
|
||||||
features = ["macros", "formatting", "parsing", "serde"]
|
|
||||||
|
|
||||||
[dependencies.tokio-tungstenite]
|
|
||||||
version = "0.18.0"
|
|
||||||
features = ["rustls-tls-native-roots"]
|
|
||||||
|
|
||||||
[dependencies.euphoxide]
|
|
||||||
git = "https://github.com/Garmelon/euphoxide.git"
|
|
||||||
rev = "0f217a6279181b0731216760219e8ff0fa01e449"
|
|
||||||
features = ["bot"]
|
|
||||||
|
|
||||||
# [patch."https://github.com/Garmelon/euphoxide.git"]
|
|
||||||
# euphoxide = { path = "../euphoxide/" }
|
|
||||||
|
|
||||||
[dependencies.toss]
|
|
||||||
git = "https://github.com/Garmelon/toss.git"
|
|
||||||
rev = "f414db40d526295c74cbcae6c3d194088da8f1d9"
|
|
||||||
|
|
||||||
# [patch."https://github.com/Garmelon/toss.git"]
|
|
||||||
# toss = { path = "../toss/" }
|
|
||||||
|
|
||||||
[dependencies.vault]
|
|
||||||
git = "https://github.com/Garmelon/vault.git"
|
|
||||||
rev = "b4cf23b7279770226725c895e482c8eda88c43a7"
|
|
||||||
features = ["tokio"]
|
|
||||||
|
|
||||||
# [patch."https://github.com/Garmelon/vault.git"]
|
|
||||||
# vault = { path = "../vault/" }
|
|
||||||
|
|
||||||
[profile.dev.package."*"]
|
[profile.dev.package."*"]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|
|
||||||
57
cove/Cargo.toml
Normal file
57
cove/Cargo.toml
Normal file
|
|
@ -0,0 +1,57 @@
|
||||||
|
[package]
|
||||||
|
name = "cove"
|
||||||
|
version = { workspace = true }
|
||||||
|
edition = { workspace = true }
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
anyhow = "1.0.70"
|
||||||
|
async-trait = "0.1.68"
|
||||||
|
clap = { version = "4.2.1", features = ["derive", "deprecated"] }
|
||||||
|
cookie = "0.17.0"
|
||||||
|
crossterm = "0.26.1"
|
||||||
|
directories = "5.0.0"
|
||||||
|
edit = "0.1.4"
|
||||||
|
linkify = "0.9.0"
|
||||||
|
log = { version = "0.4.17", features = ["std"] }
|
||||||
|
once_cell = "1.17.1"
|
||||||
|
open = "4.0.1"
|
||||||
|
parking_lot = "0.12.1"
|
||||||
|
rusqlite = { version = "0.29.0", features = ["bundled", "time"] }
|
||||||
|
serde = { version = "1.0.159", features = ["derive"] }
|
||||||
|
serde_json = "1.0.95"
|
||||||
|
thiserror = "1.0.40"
|
||||||
|
tokio = { version = "1.27.0", features = ["full"] }
|
||||||
|
toml = "0.7.3"
|
||||||
|
unicode-segmentation = "1.10.1"
|
||||||
|
unicode-width = "0.1.10"
|
||||||
|
|
||||||
|
[dependencies.time]
|
||||||
|
version = "0.3.20"
|
||||||
|
features = ["macros", "formatting", "parsing", "serde"]
|
||||||
|
|
||||||
|
[dependencies.tokio-tungstenite]
|
||||||
|
version = "0.18.0"
|
||||||
|
features = ["rustls-tls-native-roots"]
|
||||||
|
|
||||||
|
[dependencies.euphoxide]
|
||||||
|
git = "https://github.com/Garmelon/euphoxide.git"
|
||||||
|
rev = "0f217a6279181b0731216760219e8ff0fa01e449"
|
||||||
|
features = ["bot"]
|
||||||
|
|
||||||
|
# [patch."https://github.com/Garmelon/euphoxide.git"]
|
||||||
|
# euphoxide = { path = "../euphoxide/" }
|
||||||
|
|
||||||
|
[dependencies.toss]
|
||||||
|
git = "https://github.com/Garmelon/toss.git"
|
||||||
|
rev = "f414db40d526295c74cbcae6c3d194088da8f1d9"
|
||||||
|
|
||||||
|
# [patch."https://github.com/Garmelon/toss.git"]
|
||||||
|
# toss = { path = "../toss/" }
|
||||||
|
|
||||||
|
[dependencies.vault]
|
||||||
|
git = "https://github.com/Garmelon/vault.git"
|
||||||
|
rev = "b4cf23b7279770226725c895e482c8eda88c43a7"
|
||||||
|
features = ["tokio"]
|
||||||
|
|
||||||
|
# [patch."https://github.com/Garmelon/vault.git"]
|
||||||
|
# vault = { path = "../vault/" }
|
||||||
|
|
@ -15,9 +15,14 @@
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
naersk' = pkgs.callPackage naersk { };
|
naersk' = pkgs.callPackage naersk { };
|
||||||
|
cargoToml = pkgs.lib.importTOML ./Cargo.toml;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
default = naersk'.buildPackage { src = ./.; };
|
default = naersk'.buildPackage {
|
||||||
|
name = "cove";
|
||||||
|
version = cargoToml.workspace.package.version;
|
||||||
|
root = ./.;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue