[package]
edition = "2021"
rust-version = "1.70"
name = "goish"
version = "0.7.0"
authors = ["Chanwit Kaewkasi <chanwit@gmail.com>"]
build = false
exclude = [
"refs/*",
"/.claude/*",
"/.memsearch/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Write Rust using Go idioms — a Go-flavored standard library for Rust"
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 = "literals"
path = "examples/literals.rs"
[[example]]
name = "pipeline"
path = "examples/pipeline.rs"
[[example]]
name = "webscrape"
path = "examples/webscrape.rs"
[[example]]
name = "webserver"
path = "examples/webserver.rs"
[[example]]
name = "worker"
path = "examples/worker.rs"
[[test]]
name = "bytes_test"
path = "tests/bytes_test.rs"
[[test]]
name = "chan_bench"
path = "tests/chan_bench.rs"
[[test]]
name = "chan_test"
path = "tests/chan_test.rs"
[[test]]
name = "fmt_errors_test"
path = "tests/fmt_errors_test.rs"
[[test]]
name = "fmt_fmt_test"
path = "tests/fmt_fmt_test.rs"
[[test]]
name = "fmt_stringer_test"
path = "tests/fmt_stringer_test.rs"
[[test]]
name = "itoa_test"
path = "tests/itoa_test.rs"
[[test]]
name = "json_decode_test"
path = "tests/json_decode_test.rs"
[[test]]
name = "json_encode_test"
path = "tests/json_encode_test.rs"
[[test]]
name = "million_goroutines"
path = "tests/million_goroutines.rs"
[[test]]
name = "net_http_test"
path = "tests/net_http_test.rs"
[[test]]
name = "path_test"
path = "tests/path_test.rs"
[[test]]
name = "strconv_atob_test"
path = "tests/strconv_atob_test.rs"
[[test]]
name = "strconv_atoi_test"
path = "tests/strconv_atoi_test.rs"
[[test]]
name = "strconv_ftoa_test"
path = "tests/strconv_ftoa_test.rs"
[[test]]
name = "strconv_quote_test"
path = "tests/strconv_quote_test.rs"
[[test]]
name = "strings_builder_test"
path = "tests/strings_builder_test.rs"
[[test]]
name = "strings_compare_test"
path = "tests/strings_compare_test.rs"
[[test]]
name = "strings_reader_test"
path = "tests/strings_reader_test.rs"
[[test]]
name = "strings_replace_test"
path = "tests/strings_replace_test.rs"
[[test]]
name = "strings_strings_test"
path = "tests/strings_strings_test.rs"
[[test]]
name = "test_main_harness"
path = "tests/test_main_harness.rs"
harness = false
[[test]]
name = "time_format_test"
path = "tests/time_format_test.rs"
[[test]]
name = "time_tick_test"
path = "tests/time_tick_test.rs"
[[test]]
name = "time_time_test"
path = "tests/time_time_test.rs"
[dependencies.bytes]
version = "1"
[dependencies.flume]
version = "0.11"
features = ["async"]
default-features = false
[dependencies.goish-macros]
version = "0.5"
[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",
]