# 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 = "2024"
name = "edgar-rs"
version = "0.1.0"
authors = ["Richard <rkhaut1@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for the SEC EDGAR API"
homepage = "https://github.com/haut/edgar-rs"
documentation = "https://docs.rs/edgar-rs"
readme = "README.md"
keywords = [
    "sec",
    "edgar",
    "finance",
    "api",
    "xbrl",
]
categories = [
    "api-bindings",
    "finance",
]
license = "MIT"
repository = "https://github.com/haut/edgar-rs"

[lib]
name = "edgar_rs"
path = "src/lib.rs"

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

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

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

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

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

[dependencies.governor]
version = "0.8"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]

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