Commit Graph

  • 21e2f7ca62 Tear out requirement that Transport's error type is io::Error. Tim Kuehn 2021-03-28 23:28:01 -07:00
  • 7b7c182411 Instrument tarpc with tracing. Tim Kuehn 2021-03-15 23:51:48 -07:00
  • db0c778ead Serialize u128 TraceId as LE bytes (#344) Ben Ludewig 2021-03-30 17:41:19 +02:00
  • c3efb83ac1 Add more context to errors returned by serde transport Tim Kuehn 2021-03-28 20:02:54 -07:00
  • 3d7b0171fe Fix cargo fmt portion of pre-commit Tim Kuehn 2021-03-26 19:38:56 -07:00
  • c191ff5b2e Do not enable tokio-serde/json by default (#345) oblique 2021-03-27 03:22:44 +02:00
  • 90bc7f741d Fix up imports Tim Kuehn 2021-03-17 12:41:19 -07:00
  • d3f6c01df2 Reduce required tokio features (#343) Kitsu 2021-03-17 22:30:18 +03:00
  • c6450521e6 Add method to run a future in the current context. Tim Kuehn 2021-03-13 16:00:18 -08:00
  • 1da6bcec57 Prepare v0.25 release v0.25.1 Tim Kuehn 2021-03-10 19:49:30 -08:00
  • 75a5591158 Improve Actions hygiene Seth Vargo 2021-03-10 16:56:37 -05:00
  • 9462aad3bf Improve test coverage of serde_transport Tim Kuehn 2021-03-10 10:31:15 -08:00
  • 0964fc51ff Add transport::channel::bounded. Tim Kuehn 2021-03-08 22:23:46 -08:00
  • 27aacab432 Alternate polling expired and new requests. Tim Kuehn 2021-03-08 20:19:57 -08:00
  • 3feb465ad3 Clean up some server documentation. Tim Kuehn 2021-03-08 15:43:23 -08:00
  • 66cdc99ae0 Factor out ensure_writeable methods. Tim Kuehn 2021-03-08 10:50:29 -08:00
  • 66419db6fd Don't send a deadline-exceeded response. Tim Kuehn 2021-03-07 23:45:32 -08:00
  • 72d5dbba89 Cleanup wrap-up. Tim Kuehn 2021-03-07 17:42:50 -08:00
  • e75193c191 Client RPCs now take &self. Tim Kuehn 2021-03-07 17:33:31 -08:00
  • ce4fd49161 Centralize client-side request deadline handling. Tim Kuehn 2021-03-07 15:31:17 -08:00
  • 3c978c5bf6 Handle deadlines in BaseChannel. Tim Kuehn 2021-03-07 00:12:46 -08:00
  • 6f419e9a9a Refactor server module to be easier to understand. Tim Kuehn 2021-03-06 18:56:31 -08:00
  • b3eb8d0b7a Move items in the rpc module to the top level. Tim Kuehn 2021-03-06 14:26:09 -08:00
  • 3b422eb179 Abort all in-flight requests when dropping BaseChannel. Tim Kuehn 2021-01-24 17:57:44 -08:00
  • 4b513bad73 fix clippy::needless_lifetimes Michael Zimmermann 2021-01-20 19:04:40 +01:00
  • e71e17866d github actions: cargo-check mipsel-unknown-linux-gnu Michael Zimmermann 2021-01-20 18:33:49 +01:00
  • 7e3fbec077 example-service: set max frame length to usize::MAX Michael Zimmermann 2021-01-20 18:00:12 +01:00
  • e4bc5e8e32 use AtomicUsize instead of AtomicU64 Michael Zimmermann 2021-01-20 18:00:36 +01:00
  • bc982c5584 Prepare release of v0.24.1 v0.24.1 Tim Kuehn 2020-12-28 15:18:48 -08:00
  • d440e12c19 Bump tokio to 1.0 (#337) Logan Magee 2020-12-23 21:49:02 -09:00
  • bc8128af69 add serde derivation alias macro (#333) Frederik-Baetens 2020-11-13 23:36:59 +01:00
  • 1d87c14262 Fix github actions config - take 3 Tim Kuehn 2020-11-12 12:33:10 -08:00
  • ca929c2178 Fix github actions config - take 2 Tim Kuehn 2020-11-12 12:24:46 -08:00
  • 569039734b Fix github actions config Tim Kuehn 2020-11-12 12:13:10 -08:00
  • 3d43310e6a Make 'cargo test' succeed again Tim Kuehn 2020-11-12 11:30:20 -08:00
  • d21cbddb0d Cargo test should pass without features enabled Tim Kuehn 2020-11-12 10:57:38 -08:00
  • 25aa857edf Reexport/tokio serde (#332) Frederik-Baetens 2020-11-09 21:56:46 +01:00
  • 0bb2e2bbbe re-export serde (#330) Frederik-Baetens 2020-11-09 20:42:28 +01:00
  • dc376343d6 Remove #[derive(Debug)] from library structs (#327) chansuke 2020-11-05 04:24:57 +09:00
  • 2e7d1f8a88 Bump dependencies (#328) Artem Vorotnikov 2020-10-31 19:43:40 +03:00
  • 6314591c65 Add tokio's macros feature to readme example's dependencies Tim Kuehn 2020-10-30 17:29:14 -07:00
  • 7dd7494420 Prepare v0.23.1 release Tim Kuehn 2020-10-29 18:54:35 -07:00
  • 6c10e3649f Fix tokio required features Tim Kuehn 2020-10-29 18:52:22 -07:00
  • 4c6dee13d2 cargo fmt Tim Kuehn 2020-10-29 00:44:15 -07:00
  • e45abe953a tarpc: enable tokio's time feature (#325) Bernardo Meurer 2020-10-29 00:43:38 -07:00
  • dec3e491b5 Fix unused import Tim Kuehn 2020-10-27 15:47:55 -07:00
  • 6ce341cf79 Add example for custom transport usage (#322) Kitsu 2020-10-24 00:28:26 +03:00
  • b9868250f8 Prepare release of v0.23.0 v0.23.0 Tim Kuehn 2020-10-19 11:12:43 -07:00
  • a3f1064efe Cargo.toml: Clean + update dependencies Urhengulas 2020-10-18 01:54:18 +02:00
  • 026083d653 Bump tokio from 0.2 to 0.3 (#319) Johann Hemmann 2020-10-18 02:33:08 +02:00
  • d27f341bde Prepare release of v0.22.0 v0.22.0 Tim Kuehn 2020-08-19 18:32:56 -07:00
  • 2264ebecfc Remove serde_transport::tcp::connect_with. Tim Kuehn 2020-08-19 17:51:53 -07:00
  • 3207affb4a Update pre-commit for changes to cargo fmt. Tim Kuehn 2020-08-19 17:51:20 -07:00
  • 0602afd50c Make connect() and connect_with() take a FnOnce for the codec (#315) Andre B. Reis 2020-08-20 00:15:26 +01:00
  • 4343e12217 Fix incorrect documentation Tim Kuehn 2020-08-18 02:58:11 -07:00
  • 7fda862fb8 Run cargo fmt Tim Kuehn 2020-08-18 02:55:24 -07:00
  • aa7b875b1a Expose framing config in serde_transport. Tim Kuehn 2020-08-18 02:34:41 -07:00
  • 54d6e0e3b6 Add license headers Tim Kuehn 2020-08-04 17:33:41 -07:00
  • bea3b442aa Move mod.rs files up one directory. Tim Kuehn 2020-08-04 17:25:53 -07:00
  • 954a2502e7 Remove duplicate rustdoc Tim Kuehn 2020-08-02 22:24:09 -07:00
  • e3f34917c5 Prepare v0.21.1 v0.21.1 Tim Kuehn 2020-08-02 21:05:54 -07:00
  • f65dd05949 Enable documentation for optional features on docs.rs Tim Kuehn 2020-08-02 20:57:21 -07:00
  • 240c436b34 Ensure Context is Sync. Tim Kuehn 2020-08-01 14:01:07 -07:00
  • c9803688cc Ensure Context is Send. Tim Kuehn 2020-08-01 13:49:25 -07:00
  • 4987094483 Compression example. Tim Kuehn 2020-08-01 13:45:05 -07:00
  • ff55080193 Minor refactor Tim Kuehn 2020-07-30 12:02:14 -07:00
  • 258193c932 PubSub example needs to populate the subscription topics. Tim Kuehn 2020-07-30 11:14:13 -07:00
  • 67823ef5de Get rid of sleeps in PubSub example. Tim Kuehn 2020-07-30 01:16:14 -07:00
  • a671457243 Add topics to PubSub example Tim Kuehn 2020-07-29 22:51:04 -07:00
  • cf654549da Add documentation to PubSub example. Tim Kuehn 2020-07-29 18:05:35 -07:00
  • 6a01e32a2d Shut down client dispatch immediately when read half of transport is closed. Tim Kuehn 2020-07-29 12:09:44 -07:00
  • e6597fab03 Add some error context to client dispatch. Tim Kuehn 2020-07-29 12:02:36 -07:00
  • ebd245a93d Rewrite pubsub example to have the subscriber connect to the publisher. Tim Kuehn 2020-07-28 22:06:44 -07:00
  • 3ebc3b5845 Add accessor fns. Tim Kuehn 2020-07-28 21:27:36 -07:00
  • 0e5973109d Make docs.rs document feature-gated public items. Tim Kuehn 2020-07-28 19:43:43 -07:00
  • 5f02d7383a Add tests for correct diagnostic output from proc macro-generated compiler errors. Tim Kuehn 2020-07-27 01:14:55 -07:00
  • 2bae148529 Address clippy lints Tim Kuehn 2020-07-27 00:04:35 -07:00
  • 42a2e03aab Add better diagnostics for missing 'async' in impls using #[tarpc::server] Tim Kuehn 2020-07-26 23:36:09 -07:00
  • b566d0c646 Use #[tarpc::server] in example-service Tim Kuehn 2020-07-26 18:21:43 -07:00
  • b359f16767 Add concurrent tests using join and join_all Jon Cinque 2020-07-24 10:24:21 +02:00
  • f8681ab134 Migrate examples to tarpc::server Greg Fitzgerald 2020-07-22 10:53:04 -06:00
  • 7e521768ab Prepare for v0.21.0 release. v0.21.0 Tim Kuehn 2020-06-26 20:02:59 -07:00
  • e9b1e7d101 Use #[non_exhaustive] in lieu of _NonExhaustive enum variant. Tim Kuehn 2020-06-26 19:47:20 -07:00
  • f0322fb892 Remove uses of pin_project::project attribute Taiki Endo 2020-06-06 09:26:07 +09:00
  • 617daebb88 Add tarpc::server proc-macro as syntactic sugar for async methods. (#302) Patrick Elsen 2020-05-16 19:25:25 +02:00
  • a11d4fff58 Remove raii_counter Tim Kuehn 2020-04-22 00:43:13 -07:00
  • bf42a04d83 Move the request timeout so that it surrounds the entire call, not just the response future. (#295) Tim 2020-02-25 14:42:40 -08:00
  • 06528d6953 Fix clippy lint. Tim Kuehn 2019-12-19 12:28:26 -08:00
  • 9f00395746 Replace _non_exhaustive fields with #[non_exhaustive] attribute. Tim Kuehn 2019-12-19 12:13:09 -08:00
  • e0674cd57f Make pre-push run on rust stable. Tim Kuehn 2019-12-19 12:06:06 -08:00
  • 7e49bd9ee7 Clean up badges a bit. Tim Kuehn 2019-12-16 13:21:00 -08:00
  • 8a1baa9c4e Remove usage of unsafe in rpc::client::channel. Tim Kuehn 2019-12-16 11:10:57 -08:00
  • 31c713d188 Allow raw identifiers + fixed naming + place all code generation methods in impl (#291) Oleg Nosov 2019-12-12 21:13:57 +03:00
  • d905bc1591 Prepare for tarpc release v0.20.0 v0.20.0 Tim Kuehn 2019-12-11 20:31:52 -08:00
  • 7f946c7f83 Make tokio a hard dependency. Tim Kuehn 2019-12-11 20:08:36 -08:00
  • 36cfdb6c6f Fix tokio dependency for example-service Tim Kuehn 2019-12-11 20:01:06 -08:00
  • dbabe9774f Clean up proc macro code to make clippy happy. Tim Kuehn 2019-12-11 17:14:24 -08:00
  • deb041b8d3 Replace travis-ci badge with github CI workflow badge Tim Kuehn 2019-12-11 12:54:56 -08:00
  • 85d49477f5 Updated and simplified macros (#290) Oleg Nosov 2019-12-11 23:28:24 +03:00
  • 45af6ccdeb Workaround for pubsub example hanging. Tim Kuehn 2019-12-07 22:01:37 -08:00