diff --git a/Cargo.toml b/Cargo.toml index 9508173..e75b1eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ resolver = "2" [workspace.dependencies] djls = { path = "crates/djls" } -djls-pyenv = { path = "crates/djls-pyenv" } +djls-python = { path = "crates/djls-python" } anyhow = "1.0.94" pyo3 = { version = "0.23.3", features = ["auto-initialize", "abi3-py39"] } diff --git a/crates/djls-pyenv/Cargo.toml b/crates/djls-python/Cargo.toml similarity index 89% rename from crates/djls-pyenv/Cargo.toml rename to crates/djls-python/Cargo.toml index 26a5606..c29136f 100644 --- a/crates/djls-pyenv/Cargo.toml +++ b/crates/djls-python/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "djls-pyenv" +name = "djls-python" version = "0.0.0" edition = "2021" diff --git a/crates/djls-pyenv/src/environment.rs b/crates/djls-python/src/environment.rs similarity index 100% rename from crates/djls-pyenv/src/environment.rs rename to crates/djls-python/src/environment.rs diff --git a/crates/djls-pyenv/src/lib.rs b/crates/djls-python/src/lib.rs similarity index 100% rename from crates/djls-pyenv/src/lib.rs rename to crates/djls-python/src/lib.rs diff --git a/crates/djls-pyenv/src/python.rs b/crates/djls-python/src/python.rs similarity index 100% rename from crates/djls-pyenv/src/python.rs rename to crates/djls-python/src/python.rs diff --git a/crates/djls/Cargo.toml b/crates/djls/Cargo.toml index 4314e5e..21156e9 100644 --- a/crates/djls/Cargo.toml +++ b/crates/djls/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -djls-pyenv = { workspace = true } +djls-python = { workspace = true } anyhow = { workspace = true } pyo3 = { workspace = true } diff --git a/crates/djls/src/main.rs b/crates/djls/src/main.rs index b581f1a..81be139 100644 --- a/crates/djls/src/main.rs +++ b/crates/djls/src/main.rs @@ -3,7 +3,7 @@ use tower_lsp::jsonrpc::Result as LspResult; use tower_lsp::lsp_types::*; use tower_lsp::{Client, LanguageServer, LspService, Server}; -use djls_pyenv::PythonEnvironment; +use djls_python::PythonEnvironment; #[derive(Debug)] struct Backend {