flymcprust-core 0.1.1

Runtime and transports of FlyMCPRust, a high-performance MCP server SDK for Rust. Use the `flymcprust` crate.
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.88"
name = "flymcprust-core"
version = "0.1.1"
authors = ["The FlyMCPRust contributors"]
build = false
exclude = ["tests/"]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime and transports of FlyMCPRust, a high-performance MCP server SDK for Rust. Use the `flymcprust` crate."
homepage = "https://github.com/charlesmmorais/flymcprust"
documentation = "https://docs.rs/flymcprust-core"
readme = false
keywords = [
    "mcp",
    "mcp-server",
    "sdk",
    "ai",
    "llm",
]
categories = [
    "network-programming",
    "asynchronous",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/charlesmmorais/flymcprust"

[package.metadata.docs.rs]
all-features = true

[features]
auto-register = ["dep:inventory"]
default = []
http = [
    "dep:bytes",
    "dep:http",
    "dep:http-body",
    "dep:http-body-util",
    "dep:hyper",
    "dep:hyper-util",
    "tokio/net",
    "tokio/rt",
]
oauth = [
    "http",
    "dep:hyper-rustls",
    "dep:ring",
    "dep:rustls",
    "hyper/client",
    "hyper-util/client-legacy",
]
stdio = [
    "tokio/io-std",
    "tokio/io-util",
    "tokio/rt",
]
test-client = []

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

[[bench]]
name = "hot_path"
path = "benches/hot_path.rs"
harness = false

[dependencies.base64]
version = "0.22.1"

[dependencies.bytes]
version = "1.10.1"
optional = true

[dependencies.flymcprust-spec]
version = "0.1.1"

[dependencies.futures-util]
version = "0.3.31"
features = ["std"]
default-features = false

[dependencies.getrandom]
version = "0.4.3"

[dependencies.hmac]
version = "0.13.0"

[dependencies.http]
version = "1.3.1"
optional = true

[dependencies.http-body]
version = "1.0.1"
optional = true

[dependencies.http-body-util]
version = "0.1.3"
optional = true

[dependencies.hyper]
version = "1.6.0"
features = [
    "server",
    "http1",
]
optional = true

[dependencies.hyper-rustls]
version = "0.27.7"
features = [
    "http1",
    "tls12",
    "ring",
    "native-tokio",
]
optional = true
default-features = false

[dependencies.hyper-util]
version = "0.1.16"
features = [
    "tokio",
    "server-graceful",
    "http1",
]
optional = true

[dependencies.inventory]
version = "0.3.20"
optional = true

[dependencies.memchr]
version = "2.7.4"

[dependencies.ring]
version = "0.17.14"
optional = true

[dependencies.rustls]
version = "0.23.31"
features = [
    "ring",
    "std",
    "tls12",
]
optional = true
default-features = false

[dependencies.schemars]
version = "1.0.4"
features = [
    "std",
    "derive",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.140"
features = ["raw_value"]

[dependencies.sha2]
version = "0.11.0"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.47.0"
features = [
    "macros",
    "sync",
    "time",
]
default-features = false

[dependencies.tokio-util]
version = "0.7.15"
default-features = false

[dependencies.tower-service]
version = "0.3.3"

[dependencies.tracing]
version = "0.1.41"
features = ["std"]
default-features = false

[dev-dependencies.criterion]
version = "0.8.1"
features = [
    "async_tokio",
    "cargo_bench_support",
]
default-features = false

[dev-dependencies.tokio]
version = "1.47.0"
features = [
    "macros",
    "rt-multi-thread",
    "time",
    "test-util",
    "io-util",
    "net",
]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3.19"
features = [
    "fmt",
    "std",
]
default-features = false

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
indexing_slicing = "deny"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1