You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by ie...@apache.org on 2021/06/11 14:59:57 UTC

[avro] 02/02: AVRO-3149: Add Rust based Implementation of Avro

This is an automated email from the ASF dual-hosted git repository.

iemejia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git

commit 5fd979fafe50cb55f0cd8129d45be0e1f15c4015
Merge: 6dc6055 b394458
Author: Ismaël Mejía <ie...@gmail.com>
AuthorDate: Fri Jun 11 16:58:52 2021 +0200

    AVRO-3149: Add Rust based Implementation of Avro

 .github/labeler.yml                                |    1 +
 .../test-lang-rust-audit.yml}                      |   36 +-
 .github/workflows/test-lang-rust-ci.yml            |   75 ++
 .../test-lang-rust-clippy.yml}                     |   39 +-
 .github/labeler.yml => lang/rust/.activate.sh      |   17 +-
 .github/labeler.yml => lang/rust/.deactivate.sh    |   19 +-
 lang/rust/.gitignore                               |    7 +
 .../rust/.pre-commit-config.yaml                   |   30 +-
 lang/rust/.requirements-precommit.txt              |    1 +
 lang/rust/CHANGELOG.md                             |  163 +++
 lang/rust/Cargo.toml                               |   72 ++
 lang/rust/LICENSE                                  |  202 +++
 lang/rust/Makefile                                 |  105 ++
 lang/rust/README.md                                |  626 +++++++++
 lang/rust/README.tpl                               |   20 +
 lang/rust/benches/quickstop-null.avro              |  Bin 0 -> 166053 bytes
 lang/rust/benches/serde.rs                         |  338 +++++
 lang/rust/benches/serde_json.rs                    |   79 ++
 lang/rust/benches/single.rs                        |  193 +++
 lang/rust/examples/benchmark.rs                    |  138 ++
 lang/rust/examples/to_value.rs                     |   29 +
 lang/rust/migration_guide.md                       |  107 ++
 .github/labeler.yml => lang/rust/rustfmt.toml      |   16 +-
 lang/rust/src/codec.rs                             |  177 +++
 lang/rust/src/de.rs                                |  899 +++++++++++++
 lang/rust/src/decimal.rs                           |   74 ++
 lang/rust/src/decode.rs                            |  315 +++++
 lang/rust/src/duration.rs                          |  155 +++
 lang/rust/src/encode.rs                            |  188 +++
 lang/rust/src/error.rs                             |  378 ++++++
 lang/rust/src/lib.rs                               |  976 ++++++++++++++
 lang/rust/src/rabin.rs                             |  154 +++
 lang/rust/src/reader.rs                            |  435 +++++++
 lang/rust/src/schema.rs                            | 1367 ++++++++++++++++++++
 lang/rust/src/schema_compatibility.rs              |  916 +++++++++++++
 lang/rust/src/ser.rs                               |  999 ++++++++++++++
 lang/rust/src/types.rs                             | 1267 ++++++++++++++++++
 lang/rust/src/util.rs                              |  218 ++++
 lang/rust/src/writer.rs                            |  813 ++++++++++++
 lang/rust/tests/io.rs                              |  322 +++++
 lang/rust/tests/schema.rs                          | 1197 +++++++++++++++++
 pom.xml                                            |    5 +
 42 files changed, 13084 insertions(+), 84 deletions(-)