Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							1791c089b6 
							
						 
					 
					
						
						
							
							macro: need to allow specifying the body type now  
						
						... 
						
						
						
						TODO:
  - change parse_object to use Punctuated for the fields to
    support longer value types (so we can use actual types
    as fields)
  - allow adding a body type to methods
  - allow adding a body type to routers explicitly
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2019-06-12 09:48:30 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							ff2767129f 
							
						 
					 
					
						
						
							
							rename reload_timezone -> reload-timezone  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2019-06-12 09:48:30 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							b82b14d947 
							
						 
					 
					
						
						
							
							macro: add wildcard matching to router macro  
						
						... 
						
						
						
						router!{
    /path/{parameter}*: {
        methods...
    }
}
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2019-06-12 09:48:30 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							dcfa3ca9a2 
							
						 
					 
					
						
						
							
							allow async api methods to return Response<Bytes>  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2019-06-12 09:48:30 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							3f7e4c0eda 
							
						 
					 
					
						
						
							
							router: add remaining missing ::proxmox::api:: prefixes  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2019-06-12 09:48:30 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							2b577c9c17 
							
						 
					 
					
						
						
							
							cleanup  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2019-06-12 09:48:30 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							1993460d4a 
							
						 
					 
					
						
						
							
							allow integer literals as subdirectories  
						
						... 
						
						
						
						eg: /api/2/ should be legal
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2019-06-12 09:48:30 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							f3e2e672be 
							
						 
					 
					
						
						
							
							use 'quote' in router macro  
						
						... 
						
						
						
						get rid of a lot of unreadable TokenTree entries
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2019-06-12 09:48:30 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							7155689724 
							
						 
					 
					
						
						
							
							fix missing proxmox_api -> proxmox::api replacement  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2019-06-12 09:48:30 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							cd23e0956a 
							
						 
					 
					
						
						
							
							macro: switch to using proxmox::api  
						
						... 
						
						
						
						and fixup a `bail!` -> `::failure::bail!`
Signed-off-by: Wolfgang Bumiller <wry.git@bumiller.com> 
						
					 
					
						2019-06-12 09:48:30 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							3dd6cd3fe0 
							
						 
					 
					
						
						
							
							formatting fixup  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2019-06-07 12:03:17 +02:00 
						 
				 
			
				
					
						
							
							
								Wolfgang Bumiller 
							
						 
					 
					
						
						
						
						
							
						
						
							b5c05fc85c 
							
						 
					 
					
						
						
							
							import proxmox-api-macro crate  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> 
						
					 
					
						2019-06-06 15:25:47 +02:00