Skip to content

Commit

Permalink
updating README and lib for rust docs
Browse files Browse the repository at this point in the history
  • Loading branch information
carvilsi committed Aug 15, 2024
1 parent 9845a03 commit fa87494
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<div class="text" align="center">
<img src="https://img.shields.io/github/actions/workflow/status/carvilsi/gruphst/test.yml?logo=github&label=tests" alt="test">
<img src="https://img.shields.io/crates/v/gruphst.svg" alt="crates">
<img src="https://codecov.io/github/carvilsi/gruphst/graph/badge.svg?token=W1XVSQB3H0"/>
<img src="https://img.shields.io/docsrs/gruphst/latest" alt="docs">
<img src="https://codecov.io/github/carvilsi/gruphst/graph/badge.svg?token=W1XVSQB3H0" alt="cov"/>
<img src="https://img.shields.io/badge/License-MIT-purple.svg" alt="cov"/>
<p></p>
<p>GruPHst</p>
<p>An in-memory graph database</p>
Expand All @@ -11,8 +13,6 @@

# GruPHst

An in-memory graph database.

Possible to persists on file (just because is something that we always expect from an in-memory databases).

Early state of development with lot of TODOs, just doing nerdy things with Graph Databases while trying to learn some Rust.
Expand Down
2 changes: 2 additions & 0 deletions src/config/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
use dotenv::dotenv;

// TODO: add something to auto-persists, like a deamon

const GRUPHST_MAX_MEM_USAGE: &str = "GRUPHST_MAX_MEM_USAGE";
const DEFAULT_GRUPHST_MAX_MEM_USAGE: usize = 25 * 1024 * 1024;

Expand Down
6 changes: 1 addition & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
//! Gruphst
//!
//! An in-memory graph database.
//!
//! Possible to persists on file (just because is something that we always expect from an in-memory databases).
#![doc = include_str!("../README.md")]

pub mod config;
pub mod edge;
Expand Down

0 comments on commit fa87494

Please sign in to comment.