Commit Graph

771 Commits

Author SHA1 Message Date
Tim Kuehn
c398e2389b Why were we wrapping the service in an arc? 2016-02-24 23:25:50 -08:00
Tim Kuehn
03dc512e25 Remove Addr associated type of Dialer.
Also, make spawn() take a Dialer, but impl Dialer for str, defaulting to TCP transport.
2016-02-24 21:59:21 -08:00
Tim Kuehn
8307c708a3 Better documentation for Stream.
Basically copied from TcpStream verbatim.
2016-02-24 20:32:15 -08:00
Tim Kuehn
774411c636 Create temp file using tempdir in test 2016-02-24 20:26:49 -08:00
Tim Kuehn
d5b2f23f74 Move generic bounds to where clause 2016-02-23 08:26:56 -08:00
Tim Kuehn
396aec3c2f Add a test 2016-02-23 01:53:20 -08:00
Tim Kuehn
28c6c333e5 Reorgnize modules 2016-02-23 01:13:11 -08:00
Tim Kuehn
2d1a77ec10 Merge branch 'master' of github.com:google/tarpc into listener 2016-02-23 00:09:53 -08:00
Tim Kuehn
a0e6147482 Make Tcp* default types 2016-02-23 00:07:03 -08:00
Tim Kuehn
fcdb0d9375 Add support for arbitrary transports.
Quite a bit of machinery added:
 * Listener trait
 * Dialer trait
 * Stream trait
 * Transport trait
2016-02-22 23:50:34 -08:00
Tim
4c1d15f8ea Merge pull request #26 from Bowbaq/master
Fix your typo
2016-02-20 18:50:25 -08:00
Maxime Bury
ece1cc60b9 Fix your typo 2016-02-20 18:43:31 -08:00
shaladdle
7d8a508379 Merge pull request #25 from tikue/fix-readme
Fix the README example. It broke again. :(
2016-02-20 01:33:29 -08:00
Tim Kuehn
9193357d60 Fix the README example. It broke again. :( v0.3.0 2016-02-20 01:29:22 -08:00
shaladdle
b777e0bbf7 Merge pull request #24 from tikue/release-notes
Add release notes
2016-02-20 01:15:49 -08:00
Tim Kuehn
04624f054d Forgot the file 2016-02-20 01:11:02 -08:00
Tim Kuehn
f870f832a9 Rename RELEASE_NOTES.md => RELEASES.md to conform to rust-lang/rust. 2016-02-20 01:07:51 -08:00
Tim Kuehn
dc347021d4 Rework a line 2016-02-20 01:05:43 -08:00
Tim Kuehn
5973e54f62 Fix markdown 2016-02-20 01:04:40 -08:00
Tim Kuehn
e5e5c5975c Add release notes 2016-02-20 01:02:13 -08:00
shaladdle
6bb3691a30 Merge pull request #23 from tikue/deps
Update deps versions
2016-02-20 00:53:27 -08:00
Tim Kuehn
e2f1511fb3 Update deps versions 2016-02-19 23:53:27 -08:00
Tim Kuehn
99ba380825 Update readme version 2016-02-19 23:45:01 -08:00
Tim
39235343d6 Merge pull request #22 from shaladdle/allowunused
Allow most things to be unused
2016-02-19 23:40:42 -08:00
Adam Wright
f3afd080f3 Allow most things to be unused 2016-02-19 23:28:34 -08:00
Tim
043d0a1c21 Merge pull request #21 from shaladdle/bashpls
Merge shaladdle/bashpls into master.
2016-02-19 23:23:20 -08:00
shaladdle
be4caeebe8 Merge pull request #20 from tikue/config
Merge tikue/config into master.
2016-02-19 23:16:15 -08:00
Adam Wright
06a2cab31c Move /bin/bash to the top so it works 2016-02-19 23:08:50 -08:00
Tim Kuehn
934c51f4ab Bunch version number 2016-02-19 22:57:47 -08:00
Tim Kuehn
cc8a8e76b0 Remove a bunch of derived traits from Config for backwards compatibility reasons. 2016-02-19 22:51:18 -08:00
Tim Kuehn
b9ba10b8a4 Fix tarpc_examples 2016-02-19 22:42:36 -08:00
Tim Kuehn
1ee1f9274a Fix some log statements 2016-02-19 22:33:13 -08:00
Tim Kuehn
7f354be850 Merge branch 'master' of github.com:google/tarpc into config 2016-02-19 22:32:16 -08:00
Tim Kuehn
c9a63c2a5a Don't derive Hash for Config because Duration is only Hashable on nightly 2016-02-19 22:06:29 -08:00
Tim
ee1143c709 Merge pull request #14 from shaladdle/hooks
Merge shaladdle/hooks into master.
2016-02-19 21:46:00 -08:00
Adam Wright
4ed127b39e NOT FOUND instead of FAILED 2016-02-19 21:31:11 -08:00
Tim Kuehn
66cd136c6a Add a note about serde in the readme 2016-02-18 21:27:22 -08:00
Tim Kuehn
58cbe6f4ea Update README and service macro doc comment 2016-02-18 21:23:42 -08:00
Tim Kuehn
250a7fd7b9 Move 'static bound from trait to spawn fns 2016-02-18 20:48:25 -08:00
Tim Kuehn
a44fd808d9 Merge branch 'master' of github.com:google/tarpc into config 2016-02-18 20:42:33 -08:00
Tim Kuehn
65c4d83c88 [breaking] Renamings and refactorings.
* Add a Config struct. `Client::new(addr, duration)` => `Client::new(addr, config)`
* `serve(addr, server, config)` => `server.spawn_with_config(addr, config)`
* Also added `server.spawn(addr)`
2016-02-18 20:40:08 -08:00
shaladdle
00692fe9a3 Merge pull request #19 from tikue/readme
Make a note of AsyncClient and `cargo doc` in the readme
2016-02-18 15:35:56 -08:00
Tim Kuehn
0968760ef7 Make a note of AsyncClient and cargo doc in the readme 2016-02-18 15:28:41 -08:00
shaladdle
75b2c00b54 Merge pull request #17 from tikue/readme
Define RPC in readme
2016-02-18 14:59:43 -08:00
Tim Kuehn
ffee124526 List dependency info in readme 2016-02-18 08:49:20 -08:00
Tim Kuehn
06a03697c4 Merge branch 'master' of github.com:google/tarpc into readme 2016-02-18 08:43:35 -08:00
Tim Kuehn
a675551a31 Define RPC in README 2016-02-18 08:43:31 -08:00
Adam Wright
d0e9693263 Be consistent with function declarations 2016-02-18 01:40:44 -08:00
Adam Wright
6d23174219 Build on nightly too, as per review comment 2016-02-18 01:36:39 -08:00
Adam Wright
a06b583334 Also check existence of shasum 2016-02-18 01:27:07 -08:00