[package]
edition = "2024"
rust-version = "1.90"
name = "data-gov-ckan"
version = "0.4.0"
authors = ["David Spadea"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client for Data.Gov CKAN"
homepage = "https://github.com/dspadea/data-gov-rs"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/dspadea/data-gov-rs"
[features]
default = ["native-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls"]
[lib]
name = "data_gov_ckan"
path = "src/lib.rs"
[[example]]
name = "debug_search"
path = "examples/debug_search.rs"
[[example]]
name = "raw_response"
path = "examples/raw_response.rs"
[[test]]
name = "client_tests"
path = "tests/client_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "solr_syntax_ci"
path = "tests/solr_syntax_ci.rs"
[[test]]
name = "solr_syntax_tests"
path = "tests/solr_syntax_tests.rs"
[[test]]
name = "unit_tests"
path = "tests/unit_tests.rs"
[dependencies.async-trait]
version = "^0.1"
[dependencies.reqwest]
version = "0.13.2"
features = [
"json",
"multipart",
"query",
]
default-features = false
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "^1.0"
[dependencies.serde_repr]
version = "^0.1"
[dependencies.url]
version = "^2.5"
[dependencies.uuid]
version = "^1.8"
features = [
"serde",
"v4",
]
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.serde_json]
version = "^1.0"
[dev-dependencies.tokio]
version = "1.48.0"
features = ["full"]
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.wiremock]
version = "0.6"