# 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 = "sec-fetcher"
version = "0.3.0-alpha"
authors = ["Jeremy Harris <jeremy.harris@zenosmosis.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Rust client for SEC EDGAR: fetch filings, fund holdings, XBRL data, and IPO registrations with compliant rate limiting."
readme = "README.md"
keywords = [
    "sec",
    "edgar",
    "finance",
    "filings",
    "stocks",
]
categories = [
    "api-bindings",
    "finance",
    "web-programming",
]
license = "PolyForm-Noncommercial-1.0.0"
repository = "https://github.com/jzombie/rust-sec-fetcher"

[features]
keyring = ["dep:keyring"]

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

[[bin]]
name = "refresh-test-fixtures"
path = "src/bin/refresh_test_fixtures.rs"

[[bin]]
name = "check-form-type-coverage"
path = "src/bin/check_form_type_coverage.rs"

[[bin]]
name = "pull-us-gaap-bulk"
path = "src/bin/pulls/us_gaap_bulk.rs"

[[bin]]
name = "pull-fund-holdings"
path = "src/bin/pulls/fund_holdings.rs"

[[example]]
name = "8k_exhibits_as_markdown"
path = "examples/8k_exhibits_as_markdown.rs"

[[example]]
name = "8k_list"
path = "examples/8k_list.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bitcode]
version = "0.6.9"

[dependencies.bytes]
version = "1.11.1"

[dependencies.chrono]
version = "0.4.44"

[dependencies.clap]
version = "4.6.0"
features = ["derive"]

[dependencies.config]
version = "0.15.22"

[dependencies.csv]
version = "1.4.0"

[dependencies.dashmap]
version = "6.1.0"
features = ["rayon"]

[dependencies.dirs]
version = "6.0.0"

[dependencies.email_address]
version = "0.2.9"

[dependencies.flate2]
version = "1.1"

[dependencies.futures]
version = "0.3.32"

[dependencies.html-to-markdown-rs]
version = "3.1.0"

[dependencies.html2text]
version = "0.16.7"

[dependencies.indexmap]
version = "2.13.0"

[dependencies.itertools]
version = "0.14.0"

[dependencies.keyring]
version = "3.6.3"
features = [
    "apple-native",
    "windows-native",
    "sync-secret-service",
]
optional = true

[dependencies.merge]
version = "0.2.0"

[dependencies.polars]
version = "0.46.0"
features = [
    "json",
    "lazy",
    "pivot",
]

[dependencies.quick-xml]
version = "0.39.2"

[dependencies.rand]
version = "0.10.0"

[dependencies.rayon]
version = "1.11.0"

[dependencies.regex]
version = "1.12.3"

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

[dependencies.reqwest-drive]
version = "0.13.2-alpha.2"

[dependencies.rust_decimal]
version = "1.41.0"
features = ["serde"]

[dependencies.rust_decimal_macros]
version = "1.40.0"

[dependencies.schemars]
version = "1.2.1"

[dependencies.sec-fetcher-shared]
version = "0.3.0-alpha"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_with]
version = "3.18.0"

[dependencies.simd-r-drive]
version = "0.16.0-alpha"

[dependencies.simd-r-drive-extensions]
version = "0.16.0-alpha"

[dependencies.strum]
version = "0.28.0"

[dependencies.strum_macros]
version = "0.28.0"

[dependencies.tempfile]
version = "3.27.0"

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

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

[dev-dependencies.indoc]
version = "2.0.7"

[dev-dependencies.mockito]
version = "1.7.2"
