diff --git a/.gitignore b/.gitignore index 50422934..32f9710a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ /node_modules/ /build /dist +/target /.svelte-kit /package *.env* diff --git a/.vscode/settings.json b/.vscode/settings.json index 70fceb2b..916544ae 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,4 @@ { - "rust-analyzer.linkedProjects": ["packages/cadmium/Cargo.toml"], "[markdown]": { "editor.formatOnSave": false }, diff --git a/packages/cadmium/Cargo.lock b/Cargo.lock similarity index 100% rename from packages/cadmium/Cargo.lock rename to Cargo.lock diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 00000000..7dc51f7c --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[workspace] +members = ["packages/cadmium"] +resolver = "2" + +[patch.crates-io] +tsify = { git = "https://github.com/siefkenj/tsify" } diff --git a/packages/cadmium/.gitignore b/packages/cadmium/.gitignore index e05b48d5..5b870d7d 100644 --- a/packages/cadmium/.gitignore +++ b/packages/cadmium/.gitignore @@ -1,3 +1,2 @@ -target test_svgs node_modules diff --git a/packages/cadmium/CADmium.code-workspace b/packages/cadmium/CADmium.code-workspace deleted file mode 100644 index 5474d9f7..00000000 --- a/packages/cadmium/CADmium.code-workspace +++ /dev/null @@ -1,12 +0,0 @@ -{ - "folders": [ - { - "path": "../.." - } - ], - "settings": { - "rust-analyzer.linkedProjects": [ - "./packages/cadmium/Cargo.toml" - ] - } -} \ No newline at end of file diff --git a/packages/cadmium/Cargo.toml b/packages/cadmium/Cargo.toml index 006132ca..dafc1c68 100644 --- a/packages/cadmium/Cargo.toml +++ b/packages/cadmium/Cargo.toml @@ -28,8 +28,5 @@ serde_with = "3.4.0" crc32fast = "1.3.2" indexmap = "2.1.0" -[patch.crates-io] -tsify = { git = "https://github.com/siefkenj/tsify" } - [lib] crate-type = ["cdylib", "rlib"]