I think it’s solid enough to use in a wider context. Change-Id: If53e8bbb6b90fa88d73fb42730db470e822ea182 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3055 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: lukegb <lukegb@tvl.fyi>
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			420 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			420 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ depot, pkgs, ... }:
 | 
						|
 | 
						|
let
 | 
						|
 | 
						|
  read-http = depot.nix.writers.rustSimple {
 | 
						|
    name = "read-http";
 | 
						|
    dependencies = [
 | 
						|
      depot.third_party.rust-crates.ascii
 | 
						|
      depot.third_party.rust-crates.httparse
 | 
						|
      depot.users.Profpatsch.netencode.netencode-rs
 | 
						|
      depot.users.Profpatsch.arglib.netencode.rust
 | 
						|
      depot.users.Profpatsch.execline.exec-helpers
 | 
						|
    ];
 | 
						|
  } (builtins.readFile ./read-http.rs);
 | 
						|
 | 
						|
in read-http
 |