build(rust): vendor rnix parser crate

This commit was merged in pull request #57.
This commit is contained in:
2026-09-16 15:51:43 -04:00
parent cbdf482422
commit 82ad65a3a4
492 changed files with 67785 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: 'bug'
assignees: ''
---
<!--
Feel free to remove paragraphs that don't apply to your bugreport.
-->
### Describe the bug
<!-- A clear and concise description of what the bug is.-->
### Code Snippet to reproduce
<!--
If applicable, a Nix expression that demonstrates the problem.
-->
```nix
```
### Expected behavior
<!-- A clear and concise description of what you expected to happen.-->
### Additional context
<!--
Anything else you consider relevant such as `rnix` version (mandatory), related issues etc.
-->

View File

@@ -0,0 +1,29 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---
<!--
Feel free to remove paragraphs that don't apply to your request.
-->
### Description
<!--
Describe the feature / a possible solution you'd like to see.
-->
### Considered alternatives
<!--
A clear and concise description of any alternative solutions or features you've considered.
-->
### Additional context
<!--
Add any context such as screenshots, related issues or whatever you consider relevant here.
-->

View File

@@ -0,0 +1,7 @@
---
name: Question
about: Ask a general question about the project
title: ''
labels: 'question'
assignees: ''
---

View File

@@ -0,0 +1,25 @@
<!--
Feel free to remove paragraphs that don't apply to your PR.
-->
### Summary & Motivation
<!--
Please summarize the changes you've made and the motivation behind it.
-->
### Backwards-incompatible changes
<!--
If applicable, please summarize which changes of your PR are backwards-incompatible
to the latest release.
-->
### Further context
<!--
If applicable, please give further context such as related issues / PRs,
an explanation of the problem you're aiming to solve or anything else you also
consider relevant.
-->

View File

@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

View File

@@ -0,0 +1,64 @@
name: ci
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2
- name: Compile
run: cargo test --no-run --locked
- name: Test
run: cargo test -- --nocapture
rustfmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Check formatting
run: cargo fmt --all -- --check
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Run Clippy
run: cargo clippy