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

feat: version 0.1.0

This commit is contained in:
Kevin Amado 2022-02-14 20:18:12 -05:00
parent 1a0d9589d0
commit 6ded43a40e
No known key found for this signature in database
GPG key ID: FFF341057F503148
9 changed files with 55 additions and 36 deletions

27
CHANGELOG.md Normal file
View 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
View file

@ -4,7 +4,7 @@ version = 3
[[package]]
name = "alejandra"
version = "0.0.0"
version = "0.1.0"
dependencies = [
"clap",
"indoc",
@ -250,14 +250,13 @@ checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"
[[package]]
name = "rand"
version = "0.8.4"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
"libc",
"rand_chacha",
"rand_core",
"rand_hc",
]
[[package]]
@ -279,15 +278,6 @@ dependencies = [
"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]]
name = "rayon"
version = "1.5.1"

View file

@ -13,4 +13,4 @@ description = "The Uncompromising Nix Code Formatter"
edition = "2021"
name = "alejandra"
repository = "https://github.com/kamadorueda/alejandra"
version = "0.0.0"
version = "0.1.0"

View file

@ -140,6 +140,18 @@ See why Alejandra was created
and a comparison between alternatives
[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
[^benchmark-specs]:

6
flake.lock generated
View file

@ -39,11 +39,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1644789245,
"narHash": "sha256-F5POb5NmmQPWdktEqLGGzFR/fT3uODjBk/zotWkML/0=",
"lastModified": 1644880769,
"narHash": "sha256-mXmBosP+rnNdnBhQQP5Frx4QuSwdT63Bozjzm81abMg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "8a64ba7e7e2efac95e24dcd7a2b0e995619b4613",
"rev": "a31699dce9a2d5b432a41a7499e088240d1086c8",
"type": "github"
},
"original": {

View file

@ -41,7 +41,7 @@
commit = inputs.self.shortRev or "dirty";
date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101";
in
"${builtins.substring 0 8 date}_${commit}";
"0.1.0+${builtins.substring 0 8 date}.${commit}";
src = ./.;
inherit target;
cargoLock.lockFile = ./Cargo.lock;

18
front/Cargo.lock generated
View file

@ -4,7 +4,7 @@ version = 3
[[package]]
name = "alejandra"
version = "0.0.0"
version = "0.1.0"
dependencies = [
"clap",
"indoc",
@ -17,7 +17,7 @@ dependencies = [
[[package]]
name = "alejandra-front"
version = "0.0.0"
version = "0.1.0"
dependencies = [
"alejandra",
"console_error_panic_hook",
@ -327,14 +327,13 @@ dependencies = [
[[package]]
name = "rand"
version = "0.8.4"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
"libc",
"rand_chacha",
"rand_core",
"rand_hc",
]
[[package]]
@ -356,15 +355,6 @@ dependencies = [
"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]]
name = "rayon"
version = "1.5.1"

View file

@ -14,4 +14,4 @@ description = "The Uncompromising Nix Code Formatter"
edition = "2021"
name = "alejandra-front"
repository = "https://github.com/kamadorueda/alejandra"
version = "0.0.0"
version = "0.1.0"

6
front/flake.lock generated
View file

@ -23,11 +23,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1644789245,
"narHash": "sha256-F5POb5NmmQPWdktEqLGGzFR/fT3uODjBk/zotWkML/0=",
"lastModified": 1644880769,
"narHash": "sha256-mXmBosP+rnNdnBhQQP5Frx4QuSwdT63Bozjzm81abMg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "8a64ba7e7e2efac95e24dcd7a2b0e995619b4613",
"rev": "a31699dce9a2d5b432a41a7499e088240d1086c8",
"type": "github"
},
"original": {