docs: rewrite documentation.

add: Nix and Snapcraft support.
This commit is contained in:
2026-06-02 01:04:16 +08:00
parent c756d94f96
commit c42575e360
67 changed files with 1951 additions and 2295 deletions

View File

@@ -26,7 +26,9 @@
inherit system;
};
packageName = "dcr";
cargoToml = builtins.fromTOML (builtins.readFile ./Cargo.toml);
packageName = cargoToml.package.name;
packageVersion = cargoToml.package.version;
rustToolchain = fenix.packages.${system}.stable.toolchain;
@@ -45,7 +47,7 @@
app = rustPlatform.buildRustPackage {
pname = packageName;
version = "0.6.9";
version = packageVersion;
src = ./.;