Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[main < T] Add Rust template module #114

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

gitbuda
Copy link
Member

@gitbuda gitbuda commented Dec 20, 2021

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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.

None yet

2 participants