# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "elastic_lens" version = "0.1.8" authors = ["Ben Falk "] description = "An opinionated framework to work with Elasticsearch." readme = "README.md" keywords = ["elasticsearch"] categories = ["database"] license-file = "LICENSE.md" repository = "https://github.com/benfalk/elastic_lens" [[example]] name = "fetch_a_document" path = "examples/fetch_a_document.rs" [[example]] name = "simple_search" path = "examples/simple_search.rs" [[example]] name = "simple_aggs" path = "examples/simple_aggs.rs" [[example]] name = "filter_aggs" path = "examples/filter_aggs.rs" [[example]] name = "multi_search" path = "examples/multi_search.rs" [[example]] name = "simple_sort" path = "examples/simple_sort.rs" [[example]] name = "script_sort" path = "examples/script_sort.rs" [[example]] name = "inventory_item" crate-type = ["lib"] path = "examples/inventory_item.rs" [[example]] name = "sample_code" crate-type = ["lib"] path = "examples/sample_code.rs" [dependencies.arraystring] version = "0.3.0" [dependencies.async-trait] version = "0.1" [dependencies.elastic_lens_offical_es7] version = "7" optional = true [dependencies.elastic_lens_offical_es8] version = "8" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dev-dependencies.tokio] version = "1" features = ["full"] [features] es_7 = [] es_8 = [] official_client = [] official_es7 = [ "elastic_lens_offical_es7", "official_client", "es_7", ] official_es8 = [ "elastic_lens_offical_es8", "official_client", "es_8", ]