ronami-core 1.5.0

Core part of the `ronami` library — Telegram Bot API client
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"
rust-version = "1.85"
name = "ronami-core"
version = "1.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core part of the `ronami` library — Telegram Bot API client"
homepage = "https://github.com/ZethRise/Ronami"
documentation = "https://docs.rs/ronami-core/"
readme = "README.md"
keywords = [
    "ronami",
    "telegram",
    "telegram-bot",
    "telegram-bot-api",
    "bot",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/ZethRise/Ronami"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "full",
    "nightly",
    "tokio/macros",
    "tokio/rt-multi-thread",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
    "-Znormalize-docs",
]
cargo-args = [
    "-Zunstable-options",
    "-Zrustdoc-scrape-examples",
]

[package.metadata.release]
tag-prefix = "core-"
enable-features = ["full"]

[[package.metadata.release.pre-release-replacements]]
file = "README.md"
search = 'ronami-core = "[^"]+"'
replace = 'ronami-core = "{{version}}"'

[[package.metadata.release.pre-release-replacements]]
file = "src/lib.rs"
search = 'ronami-core = "[^"]+"'
replace = 'ronami-core = "{{version}}"'

[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "## unreleased"
replace = """
## unreleased

## {{version}} - {{date}}"""
exactly = 1

[features]
cache_me = []
default = ["native-tls"]
erased = []
full = [
    "throttle",
    "trace_adaptor",
    "erased",
    "cache_me",
]
native-tls = ["reqwest/native-tls"]
nightly = []
rustls = ["reqwest/rustls"]
rustls-native-roots = ["reqwest/rustls"]
throttle = ["vecrem"]
trace_adaptor = []

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

[[example]]
name = "erased"
path = "examples/erased.rs"
required-features = [
    "tokio/macros",
    "tokio/rt-multi-thread",
    "erased",
    "trace_adaptor",
]

[[example]]
name = "self_info"
path = "examples/self_info.rs"
doc-scrape-examples = true
required-features = [
    "tokio/macros",
    "tokio/rt-multi-thread",
]

[dependencies.bitflags]
version = "2"

[dependencies.bytes]
version = "1.0.0"

[dependencies.chrono]
version = "0.4.32"
default-features = false

[dependencies.derive_more]
version = "2.0.1"
features = [
    "display",
    "from",
    "deref",
]

[dependencies.either]
version = "1.6.1"

[dependencies.futures]
version = "0.3.5"

[dependencies.log]
version = "0.4"

[dependencies.mime]
version = "0.3.16"

[dependencies.once_cell]
version = "1.5.0"

[dependencies.pin-project]
version = "1.0.12"

[dependencies.rc-box]
version = "1.1.1"

[dependencies.reqwest]
version = "0.13.3"
features = [
    "json",
    "stream",
    "multipart",
]
default-features = false

[dependencies.rgb]
version = "0.8.48"

[dependencies.schemars]
version = "=1.0.4"
features = [
    "chrono04",
    "url2",
]

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

[dependencies.serde_json]
version = "1.0.55"

[dependencies.serde_with]
version = "3.12.0"

[dependencies.stacker]
version = "0.1"

[dependencies.take_mut]
version = "0.2"

[dependencies.takecell]
version = "=0.1.1"

[dependencies.thiserror]
version = "2.0.11"

[dependencies.tokio]
version = "1.39"
features = [
    "fs",
    "io-util",
]

[dependencies.tokio-util]
version = "0.7.0"
features = ["codec"]

[dependencies.url]
version = "2"
features = ["serde"]

[dependencies.uuid]
version = "1.1.0"
features = ["v4"]

[dependencies.vecrem]
version = "0.1"
optional = true

[dev-dependencies.aho-corasick]
version = "1.1.3"

[dev-dependencies.cool_asserts]
version = "2.0.3"

[dev-dependencies.indexmap]
version = "2.7.1"
features = ["serde"]

[dev-dependencies.itertools]
version = "0.14"

[dev-dependencies.pretty_assertions]
version = "1.4.0"

[dev-dependencies.pretty_env_logger]
version = "0.5"

[dev-dependencies.ron]
version = "0.8.1"

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

[dev-dependencies.xshell]
version = "0.2.7"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(dep_docsrs)"]