Skip to content

Commit

Permalink
fixed typo in README and added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6e66 committed Jan 29, 2024
1 parent dc9942d commit c1aac00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ repository = "https://github.com/0x6e66/pangaea"
homepage = "https://github.com/0x6e66/pangaea"
include = ["src", "Cargo.toml", "README.md", "LICENSE"]
keywords = ["data_publisher", "pangaea", "geo_data"]
documentation = "https://docs.rs/pangaea/"


[dependencies]
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Run `cargo add pangaea` or add `pangaea = "0.1.0"` to your dependencies
## Get metadata for a specific PANGAEA dataset
```rust
use std::{fs::File, io::Write};
use pangaea_rs::elastic::elastic_doc;
use pangaea::elastic::elastic_doc;

#[tokio::main]
pub async fn main() {
Expand All @@ -22,7 +22,7 @@ pub async fn main() {
## Search for multiple datasets
```rust
use std::{fs::File, io::Write};
use pangaea_rs::elastic::elastic_search;
use pangaea::elastic::elastic_search;

#[tokio::main]
pub async fn main() {
Expand All @@ -43,7 +43,7 @@ pub async fn main() {

## Download the actual data associated with the dataset
```rust
use pangaea_rs::download_data::download_data_by_id;
use pangaea::download_data::download_data_by_id;

#[tokio::main]
async fn main() {
Expand Down

0 comments on commit c1aac00

Please sign in to comment.