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:
parent
bd7ca846d5
commit
bc32bd59e0
90 changed files with 41 additions and 41 deletions
4
front/Cargo.lock
generated
4
front/Cargo.lock
generated
|
@ -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",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[dependencies]
|
||||
alejandra_engine = { "path" = "../src/alejandra_engine" }
|
||||
alejandra = { "path" = "../src/alejandra" }
|
||||
console_error_panic_hook = "*"
|
||||
wasm-bindgen = "*"
|
||||
wee_alloc = "*"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue