Skip to content

Commit

Permalink
Merge pull request #3 from developmentseed/rename-crate
Browse files Browse the repository at this point in the history
Rename crate
  • Loading branch information
bitner authored Jul 25, 2024
2 parents aadbca0 + 90b99bf commit 2219ec3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "cql2-rs"
name = "cql2"
version = "0.1.0"
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use cql2_rs::parse;
use cql2::parse;
use std::io::{self, BufRead};
fn main() -> io::Result<()> {
for line in io::stdin().lock().lines() {
Expand Down
4 changes: 2 additions & 2 deletions tests/ogc_tests.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use cql2_rs::{parse, Validator};
use cql2::{parse, Validator};
use rstest::rstest;
use std::fs;
use std::path::PathBuf;
Expand All @@ -8,7 +8,7 @@ pub fn validate_file(f: &str) {
println!("File Path: {:#?}", f);
let cql2 = fs::read_to_string(f).unwrap();
println!("CQL2: {}", cql2);
let expr: cql2_rs::Expr = parse(&cql2);
let expr: cql2::Expr = parse(&cql2);
println!("Expr: {}", expr.as_json_pretty());
let valid = expr.validate();
assert!(valid)
Expand Down

0 comments on commit 2219ec3

Please sign in to comment.