# 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 = "kodegen_tools_github"
version = "0.5.4"
authors = ["KODEGEN.ᴀɪ"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "KODEGEN.ᴀɪ: Memory-efficient, Blazing-Fast, MCP tools for code generation agents."
homepage = "https://kodegen.ai"
readme = "README.md"
keywords = [
    "mcp",
    "terminal",
    "agent",
    "filesystem",
    "claude",
]
categories = [
    "development-tools",
    "command-line-utilities",
    "api-bindings",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/cyrup-ai/kodegen-tools-github"

[package.metadata.bundle]
identifier = "ai.kodegen.kodegen_tools_github"
publisher = "KODEGEN.ᴀɪ"
copyright = "Copyright © 2025"
short_description = "Memory-efficient, Blazing-Fast, MCP tools for code generation agents."

[package.metadata.bundle.category]
linux = "Development"
macos = "public.app-category.developer-tools"

[features]
default = ["mcp"]
mcp = []

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

[[bin]]
name = "kodegen-github"
path = "src/main.rs"

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"

[dependencies.env_logger]
version = "0.11"

[dependencies.futures]
version = "0.3"

[dependencies.gix]
version = "0.75"
features = [
    "blob-diff",
    "blocking-network-client",
    "blocking-http-transport-reqwest-rust-tls",
    "max-performance",
    "credentials",
    "dirwalk",
    "revision",
    "index",
    "blob-diff",
    "worktree-mutation",
    "merge",
    "excludes",
    "status",
]
default-features = false

[dependencies.gix-lock]
version = "19"

[dependencies.gix-tempfile]
version = "19"

[dependencies.gix-utils]
version = "0.3"

[dependencies.jsonwebtoken]
version = "9"

[dependencies.kodegen_config_manager]
version = "0.5"

[dependencies.kodegen_mcp_schema]
version = "0.5"

[dependencies.kodegen_mcp_tool]
version = "0.5"

[dependencies.kodegen_server_http]
version = "0.5"

[dependencies.kodegen_utils]
version = "0.5"

[dependencies.lazy_static]
version = "1"

[dependencies.log]
version = "0.4"

[dependencies.lru]
version = "0.16"

[dependencies.octocrab]
version = "0.47"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]

[dependencies.rmcp]
version = "0.10"
features = [
    "client",
    "schemars",
    "server",
    "transport-sse-server",
    "transport-child-process",
    "transport-io",
    "transport-sse-client",
    "transport-sse-client-reqwest",
    "transport-streamable-http-client",
    "transport-streamable-http-client-reqwest",
]

[dependencies.rustls]
version = "0.23"
features = ["ring"]

[dependencies.schemars]
version = "1"

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.snafu]
version = "0.8"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-stream]
version = "0.1"

[dependencies.toml]
version = "0.9"

[dependencies.urlencoding]
version = "2"

[dependencies.walkdir]
version = "2"

[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls",
]
default-features = false

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tracing]
version = "0.1"

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