Crates.io | cql2 |
lib.rs | cql2 |
version | 0.3.0 |
source | src |
created_at | 2024-10-08 10:27:51.398175 |
updated_at | 2024-10-14 14:19:55.978293 |
description | Parse, validate, and convert Common Query Language (CQL2) text and JSON |
homepage | https://github.com/developmentseed/cql2-rs |
repository | https://github.com/developmentseed/cql2-rs |
max_upload_size | |
id | 1400999 |
size | 256,262 |
Parse, validate, and convert Common Query Language (CQL2) text and JSON.
[dependencies]
cql = "0.3"
Then:
use cql2::Expr;
let expr: Expr = "landsat:scene_id = 'LC82030282019133LGN00'".parse().unwrap();
assert!(expr.is_valid());
println!("{}", expr.to_json().unwrap());
See the documentation for more.
See the cql2-cli README for details.
Responses may not match the input.
See CONTRIBUTING.md for information about contributing to this project.
cql2-rs is licensed under the MIT license. See LICENSE for details.