-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose better errors #7
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use_flake | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
*~ | ||
target | ||
Cargo.lock | ||
|
||
# Nix | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd rather keep environment-specific config out of this repository. You can always add these to your global gitignore. See https://git-scm.com/docs/gitignore. It says the default location is |
||
.direnv/ | ||
result* |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ edition = "2018" | |
encoding = "0.2.33" | ||
lazy_static = "1.4.0" | ||
regex = "1.5.5" | ||
thiserror = "1.0.38" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
description = "serde_divatree"; | ||
|
||
inputs = { | ||
nixpkgs.url = "github:NixOS/nixpkgs"; | ||
flake-utils.url = "github:numtide/flake-utils"; | ||
rust-overlay.url = "github:oxalica/rust-overlay"; | ||
crane = { | ||
url = "github:ipetkov/crane"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
}; | ||
|
||
outputs = { | ||
self, | ||
nixpkgs, | ||
flake-utils, | ||
rust-overlay, | ||
crane, | ||
}: let | ||
in | ||
flake-utils.lib.eachDefaultSystem | ||
(system: let | ||
pkgs = import nixpkgs { | ||
inherit system; | ||
overlays = [ (import rust-overlay) ]; | ||
}; | ||
rustToolchain = pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override { | ||
extensions = [ "rust-src" "rust-analyzer" ]; | ||
}); | ||
craneLib = crane.lib.${system}; | ||
in rec { | ||
devShells.default = with pkgs; pkgs.mkShell rec { | ||
nativeBuildInputs = [ | ||
pkg-config | ||
]; | ||
buildInputs = [ | ||
rustToolchain | ||
cargo-semver-checks | ||
]; | ||
}; | ||
} | ||
); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this file and the flake files.