edgarkit 0.2.0

An unofficial Rust client for the SEC EDGAR system
Documentation
# 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 = "edgarkit"
version = "0.2.0"
authors = ["Sergey Monin <moninsergei@gmail.com>"]
build = false
exclude = [
    "tests/*",
    ".assets/*",
    ".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An unofficial Rust client for the SEC EDGAR system"
documentation = "https://docs.rs/edgarkit"
readme = "README.md"
keywords = [
    "sec",
    "edgar",
    "finance",
    "filings",
    "api",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/r007/edgarkit"

[features]
atom = ["dep:quick-xml"]
cache = ["dep:moka"]
company = ["dep:chrono"]
default = [
    "search",
    "filings",
    "company",
    "feeds",
    "index",
]
feeds = [
    "atom",
    "rss",
]
filings = [
    "dep:flate2",
    "dep:chrono",
]
index = [
    "dep:flate2",
    "dep:chrono",
]
rss = ["dep:quick-xml"]
search = [
    "dep:serde_urlencoded",
    "dep:futures-util",
]

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

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4.44"
optional = true

[dependencies.fastrand]
version = "2.4.1"

[dependencies.flate2]
version = "1.1.9"
optional = true

[dependencies.futures-util]
version = "0.3.32"
optional = true

[dependencies.governor]
version = "0.10.4"
features = ["std"]
default-features = false

[dependencies.moka]
version = "0.12"
features = ["future"]
optional = true

[dependencies.quick-xml]
version = "0.40.1"
features = [
    "serialize",
    "serde",
]
optional = true

[dependencies.reqwest]
version = "0.12.28"
features = [
    "json",
    "rustls-tls",
    "http2",
    "charset",
    "macos-system-configuration",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_urlencoded]
version = "0.7.1"
optional = true

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.tracing]
version = "0.1.44"