[package]
edition = "2021"
rust-version = "1.70"
name = "goish"
version = "0.16.2"
authors = ["Chanwit Kaewkasi <chanwit@gmail.com>"]
build = false
exclude = [
"refs/*",
"/.claude/*",
"**/.memsearch/*",
"examples/gostring_prototype/*",
]
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 = "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 = "bufio_scan_test"
path = "tests/bufio_scan_test.rs"
[[test]]
name = "bufio_test"
path = "tests/bufio_test.rs"
[[test]]
name = "bytes_test"
path = "tests/bytes_test.rs"
[[test]]
name = "chan_bench"
path = "tests/chan_bench.rs"
[[test]]
name = "chan_runtime_test"
path = "tests/chan_runtime_test.rs"
[[test]]
name = "chan_test"
path = "tests/chan_test.rs"
[[test]]
name = "cmp_test"
path = "tests/cmp_test.rs"
[[test]]
name = "container_heap_test"
path = "tests/container_heap_test.rs"
[[test]]
name = "container_list_test"
path = "tests/container_list_test.rs"
[[test]]
name = "container_ring_test"
path = "tests/container_ring_test.rs"
[[test]]
name = "context_test"
path = "tests/context_test.rs"
[[test]]
name = "crypto_md5_test"
path = "tests/crypto_md5_test.rs"
[[test]]
name = "crypto_sha1_test"
path = "tests/crypto_sha1_test.rs"
[[test]]
name = "crypto_sha256_test"
path = "tests/crypto_sha256_test.rs"
[[test]]
name = "encoding_base64_test"
path = "tests/encoding_base64_test.rs"
[[test]]
name = "encoding_binary_test"
path = "tests/encoding_binary_test.rs"
[[test]]
name = "encoding_csv_test"
path = "tests/encoding_csv_test.rs"
[[test]]
name = "encoding_hex_test"
path = "tests/encoding_hex_test.rs"
[[test]]
name = "filepath_match_test"
path = "tests/filepath_match_test.rs"
[[test]]
name = "filepath_path_test"
path = "tests/filepath_path_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 = "hash_crc32_test"
path = "tests/hash_crc32_test.rs"
[[test]]
name = "hash_fnv_test"
path = "tests/hash_fnv_test.rs"
[[test]]
name = "html_test"
path = "tests/html_test.rs"
[[test]]
name = "http_client_serve_test"
path = "tests/http_client_serve_test.rs"
[[test]]
name = "http_request_test"
path = "tests/http_request_test.rs"
[[test]]
name = "http_response_test"
path = "tests/http_response_test.rs"
[[test]]
name = "io_test"
path = "tests/io_test.rs"
[[test]]
name = "iter_test"
path = "tests/iter_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 = "maps_test"
path = "tests/maps_test.rs"
[[test]]
name = "math_rand_test"
path = "tests/math_rand_test.rs"
[[test]]
name = "math_test"
path = "tests/math_test.rs"
[[test]]
name = "million_goroutines"
path = "tests/million_goroutines.rs"
[[test]]
name = "mime_multipart_test"
path = "tests/mime_multipart_test.rs"
[[test]]
name = "net_http_cookie_test"
path = "tests/net_http_cookie_test.rs"
[[test]]
name = "net_http_test"
path = "tests/net_http_test.rs"
[[test]]
name = "net_mail_test"
path = "tests/net_mail_test.rs"
[[test]]
name = "net_netip_test"
path = "tests/net_netip_test.rs"
[[test]]
name = "net_smtp_test"
path = "tests/net_smtp_test.rs"
[[test]]
name = "net_textproto_test"
path = "tests/net_textproto_test.rs"
[[test]]
name = "os_env_test"
path = "tests/os_env_test.rs"
[[test]]
name = "os_test"
path = "tests/os_test.rs"
[[test]]
name = "path_test"
path = "tests/path_test.rs"
[[test]]
name = "regexp_all_test"
path = "tests/regexp_all_test.rs"
[[test]]
name = "regexp_find_test"
path = "tests/regexp_find_test.rs"
[[test]]
name = "select_semantics_test"
path = "tests/select_semantics_test.rs"
[[test]]
name = "slices_test"
path = "tests/slices_test.rs"
[[test]]
name = "sort_test"
path = "tests/sort_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 = "sync_atomic_test"
path = "tests/sync_atomic_test.rs"
[[test]]
name = "sync_mutex_test"
path = "tests/sync_mutex_test.rs"
[[test]]
name = "sync_waitgroup_once_test"
path = "tests/sync_waitgroup_once_test.rs"
[[test]]
name = "test_main_harness"
path = "tests/test_main_harness.rs"
harness = false
[[test]]
name = "text_scanner_test"
path = "tests/text_scanner_test.rs"
[[test]]
name = "text_tabwriter_test"
path = "tests/text_tabwriter_test.rs"
[[test]]
name = "text_template_test"
path = "tests/text_template_test.rs"
[[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"
[[test]]
name = "unicode_test"
path = "tests/unicode_test.rs"
[[test]]
name = "unicode_utf8_test"
path = "tests/unicode_utf8_test.rs"
[[test]]
name = "url_test"
path = "tests/url_test.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",
]