chore(nix-compat): bump to nom 8.x
See 72dd5818b7/CHANGELOG.md
for the nom changelog.
Most notably, there's now a .parse() to be added:
`combinator(arg)(input)` -> `combinator(arg).parse(input)`
There also doesn't need to be a tuple combinator (it's implemented on
tuples directly).
This also refactors the string / byte field parsing parts, to make them
more concise.
Change-Id: I9e8a3cedd07d6705be391898eb6a486fb8164069
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13193
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
Reviewed-by: Brian Olsen <me@griff.name>
This commit is contained in:
parent
2daa483249
commit
a512f16424
15 changed files with 83 additions and 233 deletions
|
|
@ -2745,20 +2745,6 @@ rec {
|
|||
};
|
||||
resolvedDefaultFeatures = [ "default" ];
|
||||
};
|
||||
"minimal-lexical" = rec {
|
||||
crateName = "minimal-lexical";
|
||||
version = "0.2.1";
|
||||
edition = "2018";
|
||||
sha256 = "16ppc5g84aijpri4jzv14rvcnslvlpphbszc7zzp6vfkddf4qdb8";
|
||||
libName = "minimal_lexical";
|
||||
authors = [
|
||||
"Alex Huszagh <ahuszagh@gmail.com>"
|
||||
];
|
||||
features = {
|
||||
"default" = [ "std" ];
|
||||
};
|
||||
resolvedDefaultFeatures = [ "std" ];
|
||||
};
|
||||
"miniz_oxide" = rec {
|
||||
crateName = "miniz_oxide";
|
||||
version = "0.8.0";
|
||||
|
|
@ -3047,9 +3033,9 @@ rec {
|
|||
};
|
||||
"nom" = rec {
|
||||
crateName = "nom";
|
||||
version = "7.1.3";
|
||||
edition = "2018";
|
||||
sha256 = "0jha9901wxam390jcf5pfa0qqfrgh8li787jx2ip0yk5b8y9hwyj";
|
||||
version = "8.0.0";
|
||||
edition = "2021";
|
||||
sha256 = "01cl5xng9d0gxf26h39m0l8lprgpa00fcc75ps1yzgbib1vn35yz";
|
||||
authors = [
|
||||
"contact@geoffroycouprie.com"
|
||||
];
|
||||
|
|
@ -3059,15 +3045,10 @@ rec {
|
|||
packageId = "memchr";
|
||||
usesDefaultFeatures = false;
|
||||
}
|
||||
{
|
||||
name = "minimal-lexical";
|
||||
packageId = "minimal-lexical";
|
||||
usesDefaultFeatures = false;
|
||||
}
|
||||
];
|
||||
features = {
|
||||
"default" = [ "std" ];
|
||||
"std" = [ "alloc" "memchr/std" "minimal-lexical/std" ];
|
||||
"std" = [ "alloc" "memchr/std" ];
|
||||
};
|
||||
resolvedDefaultFeatures = [ "alloc" "default" "std" ];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue