Skip to content

Commit

Permalink
Add crate docs for bins
Browse files Browse the repository at this point in the history
  • Loading branch information
nixpulvis committed Sep 21, 2024
1 parent 4a9dd72 commit 53c7fd7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions galos_db/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//! Database adapter and functions for `galos`
//!
//! Set `DATABASE_ENV` for configuring the connection. E.g:
//! - `postgresql://localhost/galos_development`
//! - `postgresql://postgres:"pw"@10.0.1.2/galos_production`
use sqlx::postgres::{PgPool, PgPoolOptions};
use std::env;

Expand Down
3 changes: 3 additions & 0 deletions galos_map/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//! A 3D Galaxy Map for `galos`
//!
//! Requires (read-only) access to [`galos_db`].
use bevy::prelude::*;
use galos_db::Database;

Expand Down

0 comments on commit 53c7fd7

Please sign in to comment.