# 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 = "2021"
rust-version = "1.70"
name = "goish"
version = "0.20.7"
authors = ["Chanwit Kaewkasi <chanwit@gmail.com>"]
build = false
exclude = [
    "refs/*",
    "/.claude/*",
    "**/.memsearch/*",
    "examples/gostring_prototype/*",
    "tests/*",
    "transpiler/*",
    "target/*",
    ".github/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Goish Rust — write Rust using Go idioms. Ports Go's standard library and syntax so Go programmers can write Rust code that reads and feels like Go."
homepage = "https://github.com/chanwit/goish"
documentation = "https://docs.rs/goish"
readme = "README.md"
keywords = [
    "go",
    "golang",
    "idioms",
    "stdlib",
    "port",
]
categories = [
    "development-tools",
    "rust-patterns",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/chanwit/goish"

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bytes]
version = "1"

[dependencies.flume]
version = "0.11"
features = [
    "async",
    "select",
    "eventual-fairness",
]
default-features = false

[dependencies.goish-macros]
version = "0.6"

[dependencies.http]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = [
    "http1",
    "server",
    "client",
]

[dependencies.hyper-util]
version = "0.1"
features = [
    "tokio",
    "http1",
    "server",
    "server-graceful",
    "client-legacy",
]

[dependencies.inventory]
version = "0.3"

[dependencies.regex]
version = "1"

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1"

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