# 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"
rust-version = "1.63.0"
name = "smarty-rust-sdk"
version = "0.17.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The official client libraries for accessing Smarty APIs from Rust"
readme = "README.md"
license-file = "LICENSE.md"
repository = "https://github.com/smarty/smarty-rust-sdk"

[lib]
name = "smarty_rust_sdk"
crate-type = ["lib"]
path = "src/lib.rs"

[[example]]
name = "international_autocomplete_api"
path = "examples/international_autocomplete_api.rs"

[[example]]
name = "international_postal_code_api"
path = "examples/international_postal_code_api.rs"

[[example]]
name = "international_street_api"
path = "examples/international_street_api.rs"

[[example]]
name = "logger"
path = "examples/logger.rs"

[[example]]
name = "us_autocomplete_pro_api"
path = "examples/us_autocomplete_pro_api.rs"

[[example]]
name = "us_enrichment_address_search_api"
path = "examples/us_enrichment_address_search_api.rs"

[[example]]
name = "us_enrichment_api"
path = "examples/us_enrichment_api.rs"

[[example]]
name = "us_enrichment_business_api"
path = "examples/us_enrichment_business_api.rs"

[[example]]
name = "us_extract_api"
path = "examples/us_extract_api.rs"

[[example]]
name = "us_reverse_geo_api"
path = "examples/us_reverse_geo_api.rs"

[[example]]
name = "us_street_api"
path = "examples/us_street_api.rs"

[[example]]
name = "us_street_component_analysis"
path = "examples/us_street_component_analysis.rs"

[[example]]
name = "us_street_iana_timezone"
path = "examples/us_street_iana_timezone.rs"

[[example]]
name = "us_street_multithread"
path = "examples/us_street_multithread.rs"

[[example]]
name = "us_zipcode_api"
path = "examples/us_zipcode_api.rs"

[[test]]
name = "us_enrichment_http"
path = "tests/us_enrichment_http.rs"

[[test]]
name = "us_street_integration"
path = "tests/us_street_integration.rs"

[dependencies.anyhow]
version = "1.0.75"

[dependencies.async-trait]
version = "0.1.73"

[dependencies.env_logger]
version = "0.10.0"

[dependencies.hyper]
version = "0.14.27"

[dependencies.log]
version = "0.4.20"

[dependencies.reqwest]
version = "0.11.22"
features = ["json"]

[dependencies.reqwest-middleware]
version = "0.2.3"

[dependencies.serde]
version = "1.0.188"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.107"

[dependencies.serde_repr]
version = "0.1.16"

[dependencies.smarty-rust-proc-macro]
version = "0.17.0"

[dependencies.task-local-extensions]
version = "0.1.4"

[dependencies.thiserror]
version = "1.0.58"

[dependencies.tokio]
version = "1.32.0"
features = ["full"]

[dependencies.url]
version = "2.4.1"

[dev-dependencies.futures]
version = "0.3.28"

[dev-dependencies.wiremock]
version = "0.5"
