Commit Graph

  • 5599e2633c correctly use Arc pointer Dietmar Maurer 2018-11-14 14:28:54 +0100
  • 1a53be1443 factor out server code into api_server.rs Dietmar Maurer 2018-11-14 13:22:33 +0100
  • a9696f7beb use Arc for ApiServer Dietmar Maurer 2018-11-14 11:57:01 +0100
  • 2c10fd5cb1 simplify code Dietmar Maurer 2018-11-14 11:38:26 +0100
  • 324a5bd095 remove service implementation, use service_fn again Dietmar Maurer 2018-11-13 14:47:03 +0100
  • a974251ee6 improve error handling, use a Service Dietmar Maurer 2018-11-13 12:36:56 +0100
  • 035cce945e remove static directory cache Dietmar Maurer 2018-11-12 14:11:04 +0100
  • 198fab6f2a santtize paths in handle_request Dietmar Maurer 2018-11-12 13:19:53 +0100
  • a0efdca18b code cleanup Dietmar Maurer 2018-11-11 17:19:24 +0100
  • 78d0783b00 handle_static_file_download: optimize small files Dietmar Maurer 2018-11-11 17:10:42 +0100
  • 579fbe7dc8 implement static file download Dietmar Maurer 2018-11-11 15:54:05 +0100
  • cec9f02ebc limit allowed body size Dietmar Maurer 2018-11-11 13:24:14 +0100
  • 3cdec2a010 use header::CONTENT_TYPE Dietmar Maurer 2018-11-11 12:55:30 +0100
  • ef1f0e655a add code to create directory name cache Dietmar Maurer 2018-11-10 17:17:41 +0100
  • 3c1d7afc42 another way to read files using tokio_codec Dietmar Maurer 2018-11-10 15:12:45 +0100
  • 805aec1572 play around with async tasks Dietmar Maurer 2018-11-10 12:06:39 +0100
  • 6639c14bd9 use better http status codes Dietmar Maurer 2018-11-10 10:32:25 +0100
  • 260c1ee8c6 cleanup futures Dietmar Maurer 2018-11-10 10:00:48 +0100
  • c819ec8dde call api method and return result Dietmar Maurer 2018-11-09 13:48:57 +0100
  • b82472c0d2 use futures - first try Dietmar Maurer 2018-11-09 08:22:54 +0100
  • 4beaacb6f4 code cleanup Dietmar Maurer 2018-11-07 13:58:09 +0100
  • a908292008 implement string enum validation Dietmar Maurer 2018-11-07 13:25:47 +0100
  • 0a33b12851 try to reduce space usage in ApiStringFormat by using Box Dietmar Maurer 2018-11-07 13:01:14 +0100
  • abbf40fc2e define a separate enum ApiStringFormat Dietmar Maurer 2018-11-07 12:55:33 +0100
  • d46287e083 implement string regex matcher Dietmar Maurer 2018-11-07 12:35:52 +0100
  • 144f0f5eda remove unnecessary test Dietmar Maurer 2018-11-07 12:16:16 +0100
  • 7b5316ddfa improve error messages Dietmar Maurer 2018-11-07 12:14:52 +0100
  • 7c32470aea implement some string tests Dietmar Maurer 2018-11-07 12:11:09 +0100
  • 08a13bb456 implement integer schema tests Dietmar Maurer 2018-11-07 11:55:08 +0100
  • e72677bf50 pass ApiMethod to handler Dietmar Maurer 2018-11-07 11:06:37 +0100
  • ab9e6de21c test for required parameters Dietmar Maurer 2018-11-06 14:18:13 +0100
  • b8bcc7630c try to write unit test Dietmar Maurer 2018-11-06 13:58:05 +0100
  • cfa5886c33 implement simple schema parser Dietmar Maurer 2018-11-06 13:10:10 +0100
  • 42d569c186 move url related code back to main.rs Dietmar Maurer 2018-11-06 09:35:11 +0100
  • 6d77fb4063 move parse_query into json_schema Dietmar Maurer 2018-11-05 15:20:27 +0100
  • 0dde2f04d0 avoid static references Dietmar Maurer 2018-11-03 15:10:21 +0100
  • 331ab992d7 use const for default object initializers Dietmar Maurer 2018-11-03 10:50:24 +0100
  • 504b359724 another way to initialize the api tree Dietmar Maurer 2018-11-03 10:42:48 +0100
  • 0e6967d648 move test code Dietmar Maurer 2018-11-03 09:08:01 +0100
  • 18671ca530 convert find_method_info function into a method Dietmar Maurer 2018-11-02 10:01:47 +0100
  • 8741bc2079 use reference to Jss inside PropertyMap Dietmar Maurer 2018-11-02 09:50:26 +0100
  • 016aa6cbab define macro for propertymap Dietmar Maurer 2018-11-02 09:44:18 +0100
  • 79fa17d986 use macro to declare static methodinfo items Dietmar Maurer 2018-11-01 18:10:36 +0100
  • bfcba4fd86 new subdirmap macro, cleanups Dietmar Maurer 2018-11-01 15:41:08 +0100
  • 763220cefa use edition 2018 (beta) Dietmar Maurer 2018-11-01 14:42:27 +0100
  • 1ac3e212c2 avoid warning about unused vars Dietmar Maurer 2018-11-01 14:19:02 +0100
  • f1c0021436 remove hardcoded static lifetime Dietmar Maurer 2018-11-01 14:16:41 +0100
  • 89feb6acdf use refs in ApiMethod Dietmar Maurer 2018-11-01 13:57:53 +0100
  • b90dcc34bb cleanup lifetime in find_method_info Dietmar Maurer 2018-11-01 13:54:04 +0100
  • 3cd244b9fa static_map: remove starnge type borrow Dietmar Maurer 2018-11-01 13:45:10 +0100
  • d11f14f77d do not use phf Dietmar Maurer 2018-11-01 13:05:45 +0100
  • 28e47cea55 start implementing request handler Dietmar Maurer 2018-11-01 11:30:49 +0100
  • 886e5ce8f7 split code into several files Dietmar Maurer 2018-10-31 10:42:14 +0100
  • 22f0adf26a try to define an static api Dietmar Maurer 2018-10-30 14:06:37 +0100
  • 4c488a9dec depend on serde Dietmar Maurer 2018-10-30 14:06:15 +0100
  • d6a4ba7192 move code into lib.rs Dietmar Maurer 2018-10-30 10:40:05 +0100
  • d8d978ebc4 initial version Dietmar Maurer 2018-10-30 10:04:30 +0100