[
https://issues.apache.org/jira/browse/THRIFT-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17509235#comment-17509235
]
Jens Geyer commented on THRIFT-5283:
------------------------------------
{quote}what about the release cycle. Is this going to be part of the next
release?
{quote}
As soon as it got merged to master, yes.
{quote}When is it planned?
{quote}
There is no strict plan but most likely similar to last year, i.e. beta branch
in July, Release whenever we're done with it.
{quote}On crates.io thrift is still at 0.15.
{quote}
[~allengeorge] usually does that.
{quote}The Cargo.toml of thrift/lib/rs is already at 0.17. So, I figure, there
is a release planned in the near future?
{quote}
Master is always at the next version when we do a branch. That does not imply
any particular release date or time frame, not even that it will be released
under that number at all. At this stage its just a number that is larger than
any stable branch and likely to be the next version.
> Ability to listen over unix socket in thrift Rust crate
> -------------------------------------------------------
>
> Key: THRIFT-5283
> URL: https://issues.apache.org/jira/browse/THRIFT-5283
> Project: Thrift
> Issue Type: New Feature
> Components: Rust - Library
> Affects Versions: 0.13.0
> Reporter: Prateek Kumar Nischal
> Priority: Major
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> The rust crate for [thrift|https://crates.io/crates/thrift] right now has the
> ability to create a server [but only over a TCP
> socket|https://github.com/apache/thrift/blob/master/lib/rs/src/server/threaded.rs#L172].
> {code}
> pub fn listen<A: ToSocketAddrs>(&mut self, listen_address: A) ->
> thrift::Result<()>
> {code}
> The API requires the trait
> [ToSocketAddrs|https://doc.rust-lang.org/std/net/trait.ToSocketAddrs.html] to
> be implemented which is not possible for a Unix Domain Socket.
> Other libraries, for example, python has an option to serve over unix
> sockets. eg
> {code:python}
> TSocket.TServerSocket(unix_socket='/tmp/service.sock')
> {code}
> It would be really nice to be able to get a similar API in rust as well
> unless there is a way to do it already. Please let me know if it already
> exists.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)