Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

[main < T] Add Rust template module#114

Closed
gitbuda wants to merge 1 commit into
mainfrom
add-rs-template-module
Closed

[main < T] Add Rust template module#114
gitbuda wants to merge 1 commit into
mainfrom
add-rs-template-module

Conversation

@gitbuda

@gitbuda gitbuda commented Dec 20, 2021

Copy link
Copy Markdown
Member

Description

Add template to create Rust query modules

Pull request type

  • Template Module

######################################

Reviewer checklist (the reviewer checks this part)

Module/Algorithm

  • Core algorithm/module implementation
  • Query module implementation
  • Unit tests
  • End-to-end tests
  • Code documentation
  • README short description
  • Documentation on memgraph/docs

######################################

Comment on lines +1 to +8
use rsmgp_sys::memgraph::*;
use rsmgp_sys::mgp::*;
use rsmgp_sys::result::*;
use rsmgp_sys::rsmgp::*;
use rsmgp_sys::{close_module, define_procedure, init_module};
use std::ffi::CString;
use std::os::raw::c_int;
use std::panic;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO(@gitbuda): Somehow simplify use statements and the beginning of each Rust query module.

@jmatak jmatak added status: draft PR is in draft phase lang: rust Issue on Rust codebase labels Jul 4, 2022
@gitbuda gitbuda self-assigned this Oct 9, 2022
@gitbuda gitbuda changed the title Add Rust template module [main < T] Add Rust template module Sep 2, 2023
@gitbuda

gitbuda commented Dec 16, 2025

Copy link
Copy Markdown
Member Author

closing becasue of the memgraph+mage merge

@gitbuda gitbuda closed this Dec 16, 2025
@gitbuda gitbuda deleted the add-rs-template-module branch December 16, 2025 09:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lang: rust Issue on Rust codebase status: draft PR is in draft phase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants