Skip to content

Commit

Permalink
renamed crate and added version to path field
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6e66 committed Jan 29, 2024
1 parent 3f6c988 commit 764a030
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "pangaea-rs"
name = "pangaea"
version = "0.1.0"
edition = "2021"
authors = ["Niklas Frondorf <[email protected]>"]
Expand All @@ -8,6 +8,7 @@ license-file = "LICENSE"
description = "A rust module to to access data from pangaea.de"
repository = "https://gitlab.dlr.de/sc/ivs-open/pangaea-rs/"
homepage = "https://gitlab.dlr.de/sc/ivs-open/pangaea-rs/"
include = ["src", "Cargo.toml", "README.md", "LICENSE"]


[dependencies]
Expand All @@ -27,4 +28,4 @@ tokio = { version = "1.35.1", features = ["full"] }


[patch.crates-io]
elasticsearch = { git = "https://github.com/0x6e66/elasticsearch-rs.git", branch = "version-5.6-compatibility"}
elasticsearch = { git = "https://github.com/0x6e66/elasticsearch-rs.git", branch = "version-5.6-compatibility", version = "8.6.0-alpha.1"}
2 changes: 1 addition & 1 deletion examples/download_data.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use pangaea_rs::download_data::download_data_by_id;
use pangaea::download_data::download_data_by_id;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/elastic_doc.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::{fs::File, io::Write};

use pangaea_rs::elastic::elastic_doc;
use pangaea::elastic::elastic_doc;

#[tokio::main]
pub async fn main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/elastic_search.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::{fs::File, io::Write};

use pangaea_rs::elastic::elastic_search;
use pangaea::elastic::elastic_search;

#[tokio::main]
pub async fn main() {
Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! ## Get metadata for a specific PANGAEA dataset
//! ```
//! 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 @@ -23,7 +23,7 @@
//! ## Search for multiple datasets
//! ```
//! 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 @@ -45,7 +45,7 @@
//!
//! ## Download the actual data associated with the dataset
//! ```
//! use pangaea_rs::download_data::download_data_by_id;
//! use pangaea::download_data::download_data_by_id;
//!
//! #[tokio::main]
//! async fn main() {
Expand Down
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Generated with [xgen](https://github.com/xuri/xgen) from the [PANGAEA metadata scheme](https://ws.pangaea.de/schemas/pangaea/MetaData.xsd) and modified afterwards
//! Generated with [xgen](https://github.com/xuri/xgen) from the [PANGAEA metadata scheme](https://ws.pangaea.de/schemas/pangaea/MetaData.xsd) and modified afterwards
use serde_derive::{Deserialize, Serialize};
use yaserde_derive::{YaDeserialize, YaSerialize};
Expand Down

0 comments on commit 764a030

Please sign in to comment.