Commit Graph

240 Commits

Author SHA1 Message Date
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
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
Tim Kuehn
7d028f6076 Add crates.io shield 2016-02-12 11:13:58 -08:00
Tim Kuehn
9b2f203abe No sudo for travis 2016-02-12 10:49:49 -08:00
Tim
382190b20a Merge pull request #5 from tikue/additional-features
List some additional syntactic features in the readme
2016-02-12 10:41:52 -08:00
Tim
89cb3b35ed Merge pull request #6 from tikue/license-badge
Add MIT license badge
2016-02-12 10:38:18 -08:00
Tim Kuehn
73b5cae1d1 Coverage badge 2016-02-12 10:31:36 -08:00
Tim Kuehn
6480b270fb Coveralls 2016-02-12 10:27:12 -08:00
Tim Kuehn
a966cd5a0c Add MIT license badge 2016-02-12 10:14:13 -08:00
Tim Kuehn
935fac9b96 List concurrent requests as a feature 2016-02-12 01:42:17 -08:00
Tim Kuehn
303cedac7b List some additional syntactic features 2016-02-12 01:26:57 -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
shaladdle
6f3b7dc13b Merge pull request #4 from tikue/deps-versions
Update dependency versions to not use *
2016-02-12 01:14:06 -08:00
Tim Kuehn
e029c48876 Update dependency versions to not use * 2016-02-12 01:09:55 -08:00
Tim Kuehn
71e7ed5014 Don't use travis-cargo for now 2016-02-12 00:58:16 -08:00
Tim Kuehn
f19139a1b5 Fix syntax error 2016-02-12 00:56:12 -08:00
Tim Kuehn
e552ae05ba Merge branch 'travis' 2016-02-12 00:54:57 -08:00
Tim Kuehn
ce49e6b000 Move .travis.yml to root 2016-02-12 00:54:42 -08:00
Tim
8fab48dd5a Merge pull request #3 from tikue/travis
Add travis build info
2016-02-12 00:51:16 -08:00
Tim Kuehn
3b44df7638 Add travis build info 2016-02-12 00:49:02 -08:00
shaladdle
bb40fe2153 Merge pull request #2 from tikue/update-metadata
Update cargo metadata
2016-02-11 23:56:33 -08:00
Tim Kuehn
7624c19e02 Update cargo metadata 2016-02-11 23:50:59 -08:00
shaladdle
92fa53e0df Merge pull request #1 from tikue/update-readme
Update readme.
2016-02-11 23:24:59 -08:00
Tim Kuehn
ae1573d8da Update readme.
Some planned improvements were out of date, and one major one was missing.
2016-02-11 23:10:46 -08:00
Adam Wright
6caa0aa13c Merge branch 'organize-tests' into 'master'
Organize tests

For some reason the tests in this module bother me. I tried to make it a little clearer what the reasoning behind each one is, and I removed some that were no longer necessary.

See merge request !24
2016-02-12 12:33:24 +05:30
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
b84f60b843 Merge branch 'serialize-traits' into 'master'
Factor out serialization code into a Serialize and Deserialize trait

Makes the client and server code a bit nicer by sharing commonalities between them.

See merge request !20
2016-02-12 11:42:45 +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
9416921797 Merge branch 'server-writer-thread' into 'master'
Server: use a dedicated writer thread for each open connection

So that the TcpStream does not need to be locked.

See merge request !18
2016-02-12 10:04:56 +05:30
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
Tim Kuehn
3a046e783c Merge remove-inflight-rpcs into serialize-traits 2016-02-10 23:52:04 -08:00