commit 4e80e2ac5d958bfba1c764932eee54b9533ebde2
parent 6d6bc4e5fda551d544a72e8a157c59ab9d7f9b69
Author: finwo <finwo@pm.me>
Date: Sun, 22 Mar 2026 17:16:49 +0100
Update package structure
Diffstat:
4 files changed, 37 insertions(+), 10 deletions(-)
diff --git a/.dep b/.dep
@@ -0,0 +1,2 @@
+finwo/assert https://git.finwo.net/lib/assert.h/archives/heads/main.tar.gz
+tidwall/buf https://git.finwo.net/misc/dep-repository/archives/heads/pkg/tidwall/buf.tar.gz
diff --git a/.dep.export b/.dep.export
@@ -0,0 +1 @@
+include/finwo/dtype.h src/dtype.h
diff --git a/LICENSE.md b/LICENSE.md
@@ -0,0 +1,34 @@
+Copyright (c) 2026 finwo
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to use, copy,
+modify, and distribute the Software, subject to the following conditions:
+
+ 1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions, and the following disclaimer.
+
+ 2. Redistributions in binary form, or any public offering of the Software
+ (including hosted or managed services), must reproduce the above copyright
+ notice, this list of conditions, and the following disclaimer in the
+ documentation and/or other materials provided.
+
+ 3. Any redistribution or public offering of the Software must clearly attribute
+ the Software to the original copyright holder, reference this License, and
+ include a link to the official project repository or website.
+
+ 4. The Software may not be renamed, rebranded, or marketed in a manner that
+ implies it is an independent or proprietary product. Derivative works must
+ clearly state that they are based on the Software.
+
+ 5. Modifications to copies of the Software must carry prominent notices stating
+ that changes were made, the nature of the modifications, and the date of the
+ modifications.
+
+Any violation of these conditions terminates the permissions granted herein.
+
+THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/package.ini b/package.ini
@@ -1,10 +0,0 @@
-[dependencies]
-finwo/assert=main
-tidwall/buf=master
-
-[export]
-include/finwo/dtype.h=src/dtype.h
-
-[package]
-deps=lib
-name=finwo/dtype