Update per nomem changes in Hare upstream
Signed-off-by: Drew DeVault <sir@cmpwn.com>
encoding::json: update strconv usage
Signed-off-by: Drew DeVault <sir@cmpwn.com>
json::dump: update per for-each changes
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Add put and take
These functions allow for more efficient object manipulation by avoiding
deep copies. _load_obj is updated to make use of the put function,
removing the need to duplicate the loaded value on each level of nesting.
Signed-off-by: Lassi Pulkkinen <lassi@pulk.fi>
remove unreachable abort
Fixing compilation with latest hare version.
Signed-off-by: Sertonix <sertonix@posteo.net>
Fix the install target of the makefile
It was remoing the enitre "encoding" directory, which I don't think is
correct?
Various stdlib & build driver fixups
Fix object equality comparison
Hash map iteration order can't be relied on.
Signed-off-by: Lassi Pulkkinen <lassi@pulk.fi>
Add count function
Signed-off-by: Lassi Pulkkinen <lassi@pulk.fi>
Fix typo in test suite
Signed-off-by: Lassi Pulkkinen <lassi@pulk.fi>
Fix memory leaks on load failure
Signed-off-by: Lassi Pulkkinen <lassi@pulk.fi>
Fix typo
Hi,
This patch fixes a typo in the README
all best,
jgart
encoding::json: reconfigure as standalone module
Rename strings::try_fromutf8 to strings::fromutf8
According to ecs on IRC, these functions were written before the error
assertion operator was added. This design is more in line with the rest
of the standard library.
Signed-off-by: Sebastian LaVine <mail@smlavine.com>
Export BUCKETS constants
These are used in the definitions of exported types, so the constants
should also be exported.
Signed-off-by: Sebastian <sebastian@sebsite.pw>