From 5c5ea5b4cbbaeac5d510bf7570f5da25358a4637 Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Sun, 21 Apr 2024 14:58:36 +0200 Subject: [PATCH] Add utils crate --- Cargo.lock | 4 ++++ Cargo.toml | 1 + crates/lune-utils/Cargo.toml | 11 +++++++++++ crates/lune-utils/src/lib.rs | 1 + 4 files changed, 17 insertions(+) create mode 100644 crates/lune-utils/Cargo.toml create mode 100644 crates/lune-utils/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 690e16b..ade73a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1593,6 +1593,10 @@ version = "0.8.3" name = "lune-std-task" version = "0.8.3" +[[package]] +name = "lune-utils" +version = "0.8.3" + [[package]] name = "lz4" version = "1.24.0" diff --git a/Cargo.toml b/Cargo.toml index b5df8cb..9ec1fc0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,7 @@ members = [ "crates/lune-std-serde", "crates/lune-std-stdio", "crates/lune-std-task", + "crates/lune-utils", ] # Profile for building the release binary, with the following options set: diff --git a/crates/lune-utils/Cargo.toml b/crates/lune-utils/Cargo.toml new file mode 100644 index 0000000..c38eac7 --- /dev/null +++ b/crates/lune-utils/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "lune-utils" +version = "0.8.3" +edition = "2021" +license = "MPL-2.0" + +[lib] +path = "src/lib.rs" + +[lints] +workspace = true diff --git a/crates/lune-utils/src/lib.rs b/crates/lune-utils/src/lib.rs new file mode 100644 index 0000000..2e802e7 --- /dev/null +++ b/crates/lune-utils/src/lib.rs @@ -0,0 +1 @@ +#![allow(clippy::cargo_common_metadata)]