From 9e2553613881946fdacc65e3632255b4b000ab22 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Sun, 20 Aug 2023 09:45:09 +0200 Subject: [PATCH] chore: moved cargo manifest in root --- .gitignore | 9 ++++----- src/main/rust/Cargo.toml => Cargo.toml | 3 +-- src/main/rust/{src => }/lib.rs | 0 3 files changed, 5 insertions(+), 7 deletions(-) rename src/main/rust/Cargo.toml => Cargo.toml (70%) rename src/main/rust/{src => }/lib.rs (100%) diff --git a/.gitignore b/.gitignore index 866c708..03a1278 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ build/ out/ !**/src/main/**/out/ !**/src/test/**/out/ +.idea/* ### Eclipse ### .apt_generated @@ -41,9 +42,7 @@ bin/ ### Mac OS ### .DS_Store -.idea/* - ### Rust ### -src/main/rust/Cargo.lock -src/main/rust/.cargo/* -src/main/rust/target/* \ No newline at end of file +Cargo.lock +.cargo/* +target/* diff --git a/src/main/rust/Cargo.toml b/Cargo.toml similarity index 70% rename from src/main/rust/Cargo.toml rename to Cargo.toml index af4b72c..692529a 100644 --- a/src/main/rust/Cargo.toml +++ b/Cargo.toml @@ -3,11 +3,10 @@ name = "codemp-intellij" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] codemp = { git = "ssh://git@github.com/codewithotherpeopleandchangenamelater/codemp.git", tag = "v0.4.2" } jni = "0.21.1" [lib] crate_type = ["cdylib"] +path = "src/main/rust/lib.rs" diff --git a/src/main/rust/src/lib.rs b/src/main/rust/lib.rs similarity index 100% rename from src/main/rust/src/lib.rs rename to src/main/rust/lib.rs