mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-31 04:27:45 +00:00
feat: version 0.1.0
This commit is contained in:
parent
1a0d9589d0
commit
6ded43a40e
9 changed files with 55 additions and 36 deletions
27
CHANGELOG.md
Normal file
27
CHANGELOG.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.1.0] - 2022-02-14
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Initial version
|
||||||
|
- A Changelog
|
||||||
|
|
||||||
|
## [0.0.0] - 2022-01-09
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- The project :)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.1.0...HEAD
|
||||||
|
[0.1.0]: https://github.com/kamadorueda/alejandra/compare/0.0.0...0.1.0
|
||||||
|
[0.0.0]: https://github.com/kamadorueda/alejandra/compare/6adfbe8516bf6d9e896534e01118e1bc41f65425...0.0.0
|
16
Cargo.lock
generated
16
Cargo.lock
generated
|
@ -4,7 +4,7 @@ version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "alejandra"
|
name = "alejandra"
|
||||||
version = "0.0.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"indoc",
|
"indoc",
|
||||||
|
@ -250,14 +250,13 @@ checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rand"
|
name = "rand"
|
||||||
version = "0.8.4"
|
version = "0.8.5"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
|
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libc",
|
"libc",
|
||||||
"rand_chacha",
|
"rand_chacha",
|
||||||
"rand_core",
|
"rand_core",
|
||||||
"rand_hc",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -279,15 +278,6 @@ dependencies = [
|
||||||
"getrandom",
|
"getrandom",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "rand_hc"
|
|
||||||
version = "0.3.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7"
|
|
||||||
dependencies = [
|
|
||||||
"rand_core",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rayon"
|
name = "rayon"
|
||||||
version = "1.5.1"
|
version = "1.5.1"
|
||||||
|
|
|
@ -13,4 +13,4 @@ description = "The Uncompromising Nix Code Formatter"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
name = "alejandra"
|
name = "alejandra"
|
||||||
repository = "https://github.com/kamadorueda/alejandra"
|
repository = "https://github.com/kamadorueda/alejandra"
|
||||||
version = "0.0.0"
|
version = "0.1.0"
|
||||||
|
|
12
README.md
12
README.md
|
@ -140,6 +140,18 @@ See why Alejandra was created
|
||||||
and a comparison between alternatives
|
and a comparison between alternatives
|
||||||
[here](https://discourse.nixos.org/t/the-uncompromising-nix-code-formatter/17385/3?u=kamadorueda).
|
[here](https://discourse.nixos.org/t/the-uncompromising-nix-code-formatter/17385/3?u=kamadorueda).
|
||||||
|
|
||||||
|
## Versioning
|
||||||
|
|
||||||
|
We use [semver](https://semver.org/) to version Alejandra.
|
||||||
|
|
||||||
|
Our public API consists of:
|
||||||
|
|
||||||
|
- The formatting rules (a.k.a. the style).
|
||||||
|
- The CLI tool (`$ alejandra`),
|
||||||
|
command line flags,
|
||||||
|
positional arguments,
|
||||||
|
and stdout.
|
||||||
|
|
||||||
## Footnotes
|
## Footnotes
|
||||||
|
|
||||||
[^benchmark-specs]:
|
[^benchmark-specs]:
|
||||||
|
|
6
flake.lock
generated
6
flake.lock
generated
|
@ -39,11 +39,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1644789245,
|
"lastModified": 1644880769,
|
||||||
"narHash": "sha256-F5POb5NmmQPWdktEqLGGzFR/fT3uODjBk/zotWkML/0=",
|
"narHash": "sha256-mXmBosP+rnNdnBhQQP5Frx4QuSwdT63Bozjzm81abMg=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "8a64ba7e7e2efac95e24dcd7a2b0e995619b4613",
|
"rev": "a31699dce9a2d5b432a41a7499e088240d1086c8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
commit = inputs.self.shortRev or "dirty";
|
commit = inputs.self.shortRev or "dirty";
|
||||||
date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101";
|
date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101";
|
||||||
in
|
in
|
||||||
"${builtins.substring 0 8 date}_${commit}";
|
"0.1.0+${builtins.substring 0 8 date}.${commit}";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
inherit target;
|
inherit target;
|
||||||
cargoLock.lockFile = ./Cargo.lock;
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
|
|
18
front/Cargo.lock
generated
18
front/Cargo.lock
generated
|
@ -4,7 +4,7 @@ version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "alejandra"
|
name = "alejandra"
|
||||||
version = "0.0.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"indoc",
|
"indoc",
|
||||||
|
@ -17,7 +17,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "alejandra-front"
|
name = "alejandra-front"
|
||||||
version = "0.0.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"alejandra",
|
"alejandra",
|
||||||
"console_error_panic_hook",
|
"console_error_panic_hook",
|
||||||
|
@ -327,14 +327,13 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rand"
|
name = "rand"
|
||||||
version = "0.8.4"
|
version = "0.8.5"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
|
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libc",
|
"libc",
|
||||||
"rand_chacha",
|
"rand_chacha",
|
||||||
"rand_core",
|
"rand_core",
|
||||||
"rand_hc",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -356,15 +355,6 @@ dependencies = [
|
||||||
"getrandom",
|
"getrandom",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "rand_hc"
|
|
||||||
version = "0.3.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7"
|
|
||||||
dependencies = [
|
|
||||||
"rand_core",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rayon"
|
name = "rayon"
|
||||||
version = "1.5.1"
|
version = "1.5.1"
|
||||||
|
|
|
@ -14,4 +14,4 @@ description = "The Uncompromising Nix Code Formatter"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
name = "alejandra-front"
|
name = "alejandra-front"
|
||||||
repository = "https://github.com/kamadorueda/alejandra"
|
repository = "https://github.com/kamadorueda/alejandra"
|
||||||
version = "0.0.0"
|
version = "0.1.0"
|
||||||
|
|
6
front/flake.lock
generated
6
front/flake.lock
generated
|
@ -23,11 +23,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1644789245,
|
"lastModified": 1644880769,
|
||||||
"narHash": "sha256-F5POb5NmmQPWdktEqLGGzFR/fT3uODjBk/zotWkML/0=",
|
"narHash": "sha256-mXmBosP+rnNdnBhQQP5Frx4QuSwdT63Bozjzm81abMg=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "8a64ba7e7e2efac95e24dcd7a2b0e995619b4613",
|
"rev": "a31699dce9a2d5b432a41a7499e088240d1086c8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue