Skip to content

Commit

Permalink
feat: Initial code (#1)
Browse files Browse the repository at this point in the history
* misc: create nbuild-core

* feat: build for simple package

* feat: simple binary

* feat: workspace support

* feat: deep dependencies

* feat: reusing crates

* refactor: multiple versions of a crate

* feat: resolve dependencies

* feat: edition

* feat: build dependencies

* feat: handle custom lib paths

* feat: handle custom build paths

* feat: handle proc-macros

* feat: handle targets | multiple dependencies

* feat: tracing info

* bug: dev dependencies appearing in normal dependencies

* feat: features activating features on optional dependencies

* refactor: more tracing

* bug: features on default dependencies

* refactor: log all metadata

* refactor: reduce loop in unpacking chain

* feat: handle dependency renames

* bug: optional build packages

* refactor: clean local sources

* feat: download from crates.io

* feat: custom rust version

* feat: missing crate overrides

* refactor: better fetchCrate override

* refactor: faster builds by matching cargo more

* refactor: call nix build directly

* refactor: sort features for reproducible builds

* refactor: flake safe overlay

* tests: deterministic features

* refactor: split into models

* refactor: combine visitors

* refactor: comments

* refactor: better error handling

* refactor: clippy suggestions

* ci: add rust test

* misc: READMEs

* tests: work on ci

* misc: publish metadata

* feat: handle lib renames

* feat: match dependencies on version

* refactor: don't clean defaults

* refactor: verbose renames

* misc: nix command instructions

* misc: v0.1.1
  • Loading branch information
chesedo authored Jun 9, 2023
1 parent 86d97c7 commit 4a7e990
Show file tree
Hide file tree
Showing 27 changed files with 4,549 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Rust

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Clippy
run: cargo clippy --all-targets --no-deps
- name: Run tests
run: cargo test --all
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
tmp/

.direnv/
target/

**/result
Loading

0 comments on commit 4a7e990

Please sign in to comment.