easy_callback 1.3.0

Automatic callback data encoding for teloxide
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.0"
name = "easy_callback"
version = "1.3.0"
authors = ["Ivan Sarnitskii <ivan.sarnitskiy@mail.ru>"]
build = false
exclude = [
    ".github",
    ".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Automatic callback data encoding for teloxide"
homepage = "https://crates.io/crates/easy_callback"
documentation = "https://docs.rs/easy_callback"
readme = "README.md"
keywords = [
    "teloxide",
    "telegram",
    "callback",
    "encoding",
    "derive",
]
categories = [
    "api-bindings",
    "encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZenKerr/easy_callback"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bitcode = [
    "easy_callback_derive/bitcode",
    "easy_callback_core/bitcode",
]
borsh = [
    "easy_callback_derive/borsh",
    "easy_callback_core/borsh",
]
ciborium = [
    "easy_callback_derive/ciborium",
    "easy_callback_core/ciborium",
]
oxicode = [
    "easy_callback_derive/oxicode",
    "easy_callback_core/oxicode",
]
postcard = [
    "easy_callback_derive/postcard",
    "easy_callback_core/postcard",
]
rkyv = [
    "easy_callback_derive/rkyv",
    "easy_callback_core/rkyv",
]
rmp = [
    "easy_callback_derive/rmp",
    "easy_callback_core/rmp",
]
speedy = [
    "easy_callback_derive/speedy",
    "easy_callback_core/speedy",
]
wincode = [
    "easy_callback_derive/wincode",
    "easy_callback_core/wincode",
]

[lib]
name = "easy_callback"
path = "src/lib.rs"
doctest = false

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

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

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

[dependencies.easy_callback_core]
version = "1.3.0"

[dependencies.easy_callback_derive]
version = "1.3.0"

[dev-dependencies.bitcode]
version = "0.6.9"
features = ["derive"]
default-features = false

[dev-dependencies.borsh]
version = "1.8.1"
features = ["derive"]
default-features = false

[dev-dependencies.oxicode]
version = "0.2.6"
features = ["derive"]
default-features = false

[dev-dependencies.rkyv]
version = "0.8.18"
default-features = false

[dev-dependencies.serde]
version = "1.0.229"
default-features = false

[dev-dependencies.speedy]
version = "0.8.7"
features = ["speedy-derive"]
default-features = false

[dev-dependencies.teloxide]
version = "0.17.0"
features = [
    "native-tls",
    "ctrlc_handler",
    "macros",
]
default-features = false

[dev-dependencies.tokio]
version = "1.53.2"
features = ["macros"]
default-features = false

[dev-dependencies.wincode]
version = "0.6.2"
features = ["derive"]
default-features = false