GitHub user przygienda opened a pull request: https://github.com/apache/thrift/pull/1137
Implement CONST support You can merge this pull request into a Git repository by running: $ git pull https://github.com/maximg/thrift dev-rust-thrift Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/1137.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1137 ---- commit 8150a148152b4b81a809b9969851533963390e69 Author: Simon Génier <s@simon.coffee> Date: 2014-12-15T17:21:42Z Initial commit for Rust support. commit 80a053adc2251dc99949a9eeb24f2176709836d0 Author: maximg <maxim.go...@gmail.com> Date: 2014-12-15T18:59:51Z Merge pull request #1 from sgnr/rust-compiler Initial commit for Rust support. commit 20ca592b9272fd3d5955a15d795809a1bc9a9dd8 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2014-12-15T20:07:20Z Initial version of the client commit a3a7eec4196a34b66aa93ac6af3d545270825680 Author: Maxim Golov <golov@localhost.localdomain> Date: 2014-12-15T20:12:06Z Pick up changes from Simon for Rust support. commit ec5b4aa5f9d4696cfffaa3565048ab2970e90354 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2014-12-16T06:22:45Z Added simple arg and return generation for calls commit 53654120033c05fe62ac2f00b664f58aff7cc4f0 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2014-12-18T09:34:25Z Cleaned up rust_client slightly commit 55f1a82fc152e6da83fb3a3d0fd6167ec1aa6a1b Author: Maxim Golov <maxim.go...@gmail.com> Date: 2014-12-18T09:57:00Z Added ThriftBufferedTransport commit 8e1d20b766252ccc951e71b60fd24e2a92224362 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2014-12-18T10:10:46Z Added TSocket stub commit 9ed2dba7624dd27834d365c3744e9214f71f2258 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2014-12-19T01:27:49Z Added TSocket methods, some error handling, replaced host parameter with String commit ac8a2637335366a139441250cb940d86f3f22e34 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-11T17:06:22Z First ping from client to server commit 1e698a89cfbd869e57015edd0aee1ef62b16ddf4 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-11T20:42:37Z Added Cargo build file and rust-thrift dependency commit bec4ee02a506e7ac3f8c7bf7e5e699830485e438 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-11T22:24:37Z Send and receive pings commit 52a6a647f8975a15d0c967e57bc94a600c2e340e Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-12T03:56:50Z Added calculator::add method to the client commit 12ef7228e0b8e9f941f6b111f732a57c59431e44 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-12T04:07:44Z Wrap operation result in Option commit 73ad8b403b8acee6025d241989423939f8b8a460 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-13T22:31:44Z Updated .gitignore for Rust tutorial commit 016b82fd56f879209365f94f24515bb53c684da0 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-13T22:32:19Z Fixed warnings commit db78568f61bdd0bbc8642ed52f73e5ff94f515ae Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-13T23:26:47Z Merge branch 'dev-rust-thrift' of https://github.com/maximg/thrift into dev-rust-thrift commit 57c29c72afbc41bf09b1f50c7fb8894d093dfa17 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-13T23:47:50Z Merge branch 'dev-rust-thrift' of https://github.com/maximg/thrift into dev-rust-thrift commit bff9b7229af4e4f0e4a6abde852f741dddd82896 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-14T01:56:40Z Implemented protocol::skip commit aa93d61c1775412d8edcd714464442a365217ddb Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-14T02:09:58Z Merge remote-tracking branch 'upstream/master' commit a3900b0f2361ec7ac46182c9b68b95be10cf3938 Author: Simon G��nier <s@simon.coffee> Date: 2015-01-15T03:24:22Z Just copy the Rust lib instead of having a submodule. commit fac465e298e535226b1bd965c4a6e92129e59903 Author: Simon Génier <s@simon.coffee> Date: 2015-01-15T04:06:24Z Indent with 4 spaces instead of 2. commit 75ba97c7371fac1ae8f667a4a6fa455a6202195d Author: Simon Génier <s@simon.coffee> Date: 2015-01-15T04:07:53Z Remove redundant license. commit 700392a358b7586659eb2025f928e64f12a6559e Author: Simon Génier <s@simon.coffee> Date: 2015-01-15T04:11:21Z Remove travis file not in root. commit b1f8afceabde047e31d056f643feb7e5ff572e94 Author: maximg <maxim.go...@gmail.com> Date: 2015-01-15T07:00:49Z Merge pull request #2 from sgnr/rust/no-submodule Just copy the Rust lib instead of having a submodule. commit 1a9c973c42bd2f2ed81be6ffc55ec5da81b4ab32 Author: Simon Génier <s@simon.coffee> Date: 2015-01-15T03:51:15Z Fix warnings about Copy. Silence warnings about unstable. commit ab571c2cf164a868074ba353bf8cd9a5f3791b0f Author: maximg <maxim.go...@gmail.com> Date: 2015-01-15T13:26:04Z Merge pull request #4 from sgnr/rust/fix-warning-2015-01-14 Fix warnings about Copy. Silence warnings about unstable. commit 3951518dee7cda94b41bd4db0aae978f8edd4a02 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-16T19:55:58Z Added Calculate operation and Readable trait commit e1537e77b23ad3460a1aa96b2b28f3075aa5e580 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-17T08:38:08Z Fixed writing the comment field by using matching commit a210f0d441fb2f50d98828b32f4c61c9a984b2d0 Author: Maxim Golov <maxim.go...@gmail.com> Date: 2015-01-17T11:11:20Z Started work on the compiler: added wrapping for optional fields ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---