From 1384481d8f38c26e781c026876a7b5d98081b60e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 19 Nov 2025 08:00:00 +0800 Subject: Well, we use a dependency (golang.org/x/sys/cpu) now... --- README.md | 5 ++--- go.mod | 2 ++ go.sum | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 go.sum diff --git a/README.md b/README.md index c70723fe..33475ace 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,8 @@ developing what forges like [Villosa](https://codeberg.org/lindenii/villosa) and interested) requires. Afterwards, we'll take a look at what other usages (such as writing Git clients, IDE integration, etc) would need. -Furgit has no dependencies outside the standard library. In the future, -packages from `golang.org/x` may be included. It is unlikely that other -dependencies will be introduced. +Furgit has no dependencies other than the standard library and some packages +from `golang.org/x`. It is unlikely that other dependencies will be introduced. Currently, furgit is very basic; it supports reading and writing loose objects and reading from packfiles. There is some infrastructure for writing packfiles diff --git a/go.mod b/go.mod index 7ba4fa83..5f189735 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,5 @@ module git.sr.ht/~runxiyu/furgit go 1.25.3 + +require golang.org/x/sys v0.38.0 diff --git a/go.sum b/go.sum new file mode 100644 index 00000000..3bbbd1f9 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc= +golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= -- cgit v1.3.1-10-gc9f91