Tim Kuehn
e2f1511fb3
Update deps versions
2016-02-19 23:53:27 -08:00
Adam Wright
f3afd080f3
Allow most things to be unused
2016-02-19 23:28:34 -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
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
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
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
Tim Kuehn
05acb97f04
Add a second rpc to test service.
...
To better exercise the serialization parts -- namely, the enum tags.
2016-02-16 22:17:06 -08:00
Adam Wright
1f30bb9ba6
Remove the install hooks script
2016-02-15 13:58:42 -08:00
shaladdle
8957d2dac3
Merge pull request #11 from tikue/rustfmt
...
rustfmt the things
2016-02-15 13:36:16 -08:00
Tim Kuehn
7dae99d7b5
rustfmt the things
2016-02-15 02:34:20 -08:00
Tim Kuehn
9dd3d55744
Add some missing #[inline]s.
...
And add the optional fn len method to Packet's MapVisitor. Also add a link to documentation in the readme.
2016-02-15 02:20:27 -08:00
Tim Kuehn
104196a90e
Bump version number
2016-02-14 21:04:52 -08:00
Tim Kuehn
1a0054a00f
Move benchmark into tarpc_examples, allowing tarpc to test on stable
2016-02-14 20:33:42 -08:00
shaladdle
09e8cd9af8
Merge pull request #8 from tikue/stabilize
...
Manually implement serialization code...
2016-02-14 20:19:29 -08:00
Tim Kuehn
c8a2dd3ddc
Remove unused reexport
2016-02-14 20:17:11 -08:00
Tim Kuehn
782a480bc8
Use an explicit type in lieu of integer suffix
2016-02-14 20:16:26 -08:00
Tim Kuehn
f80b18a5ad
Move test from syntax_test => functional_test
2016-02-14 20:02:37 -08:00
Tim Kuehn
ddef3bf270
Remove a comma
2016-02-14 19:49:06 -08:00
Tim Kuehn
ee7c3e5df8
Remove as_* macros
2016-02-14 19:44:48 -08:00
Tim Kuehn
041cf6a733
Type params don't need to be obfuscated, I think
2016-02-14 19:28:54 -08:00
Adam Wright
04e513309a
Fix docstring and fully qualify Ok
2016-02-14 19:21:22 -08:00
Tim Kuehn
c84d3e0778
Update version of serde
2016-02-14 19:19:45 -08:00
Tim Kuehn
2b78d427c1
Manually implement serialization code...
...
in lieue of derived Serialize and Deserialize. This allows tarpc to compile on stable.
2016-02-14 19:10:47 -08:00
Adam Wright
b8babb57dd
Add TryClone to Client/AsyncClient
2016-02-14 18:11:04 -08:00
Tim Kuehn
a0841c03f1
Remove keyword because the max is 5 for crates.io
2016-02-12 01:20:28 -08:00
Tim Kuehn
a221ad9b0d
Fix relative path to readme in Cargo.toml
2016-02-12 01:19:38 -08:00
Tim Kuehn
e029c48876
Update dependency versions to not use *
2016-02-12 01:09:55 -08:00
Tim Kuehn
ce49e6b000
Move .travis.yml to root
2016-02-12 00:54:42 -08:00
Tim Kuehn
3b44df7638
Add travis build info
2016-02-12 00:49:02 -08:00
Tim Kuehn
7624c19e02
Update cargo metadata
2016-02-11 23:50:59 -08:00
Tim Kuehn
7cfca8f721
Singular module names
2016-02-11 23:02:35 -08:00
Tim Kuehn
28735296fe
Merge branch 'master' into organize-tests
2016-02-11 22:53:28 -08:00
Tim Kuehn
3d2cc1f0d3
Organize macro module tests
2016-02-11 22:53:13 -08:00
Adam Wright
428e5a87b6
Merge branch 'implicit-return-type' into 'master'
...
Implicit return type
Enables
```
service! {
rpc ack();
}
```
See merge request !23
2016-02-12 12:01:50 +05:30
Tim Kuehn
f6063828df
Workout the implicit return change a bit more in tests
2016-02-11 22:28:53 -08:00
Tim Kuehn
f727dac87b
Merge branch 'type-ascription' into implicit-return-type
2016-02-11 22:22:14 -08:00
Adam Wright
34b05632f6
Merge branch 'type-ascription' into 'master'
...
Try out type ascription
See merge request !22
2016-02-12 11:43:30 +05:30
Adam Wright
2d22d435f9
Merge branch 'master' into serialize-traits
2016-02-11 22:10:51 -08:00
Adam Wright
971b27a4d2
Merge branch 'remove-inflight-rpcs' into 'master'
...
Remove the struct InflightRpcs.
We were previously doing a lot of accounting to make sure the server never exits before all open connection handlers. However, now that we're using scoped threads, that's taken care of by the scoped library, and we were essentially doing redundant work.
See merge request !19
2016-02-12 11:34:15 +05:30
Tim Kuehn
51ec0a1219
Merge branch 'serialize-traits' into type-ascription
2016-02-11 22:04:14 -08:00
Tim Kuehn
dbadbf3ef5
Merge remove-inflight-rpcs into serialize-traits
2016-02-11 22:03:45 -08:00
Tim Kuehn
42d876bf41
Don't panic if on Err from try_clone
2016-02-11 21:57:58 -08:00
Tim Kuehn
7099fccbfa
Allow rpc methods with an implicit unit return type
2016-02-11 21:19:04 -08:00
Adam Wright
8bbcb16d7f
Remove unwanted whitespace
2016-02-11 20:33:18 -08:00
Tim Kuehn
868938d83a
Try out type ascription
2016-02-11 00:04:20 -08:00