Compare commits

..

No commits in common. "057faa1342a0432ecc7bc9225f1e449a7686b24b" and "890174fd3e750aec749868715a2e52353413e9da" have entirely different histories.

6 changed files with 4 additions and 28 deletions

1
.envrc
View File

@ -1 +0,0 @@
use nix

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
/target /target
Cargo.lock Cargo.lock
.direnv

View File

@ -1,12 +1,11 @@
[package] [package]
name = "nslice" name = "nslice"
version = "0.2.1" version = "0.2.0"
authors = ["Leonora Tindall <nora@nora.codes>"] authors = ["Leonora Tindall <nora@nora.codes>"]
edition = "2021" edition = "2021"
description = "Structures for interpreting slices of variable length as arrays" description = "Structures for interpreting slices of variable length as arrays"
license = "MIT" license = "MIT"
keywords = ["memory", "slice", "array"] keywords = ["memory", "slice", "array"]
categories = ["data-structures"] categories = ["data-structures"]
repository = "https://codeberg.org/noracodes/nslice" repository = "https://git.nora.codes/nora/nslice"
readme = "README.md" readme = "README.md"
rust-version = "1.56.1"

View File

@ -20,11 +20,6 @@ assert_eq!(minslice.head[0], 1);
assert_eq!(minslice.tail[2], 6); assert_eq!(minslice.tail[2], 6);
``` ```
## MSRV
This project supports Rust 1.56.1 and onward.
## License ## License
This project is licensed MIT. This project is licensed MIT.

View File

@ -1,2 +0,0 @@
[toolchain]
channel = "1.56.1"

View File

@ -1,14 +0,0 @@
let
rust_overlay = import (builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz");
pkgs = import <nixpkgs> { overlays = [ rust_overlay ]; };
rustVersion = "1.56.1";
rust = pkgs.rust-bin.stable.${rustVersion}.default;
in
pkgs.mkShell {
buildInputs = [
rust
] ++ (with pkgs; [
pkg-config
]);
RUST_BACKTRACE = 1;
}