diff --git a/Cargo.toml b/Cargo.toml index 8864d5cc..eba2fcda 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,5 +6,5 @@ members = [ "partiql-irgen", "partiql-parser", "partiql-rewriter", - "pestion", + "pest-ion", ] diff --git a/pestion/Cargo.toml b/pest-ion/Cargo.toml similarity index 80% rename from pestion/Cargo.toml rename to pest-ion/Cargo.toml index 5c08fcd5..44718328 100644 --- a/pestion/Cargo.toml +++ b/pest-ion/Cargo.toml @@ -1,9 +1,9 @@ [package] -name = "pestion" +name = "pest-ion" authors = ["PartiQL Team "] description = "A simple Pest grammar to Ion converter" -homepage = "https://github.com/partiql/partiql-lang-rust/pestion" -repository = "https://github.com/partiql/partiql-lang-rust/pestion" +homepage = "https://github.com/partiql/partiql-lang-rust/pest-ion" +repository = "https://github.com/partiql/partiql-lang-rust/pest-ion" license = "Apache-2.0" readme = "README.md" keywords = ["parser", "peg", "pest", "ion", "cli"] diff --git a/pestion/README.md b/pest-ion/README.md similarity index 96% rename from pestion/README.md rename to pest-ion/README.md index 8b7fa2d3..3950722c 100644 --- a/pestion/README.md +++ b/pest-ion/README.md @@ -1,4 +1,4 @@ -# Pestion +# Pest to Ion This is a simple tool and library for converting [Pest] grammars to [Ion] data format. diff --git a/pestion/src/lib.rs b/pest-ion/src/lib.rs similarity index 99% rename from pestion/src/lib.rs rename to pest-ion/src/lib.rs index 5ee52861..e96d4f05 100644 --- a/pestion/src/lib.rs +++ b/pest-ion/src/lib.rs @@ -7,7 +7,7 @@ //! The easiest way to convert [Pest] grammars to Ion is from a `str` slice: //! //! ``` -//! use pestion::*; +//! use pest_ion::*; //! use ion_rs::value::*; //! use ion_rs::value::reader::*; //! diff --git a/pestion/src/result.rs b/pest-ion/src/result.rs similarity index 95% rename from pestion/src/result.rs rename to pest-ion/src/result.rs index ff2c497d..326acb08 100644 --- a/pestion/src/result.rs +++ b/pest-ion/src/result.rs @@ -19,7 +19,7 @@ pub enum PestToIonError { Ion(#[from] ion_rs::result::IonError), /// General error from this library. - #[error("Pestion Error: {0}")] + #[error("Pest to Ion Error: {0}")] Invalid(String), }