diff --git a/Cargo.lock b/Cargo.lock index 4b8d17a..b6f5157 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "alejandra" -version = "0.3.0" +version = "0.3.1" dependencies = [ "clap", "indoc", @@ -169,9 +169,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.118" +version = "0.2.119" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06e509672465a0504304aa87f9f176f2b2b716ed8fb105ebe5c02dc6dce96a94" +checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4" [[package]] name = "memchr" diff --git a/Cargo.toml b/Cargo.toml index a3a24c7..19b4bd7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,4 +13,4 @@ description = "The Uncompromising Nix Code Formatter" edition = "2021" name = "alejandra" repository = "https://github.com/kamadorueda/alejandra" -version = "0.3.0" +version = "0.3.1" diff --git a/README.md b/README.md index 729a438..f608814 100644 --- a/README.md +++ b/README.md @@ -105,11 +105,11 @@ You can download a binary for your platform, make it executable (`$ chmod +x`) and have fun! -- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.3.0/alejandra-aarch64-unknown-linux-musl) -- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.3.0/alejandra-armv6l-unknown-linux-musleabihf) -- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.3.0/alejandra-armv7l-unknown-linux-musleabihf) -- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.3.0/alejandra-i686-unknown-linux-musl) -- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.3.0/alejandra-x86_64-unknown-linux-musl) +- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.3.1/alejandra-aarch64-unknown-linux-musl) +- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.3.1/alejandra-armv6l-unknown-linux-musleabihf) +- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.3.1/alejandra-armv7l-unknown-linux-musleabihf) +- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.3.1/alejandra-i686-unknown-linux-musl) +- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.3.1/alejandra-x86_64-unknown-linux-musl) Alternatively there is an automated method for some platforms. It needs: @@ -140,7 +140,7 @@ $ /path/to/alejandra --help - Nix with [Flakes](https://nixos.wiki/wiki/Flakes): ```bash - $ nix profile install github:kamadorueda/alejandra + $ nix profile install github:kamadorueda/alejandra/0.3.1 ``` - Nix stable: @@ -148,10 +148,10 @@ $ /path/to/alejandra --help Pick one depending on your platform: ```bash - $ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.3.0 - $ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.3.0 - $ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.3.0 - $ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.3.0 + $ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.3.1 + $ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.3.1 + $ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.3.1 + $ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.3.1 ``` Then run Alejandra with: diff --git a/flake.lock b/flake.lock index caa6d85..fef34b4 100644 --- a/flake.lock +++ b/flake.lock @@ -18,11 +18,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1644972330, - "narHash": "sha256-6V2JFpTUzB9G+KcqtUR1yl7f6rd9495YrFECslEmbGw=", + "lastModified": 1645013224, + "narHash": "sha256-b7OEC8vwzJv3rsz9pwnTX2LQDkeOWz2DbKypkVvNHXc=", "owner": "nixos", "repo": "nixpkgs", - "rev": "19574af0af3ffaf7c9e359744ed32556f34536bd", + "rev": "b66b39216b1fef2d8c33cc7a5c72d8da80b79970", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 450b922..c2bc584 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,7 @@ outputs = inputs: let commit = inputs.self.shortRev or "dirty"; date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101"; - version = "0.3.0+${builtins.substring 0 8 date}.${commit}"; + version = "0.3.1+${builtins.substring 0 8 date}.${commit}"; nixpkgsForHost = host: import inputs.nixpkgs { diff --git a/front/Cargo.lock b/front/Cargo.lock index 815e4c2..c10dd3b 100644 --- a/front/Cargo.lock +++ b/front/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "alejandra" -version = "0.3.0" +version = "0.3.1" dependencies = [ "clap", "indoc", @@ -17,7 +17,7 @@ dependencies = [ [[package]] name = "alejandra-front" -version = "0.3.0" +version = "0.3.1" dependencies = [ "alejandra", "console_error_panic_hook", @@ -206,9 +206,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.118" +version = "0.2.119" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06e509672465a0504304aa87f9f176f2b2b716ed8fb105ebe5c02dc6dce96a94" +checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4" [[package]] name = "log" diff --git a/front/Cargo.toml b/front/Cargo.toml index 4aa9b67..991bf69 100644 --- a/front/Cargo.toml +++ b/front/Cargo.toml @@ -14,4 +14,4 @@ description = "The Uncompromising Nix Code Formatter" edition = "2021" name = "alejandra-front" repository = "https://github.com/kamadorueda/alejandra" -version = "0.3.0" +version = "0.3.1" diff --git a/front/flake.lock b/front/flake.lock index 467981e..418378e 100644 --- a/front/flake.lock +++ b/front/flake.lock @@ -8,11 +8,11 @@ "rust-analyzer-src": "rust-analyzer-src" }, "locked": { - "lastModified": 1645165506, - "narHash": "sha256-PClhTeC1EhkHUQQmP9XyiR7y1d6hlEc7QY8nN1GuAzQ=", + "lastModified": 1645338193, + "narHash": "sha256-BTajZF5xFmO3+MZE29C6JRLSM6PXdoFrpTlaMZr0Ljc=", "owner": "nix-community", "repo": "fenix", - "rev": "380b82e3d3381b32f11dfe024cb7d135e36d0168", + "rev": "f15f0f9fedd87e265e49585463df72c1257f1ae8", "type": "github" }, "original": { @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1644972330, - "narHash": "sha256-6V2JFpTUzB9G+KcqtUR1yl7f6rd9495YrFECslEmbGw=", + "lastModified": 1645013224, + "narHash": "sha256-b7OEC8vwzJv3rsz9pwnTX2LQDkeOWz2DbKypkVvNHXc=", "owner": "nixos", "repo": "nixpkgs", - "rev": "19574af0af3ffaf7c9e359744ed32556f34536bd", + "rev": "b66b39216b1fef2d8c33cc7a5c72d8da80b79970", "type": "github" }, "original": { @@ -46,11 +46,11 @@ "rust-analyzer-src": { "flake": false, "locked": { - "lastModified": 1645024434, - "narHash": "sha256-ZYwqOkx9MYKmbuqkLJdRhIn7IghMRclbUzxJgR7OOhA=", + "lastModified": 1645265362, + "narHash": "sha256-6z88g8cyw6Ae9SxgGUmT+jMuMadrJ4IgVV+UHdK4ook=", "owner": "rust-analyzer", "repo": "rust-analyzer", - "rev": "89faff7477e904f6820990f130a3aed72c1d7e6b", + "rev": "1d53f695f0408f47c5cce5cefa471eb0e86b0db7", "type": "github" }, "original": { diff --git a/installers/aarch64-linux.sh b/installers/aarch64-linux.sh index dec9082..9f38ff8 100755 --- a/installers/aarch64-linux.sh +++ b/installers/aarch64-linux.sh @@ -2,7 +2,7 @@ releases=https://github.com/kamadorueda/alejandra/releases/download/ target=alejandra-aarch64-unknown-linux-musl -version=0.3.0 +version=0.3.1 curl -o alejandra -L "${releases}/${version}/${target}" diff --git a/installers/x86_64-linux.sh b/installers/x86_64-linux.sh index 29f75d3..1d26f09 100755 --- a/installers/x86_64-linux.sh +++ b/installers/x86_64-linux.sh @@ -2,7 +2,7 @@ releases=https://github.com/kamadorueda/alejandra/releases/download/ target=alejandra-x86_64-unknown-linux-musl -version=0.3.0 +version=0.3.1 curl -o alejandra -L "${releases}/${version}/${target}"