cf-modkit 0.6.4

Core ModKit library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0599]: no method named `register` found for struct `modkit::OperationBuilder<Present, Missing, ()>` in the current scope
  --> tests/ui/no_response.rs:25:10
   |
22 |       let _ = OperationBuilder::<_, _, ()>::get("/tests/v1/test")
   |  _____________-
23 | |         .summary("Test endpoint")
24 | |         .handler(test_handler)
25 | |         .register(router, &registry);
   | |         -^^^^^^^^ method not found in `OperationBuilder<Present, Missing, ()>`
   | |_________|
   |
   |
   = note: the method was found for
           - `modkit::OperationBuilder<Present, Present, S>`