{"id":15031979,"url":"https://github.com/rtsisyk/tarantool-rust","last_synced_at":"2025-10-04T05:30:49.473Z","repository":{"id":149359650,"uuid":"79709597","full_name":"rtsisyk/tarantool-rust","owner":"rtsisyk","description":"!! Superseded by https://github.com/picodata/tarantool-module","archived":true,"fork":false,"pushed_at":"2020-11-30T16:51:45.000Z","size":11,"stargazers_count":46,"open_issues_count":4,"forks_count":6,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-20T01:10:48.099Z","etag":null,"topics":["rust","rust-language","tarantool"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtsisyk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-01-22T10:03:46.000Z","updated_at":"2023-01-28T11:40:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e8834ea-b18c-4d14-a575-d20e4db49367","html_url":"https://github.com/rtsisyk/tarantool-rust","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtsisyk%2Ftarantool-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtsisyk%2Ftarantool-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtsisyk%2Ftarantool-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtsisyk%2Ftarantool-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtsisyk","download_url":"https://codeload.github.com/rtsisyk/tarantool-rust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235222539,"owners_count":18955327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","rust-language","tarantool"],"created_at":"2024-09-24T20:17:02.352Z","updated_at":"2025-10-04T05:30:44.204Z","avatar_url":"https://github.com/rtsisyk.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Rust for Tarantool\n\n[![Tarantool][tarantool-badge]][Tarantool]\n[![Rust][rust-badge]][Rust]\n[![License][license-badge]][license-url]\n[![Build Status][travis-badge]][travis-url]\n\nA proof-of-concept **Rust** module for **Tarantool**.\n\nThis example demonstrates how to use [Rust Programming Language][Rust]\nto write stored procedures for [Tarantool].\n\n**[Tarantool]** is a full-featured general-purpose database and an application server.\n\n**[Rust]** is a systems programming language that runs blazingly fast,\nprevents segfaults, and guarantees thread safety.\n\n## Prerequisites\n\n * Tarantool 1.6.8+\n * rustc 1.14.0 and cargo 0.15.0 (other versions untested)\n\n```bash\nsudo apt-get -y install rustc cargo\n```\n\n## Usage\n\n```bash\ngit clone https://github.com/rtsisyk/tarantool-rust.git\ncargo build\n./test.lua\n```\n\n```\nrust fiber 102: before sleep\nrust fiber 103: before sleep\nrust fiber 104: before sleep\nrust fiber 105: before sleep\nrust fiber 106: before sleep\nrust fiber 102: after sleep\nrust fiber 102: before sleep\nrust fiber 103: after sleep\nrust fiber 103: before sleep\n```\n\nThe example above demonstrates that Rust libraries can be used inside Tarantool without any conflicts with cooperative-multistasking model implemented by Tarantool.\n\n## Future Plans\n\n* Implement Rust-friendly wrappers for Fibers, Box and [other](src/module.rs) Tarantool API\n* Add examples\n* Write documentation\n\n[\u003cimg src=\"https://octodex.github.com/images/codercat.jpg\" width=\"200\"\u003e][Telegram]\n\nFall in love with [Tarantool]?  Wanna learn [Rust]?\n\n**Your contribution is needed!**\n\nFeel free to contact us on [Telegram] channel or send a pull request.\n\nSee Also\n--------\n\n* [Tarantool]\n* [Rust]\n* [Maillist]\n* [Telegram]\n* roman@tsisyk.com\n\n[tarantool-badge]: https://img.shields.io/badge/Tarantool-1.7-blue.svg?style=flat\n[Tarantool]: https://tarantool.org/\n[rust-badge]: https://img.shields.io/badge/Rust-1.14.0-black.svg?style=flat\n[Rust]: https://www.rust-lang.org\n[license-badge]: https://img.shields.io/badge/License-BSD--2-lightgray.svg?style=flat\n[license-url]: LICENSE.md\n[travis-badge]: https://api.travis-ci.org/rtsisyk/tarantool-rust.svg?branch=master\n[travis-url]: https://travis-ci.org/rtsisyk/tarantool-rust\n[Telegram]: http://telegram.me/tarantool\n[Maillist]: https://groups.google.com/forum/#!forum/tarantool\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtsisyk%2Ftarantool-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtsisyk%2Ftarantool-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtsisyk%2Ftarantool-rust/lists"}