diff --git a/.cargo/config.toml b/.cargo/config.toml index d314f55cb146c..4b91b66d22952 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,6 @@ +[alias] +xtask = "run --package xtask --" + [target.'cfg(all())'] rustflags = [ "-Dclippy::print_stdout", diff --git a/Cargo.lock b/Cargo.lock index d6bc76e21a344..80f0c10a3aeee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9749,6 +9749,10 @@ version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d25c75bf9ea12c4040a97f829154768bbbce366287e2dc044af160cd79a13fd" +[[package]] +name = "xtask" +version = "0.1.0" + [[package]] name = "yaml-rust" version = "0.4.5" diff --git a/Cargo.toml b/Cargo.toml index a0a20947f45c9..335da7fa907d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -74,6 +74,7 @@ depends = "" [workspace] members = [ ".", + "xtask", "lib/codecs", "lib/datadog/filter", "lib/datadog/grok", diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml new file mode 100644 index 0000000000000..d9dff7217ee2e --- /dev/null +++ b/xtask/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "xtask" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/xtask/src/main.rs b/xtask/src/main.rs new file mode 100644 index 0000000000000..e7a11a969c037 --- /dev/null +++ b/xtask/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}