Updates to project details
This commit is contained in:
Generated
+10
-1
@@ -3,5 +3,14 @@
|
||||
version = 4
|
||||
|
||||
[[package]]
|
||||
name = "sample-rust-app"
|
||||
name = "kt_log"
|
||||
version = "0.1.4"
|
||||
source = "sparse+https://git.moturpin.com/api/packages/Matsubaa/cargo/"
|
||||
checksum = "3aefa57718ba65539591b8e6bc6062f9eccc3f0b259828553b01dfb8f343f59f"
|
||||
|
||||
[[package]]
|
||||
name = "rustHW"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"kt_log",
|
||||
]
|
||||
|
||||
+14
-2
@@ -1,6 +1,18 @@
|
||||
[package]
|
||||
name = "sample-rust-app"
|
||||
name = "rustHW"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
kt_log = { version = "0.1.4", registry = "gitea" }
|
||||
|
||||
[lib]
|
||||
crate-type = ["staticlib"]
|
||||
|
||||
|
||||
[profile.release]
|
||||
panic = "abort"
|
||||
lto = true
|
||||
|
||||
[profile.dev]
|
||||
panic = "abort"
|
||||
|
||||
@@ -9,13 +9,16 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs @ {self, ...}: let
|
||||
outputs =
|
||||
inputs@{ self, ... }:
|
||||
let
|
||||
supportedSystems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
forEachSupportedSystem = f:
|
||||
forEachSupportedSystem =
|
||||
f:
|
||||
inputs.nixpkgs.lib.genAttrs supportedSystems (
|
||||
system:
|
||||
f {
|
||||
@@ -27,7 +30,8 @@
|
||||
};
|
||||
}
|
||||
);
|
||||
in {
|
||||
in
|
||||
{
|
||||
formatter = forEachSupportedSystem ({ pkgs }: pkgs.rustfmt);
|
||||
|
||||
templates = {
|
||||
@@ -38,9 +42,11 @@
|
||||
};
|
||||
|
||||
overlays.default = _final: prev: {
|
||||
rustToolchain = with inputs.fenix.packages.${prev.stdenv.hostPlatform.system};
|
||||
rustToolchain =
|
||||
with inputs.fenix.packages.${prev.stdenv.hostPlatform.system};
|
||||
combine (
|
||||
with stable; [
|
||||
with stable;
|
||||
[
|
||||
clippy
|
||||
rustc
|
||||
cargo
|
||||
@@ -120,7 +126,7 @@
|
||||
{ pkgs }: {
|
||||
# Build the skeletal Cargo project
|
||||
default = pkgs.rustPlatform.buildRustPackage {
|
||||
pname = "sample-rust-app";
|
||||
pname = "rustHW";
|
||||
version = "0.1.0";
|
||||
src = ./.;
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
|
||||
Reference in New Issue
Block a user