Commit Graph

58 Commits

Author SHA1 Message Date
Allen George
2b691ee3bf Fix Rust formatting error
Client: rs
2021-10-15 20:33:25 +02:00
Allen George
7e07267379
THRIFT-5457 Pin bitflags to 1.2 to maintain MSRV (#2454)
Client: rs

See https://issuehunt.io/r/clap-rs/clap/issues/2691 for an explanation of the underlying issue.
2021-09-11 11:30:34 -04:00
xiexiaoqun
0cc06506b8
Remove redundant format!(..) macro calls (#2443)
Client: rs
2021-09-08 22:43:00 -04:00
Jorge C. Leitao
77afa017ce Made server optional. 2021-08-22 18:46:08 +02:00
Jens Geyer
f7e6c654bd bump version number 2021-08-03 22:21:05 +02:00
Lewin Bormann
44e8a431a3 Rust: Upgrade dependency integer-encoding to 3.0 2021-07-06 23:52:19 +02:00
Zicklag
70992f1e74 Add Link to Tutorial in Rust Lib Documentation
Client: rs
Patch: Zicklag

This closes  #2388
2021-05-20 22:50:22 +02:00
Allen George
de6f61aed0
THRIFT-4098 Namespace support for generated Rust code (#2348)
Client: rs
2021-03-11 08:25:26 -05:00
Allen George
a194276fab
THRIFT-5360 Remove deprecated Error::description() methods (#2342)
Client: rs
2021-03-06 17:39:02 -05:00
Allen George
99c3aa27e6
Enable clippy in all Rust targets and ensure that all existing code is clippy-clean (#2341)
Client: rs
2021-03-06 14:11:56 -05:00
Allen George
55c3e4c2ef
Reformat rust code using 1.40 rustfmt and fail build if rustfmt fails (#2339) 2021-03-01 23:19:52 -05:00
Allen George
2e90ef569c
[THRIFT-5314][THRIFT-4101] Generate enums that don't error on unexpected values (#2337)
Client: rs
2021-03-01 14:47:04 -05:00
Allen George
4890510022
Avoid custom non-zigzag read/write functions 2021-02-20 08:47:01 -05:00
Allen George
8a1743df9e
THRIFT-5299: Encode sequence numbers as non-zigzag varint
Client: rs
2021-02-19 23:34:33 -05:00
Jens Geyer
3fc0b8d061 Version number aligned to 0.15.0 2021-02-11 23:17:45 +01:00
Jens Geyer
2ef0113d69 Consolidated gitignore & added missing EXTRA_DISTs 2021-02-05 12:58:49 +01:00
Dirkjan Ochtman
70792f2191 Add useful links in Rust client's metadata
Client: Rust
Patch: Dirkjan Ochtman

This closes #2291
2020-12-09 22:12:14 +01:00
Allen George
7ddbcc07ec
THRIFT-5306: Rust code and generated code no longer has clippy warnings (Rust 1.40)
Client: rs

NOTE: Also properly update the min/max supported Rust versions
2020-11-12 08:47:42 -05:00
Allen George
b0d14133d5 THRIFT-5158 Update Rust generator and Rust lib,test,tutorial to only support 2018 edition
Client: rs
Patch: Allen George

This closes #2078
2020-09-02 09:03:40 +02:00
Nik Clayton
e791760098 THRIFT-5131: Require >= 1.1.4 of integer-encoding dependency
Client: Rust
Patch: Nik Clayton

This closes #2045

Versions 1.1.0 - 1.1.3 of the integer-encoding crate had a bug where
numbers larger than 0x4000_0000_0000_0000 would cause a panic during
decoding.

Add a test to be sure that numbers up to i64::maxvalue() encode and
decode successfully.
2020-03-07 10:59:24 +01:00
Sam De Roeck
436bce3321 (no ticket) Gracefully terminate the connection handling loop when encountering EOF on the transport layer
Client: Rust
Patch: Sam De Roeck

This closes #1928
2020-01-28 22:47:55 +01:00
Allen George
6e443789e9
Merge pull request #1919 from mpajkowski/to_socket_addrs
THRIFT-4995 Use `ToSocketAddrs` for expressing network addresses
2019-12-14 09:52:36 -05:00
Julian Tescher
9c6c6bf81a THRIFT-5043 Make TBufferChannel clonable
Client: Rust
Patch: Julian Tescher

This closes #1956

It is useful for `TBufferChannel` to be `Clone` so that you can use it to read bytes that were written by a client for use cases like testing or sending over alternative transports like UDP.
2019-12-02 21:03:35 +01:00
Marcin Pajkowski
b34680f01a THRIFT-4915 Fix encoding/decoding doubles in TCompactProtocol
Client: Rust
Patch: Marcin Pajkowski

This closes #1957
2019-12-02 20:51:14 +01:00
Marcin Pajkowski
c63084193a THRIFT-5042 Fix failing tests
Client: Rust
Patch: Marcin Pajkowski

This closes #1958
2019-12-02 19:29:38 +01:00
Marcin Pajkowski
98ce2c8f2b THRIFT-4995 Use ToSocketAddrs for net addresses 2019-11-29 10:27:26 +01:00
Jens Geyer
e02559fd46 bump version
This closes #1899
2019-10-17 20:31:24 +02:00
Danny Browning
236032a8af THRIFT-4953: Missing Field Identifiers
When identifiers are not specified, negative id will be converted to a valid
rust identifier.
2019-09-06 10:40:53 -06:00
Danny Browning
942bd8403b Bare Trait Warnings
Fixes bare trait (dyn) warnings in the library as well as generated code.
2019-09-06 10:28:24 -06:00
James E. King III
93ff9b0053 Update language levels, fix erlang and rust in CI
- Include rebar3 in docker image so erlang builds in CI
- Include the correct path in docker image so rust builds in CI
- Updated common lisp (sbcl) to 1.5.3 in docker image
- Updated dlang to 2.087.0 in docker image
- Updated dart to 2.0.0 in xenial docker image
- Updated dart to 2.4.0 in bionic docker image
- Updated erlang to 22.0 in docker image
- Updated openjdk to 11.0.3 in docker image
- Updated node.js to 10.16 in docker image
- Updated rust to 1.34.0 in xenial docker image
- Updated rust to 1.35.0 in bionic docker image

THRIFT-4905: Disable hanging experimental dlang async ssl test
2019-07-07 12:16:52 -04:00
James E. King III
057bebc1c3 Merge branch '0.12.1' 2019-05-26 14:59:04 -04:00
Danny Browning
181d900a39 THRIFT 4536: Rust 1.34.0
Update dockerfiles to use rust stable, call out required rust version in
breaking changes.
2019-04-15 09:55:04 -06:00
Danny Browning
ddec431b4a TryFrom stable
TryFrom is now stable, so use that. Additionally re-export OrderedFloat since
it is used by the generated code. Relax dependencies to reduce downstream
conflicts.
2019-03-22 14:38:36 -04:00
Jens Geyer
8d21d80cd1 Release 0.12.1 2019-03-08 22:08:23 +01:00
James E. King III
8935c98046 THRIFT-4753: re-version master to next release 0.13.0 2019-01-25 23:33:54 -05:00
Allen George
f9f037bd5a Update Cargo.toml, release instructions and release script
Client: rs
2018-12-28 07:33:17 -05:00
jfarrell
384647d290 Version 0.12.0 2018-12-18 20:24:34 -05:00
Allen George
ef7a18970f Reformat rust code with rustfmt 1.0 2018-12-16 18:22:04 -05:00
Jake W
24918abba9 THRIFT-4664: Cannot create ReadHalf/WriteHalf
Client: rs
2018-11-12 07:58:54 -05:00
GREATEST Wiggler EvaR!
b57d126157 THRIFT-4529: Rust enum variants are now camel-cased
Client: rs
2018-11-12 07:57:43 -05:00
jake-ruyi
6436899e47 THRIFT-4662: Rust const string calls function at compile time
Client: rs
2018-11-12 07:51:25 -05:00
jake-ruyi
d5bd2005ea THRIFT-4661: Rust enum name wrong case in generated structs
Client: rs
2018-11-09 17:56:25 -05:00
GREATEST Wiggler EvaR!
718a63c85b THRIFT-4658: TBinaryInputProtocol fails when strict is false
Client: rs
2018-11-05 07:58:52 -05:00
Josh
dab4529f73 THRIFT-4527 bump byteorder version
Client: rs

This closes #1516
2018-03-23 07:40:49 -04:00
Allen George
b7084cbc0d
THRIFT-4419: Fix bug where framed messages > 4K could not be read
Client: rs

This closes #1508
2018-03-17 09:38:15 +01:00
Allen George
cf7ba4ca32 THRIFT-4390: Fix bug where binary/buffered messages > 4K could not be read/written
Client: rs

This closes #1458
2018-01-12 08:06:59 -05:00
Vadim Chekan
d3355af260 THRIFT-4450: Added "seek" implementation to TCompactInputTransport in Rust
Client: rust

This closes #1462
2018-01-10 21:09:39 -05:00
Jens Geyer
f3a2974dfe THRIFT-4398 Update EXTRA_DIST for "make dist"
Client: Build process
Patch: Jens Geyer

This closes #1431
2017-12-01 23:01:41 +01:00
James E. King, III
44426c9095 THRIFT-4395: fix rust build on xenial
Client: rs

This closes #1421
2017-11-29 21:29:48 -05:00
James E. King, III
39eaae6675 THRIFT-2013: update docker for artful (go back to lua 5.2) and enhance
cpp client to send 0,1,2,4,8,...,131072 size binary tests, this exposed
problems in the erl and rs servers and those tests have been disabled for now.
2017-11-20 07:27:03 -05:00