tvl-depot/tvix/nix-compat/src
Vincent Ambo 5ffb997864 fix(tvix): ensure PartialOrd/Ord agree for StorePath & NixString
This fixes a *future* clippy lint:
https://rust-lang.github.io/rust-clippy/master/index.html#/incorrect_partial_ord_impl_on_ord_type

In essence, because the implementation of *both* Ord and PartialOrd
implies that ordering is not partial, all results of PartialOrd should
simply be those of Ord. This is to avoid subtle bugs in future
refactorings.

Change-Id: I8fc6694010208752dd47746a2aaaeca0c788d574
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10109
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2023-11-25 15:48:46 +00:00
..
aterm feat(nix-compat/{aterm,derivation}): init parser 2023-10-16 12:23:00 +00:00
bin feat(tvix/nix-compat): add drvfmt 2023-11-07 11:27:08 +00:00
derivation refactor(tvix/nix-compat): cleanup parse_{ca,hash} and fmt structs 2023-11-22 17:54:59 +00:00
nar feat(nix-compat/nar/reader): provide passthrough buffered I/O 2023-11-19 09:53:10 +00:00
narinfo feat(nix-compat/narinfo/signature): add new() constructor 2023-11-22 20:37:10 +00:00
nixhash refactor(tvix/nix-compat): cleanup parse_{ca,hash} and fmt structs 2023-11-22 17:54:59 +00:00
store_path fix(tvix): ensure PartialOrd/Ord agree for StorePath & NixString 2023-11-25 15:48:46 +00:00
lib.rs feat(tvix/nix-compat): add narinfo parsing and serialisation 2023-10-27 16:08:06 +00:00
nixbase32.rs feat(nix-compat/nixbase32): use data_encoding::DecodeError 2023-11-10 19:05:36 +00:00