twirp-ruby/README.md

29 строки
1.2 KiB
Markdown
Исходник Обычный вид История

2018-05-23 02:23:10 +03:00
# Twirp-Ruby
2018-02-05 05:26:55 +03:00
[![Run Tests](https://github.com/github/twirp-ruby/actions/workflows/tests.yml/badge.svg)](https://github.com/github/twirp-ruby/actions/workflows/tests.yml)
[Twirp is a protocol](https://github.github.io/twirp/docs/spec_v5.html) for routing and serialization of services defined in a [.proto file](https://developers.google.com/protocol-buffers/docs/proto3), allowing easy implementation of RPC services with auto-generated clients in different languages.
2018-04-07 03:01:38 +03:00
The [canonical implementation](https://github.com/github/twirp) is in Golang. The Twirp-Ruby project is the official implementation in Ruby for both server and clients.
2018-02-06 09:22:17 +03:00
2018-05-23 02:48:10 +03:00
2018-04-09 06:51:58 +03:00
## Install
2018-03-13 22:03:01 +03:00
2018-05-23 02:23:10 +03:00
Add `gem "twirp"` to your Gemfile, or install with `gem install twirp`.
To auto-generate Ruby code from a proto file, use the `protoc` plugin and the `--ruby_out` option ([see Wiki page](https://github.com/github/twirp-ruby/wiki/Code-Generation)).
2019-12-31 02:11:19 +03:00
2018-04-11 02:27:24 +03:00
2018-05-23 02:23:10 +03:00
## Documentation
2018-04-11 02:27:24 +03:00
[On the wiki](https://github.com/github/twirp-ruby/wiki).
2018-09-17 21:34:40 +03:00
## Contributing
2019-12-31 02:11:19 +03:00
[On the CONTRIBUTING file](CONTRIBUTING.md).
2023-01-05 16:44:58 +03:00
2023-01-05 17:01:15 +03:00
### Releases and changes
2023-01-05 16:44:58 +03:00
2023-01-05 17:01:15 +03:00
See the [releases](https://github.com/github/twirp-ruby/releases) page for latest information about released versions.