1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-30 12:07:46 +00:00

feat: rename alejandra_engine to alejandra

This commit is contained in:
Kevin Amado 2022-06-23 12:34:08 -06:00
parent bd7ca846d5
commit bc32bd59e0
90 changed files with 41 additions and 41 deletions

4
front/Cargo.lock generated
View file

@ -3,7 +3,7 @@
version = 3
[[package]]
name = "alejandra_engine"
name = "alejandra"
version = "1.5.0"
dependencies = [
"mimalloc",
@ -15,7 +15,7 @@ dependencies = [
name = "alejandra_front"
version = "1.5.0"
dependencies = [
"alejandra_engine",
"alejandra",
"console_error_panic_hook",
"wasm-bindgen",
"wee_alloc",

View file

@ -1,5 +1,5 @@
[dependencies]
alejandra_engine = { "path" = "../src/alejandra_engine" }
alejandra = { "path" = "../src/alejandra" }
console_error_panic_hook = "*"
wasm-bindgen = "*"
wee_alloc = "*"

View file

@ -12,5 +12,5 @@ pub fn main() -> Result<(), JsValue> {
#[wasm_bindgen]
pub fn format(before: String, path: String) -> String {
alejandra_engine::format::in_memory(path, before).1
alejandra::format::in_memory(path, before).1
}