[package]
edition = "2024"
rust-version = "1.88"
name = "hey-sdk"
version = "0.31.0"
build = false
include = [
"src/**",
"examples/**",
"tests/**",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for the HEY API, generated from a Smithy model of the API"
homepage = "https://github.com/basecamp/hey-sdk"
documentation = "https://docs.rs/hey-sdk"
readme = "README.md"
keywords = [
"hey",
"email",
"37signals",
"api",
"sdk",
]
categories = [
"api-bindings",
"web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/basecamp/hey-sdk"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = [
"reqwest",
"tracing",
]
reqwest = ["dep:reqwest"]
tracing = ["dep:tracing"]
[lib]
name = "hey_sdk"
path = "src/lib.rs"
[[example]]
name = "custom_http_client"
path = "examples/custom_http_client.rs"
[[example]]
name = "first_call"
path = "examples/first_call.rs"
required-features = ["reqwest"]
[[example]]
name = "hooks"
path = "examples/hooks.rs"
required-features = ["reqwest"]
[[example]]
name = "oauth_pkce"
path = "examples/oauth_pkce.rs"
required-features = ["reqwest"]
[[example]]
name = "pagination"
path = "examples/pagination.rs"
required-features = ["reqwest"]
[[test]]
name = "account_scope"
path = "tests/account_scope.rs"
[[test]]
name = "body_limit"
path = "tests/body_limit.rs"
[[test]]
name = "cache"
path = "tests/cache.rs"
[[test]]
name = "client_pipeline"
path = "tests/client_pipeline.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "credential_refresh"
path = "tests/credential_refresh.rs"
[[test]]
name = "dates"
path = "tests/dates.rs"
[[test]]
name = "deadline"
path = "tests/deadline.rs"
[[test]]
name = "errors"
path = "tests/errors.rs"
[[test]]
name = "form"
path = "tests/form.rs"
[[test]]
name = "get_all"
path = "tests/get_all.rs"
[[test]]
name = "guarantees"
path = "tests/guarantees.rs"
[[test]]
name = "observability"
path = "tests/observability.rs"
[[test]]
name = "pagination"
path = "tests/pagination.rs"
[[test]]
name = "raw"
path = "tests/raw.rs"
[[test]]
name = "recordings"
path = "tests/recordings.rs"
[[test]]
name = "redaction"
path = "tests/redaction.rs"
[[test]]
name = "resilience"
path = "tests/resilience.rs"
[[test]]
name = "retry_policy"
path = "tests/retry_policy.rs"
[[test]]
name = "routes"
path = "tests/routes.rs"
[[test]]
name = "services_attachments"
path = "tests/services_attachments.rs"
[[test]]
name = "services_boxes"
path = "tests/services_boxes.rs"
[[test]]
name = "services_bulk_replies"
path = "tests/services_bulk_replies.rs"
[[test]]
name = "services_calendar_changes"
path = "tests/services_calendar_changes.rs"
[[test]]
name = "services_calendar_events"
path = "tests/services_calendar_events.rs"
[[test]]
name = "services_calendar_periods"
path = "tests/services_calendar_periods.rs"
[[test]]
name = "services_calendar_todos"
path = "tests/services_calendar_todos.rs"
[[test]]
name = "services_calendars"
path = "tests/services_calendars.rs"
[[test]]
name = "services_clearances"
path = "tests/services_clearances.rs"
[[test]]
name = "services_clips"
path = "tests/services_clips.rs"
[[test]]
name = "services_collections"
path = "tests/services_collections.rs"
[[test]]
name = "services_collections_writes"
path = "tests/services_collections_writes.rs"
[[test]]
name = "services_contacts"
path = "tests/services_contacts.rs"
[[test]]
name = "services_designations"
path = "tests/services_designations.rs"
[[test]]
name = "services_extenzions"
path = "tests/services_extenzions.rs"
[[test]]
name = "services_folders"
path = "tests/services_folders.rs"
[[test]]
name = "services_habits"
path = "tests/services_habits.rs"
[[test]]
name = "services_identity"
path = "tests/services_identity.rs"
[[test]]
name = "services_journal"
path = "tests/services_journal.rs"
[[test]]
name = "services_postings"
path = "tests/services_postings.rs"
[[test]]
name = "services_publications"
path = "tests/services_publications.rs"
[[test]]
name = "services_search"
path = "tests/services_search.rs"
[[test]]
name = "services_snippets"
path = "tests/services_snippets.rs"
[[test]]
name = "services_stickies"
path = "tests/services_stickies.rs"
[[test]]
name = "services_time_track_categories"
path = "tests/services_time_track_categories.rs"
[[test]]
name = "services_time_tracks"
path = "tests/services_time_tracks.rs"
[[test]]
name = "services_topics"
path = "tests/services_topics.rs"
[[test]]
name = "services_workflows"
path = "tests/services_workflows.rs"
[[test]]
name = "services_world"
path = "tests/services_world.rs"
[[test]]
name = "tracing"
path = "tests/tracing.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.23"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"serde",
"std",
]
default-features = false
[dependencies.ego-tree]
version = "0.11"
[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.http]
version = "1"
[dependencies.md5]
version = "0.8"
[dependencies.percent-encoding]
version = "2"
[dependencies.rand]
version = "0.10"
[dependencies.reqwest]
version = "0.13"
features = [
"rustls",
"http2",
]
optional = true
default-features = false
[dependencies.scraper]
version = "0.27.0"
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.11"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"io-util",
"rt",
"time",
"sync",
]
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.url]
version = "2"
[dev-dependencies.reqwest]
version = "0.13"
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"net",
"rt-multi-thread",
"time",
"sync",
]
[dev-dependencies.tracing]
version = "0.1"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["registry"]
default-features = false
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
cargo = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
nursery = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]