Removals:
Changes:
+- Simplified using union variants of type `void`.
+ - Now instead of `.{ Foo = .{} }`, use `.Foo` instead.
- Renamed `--no-std` flag to `--no-core`, since Onyx does not call its standard
library "std", the name did not make any sense.
- `net.make_ipv4_address` now has a reasonable definition using a string for the IP,
|> string.alloc_copy();
}
-Version :: SemVer.{0, 1, 1}
+Version :: SemVer.{0, 1, 8}
package_url: str;
package_author: str;
package_version: SemVer;
+ package_license: str;
dependency_source_path: str;
dependency_binary_path: str;
load_string(pack, "author", &c.package_author);
load_string(pack, "description", &c.package_description);
load_string(pack, "url", &c.package_url);
+ load_string(pack, "license", &c.package_license);
version: str;
load_string(pack, "version", &version);
version_node := doc->create_node("version");
version_node->add_value(.{ String = tprintf("{}", config.package_version) });
+ license_node := doc->create_node("license");
+ license_node->add_value(.{ String = config.package_license });
+
array.concat(&package_node.children, .[
name_node, author_node, url_node, description_node, version_node
]);