Files
shorebird-updater/cspell.config.yaml
T
Eric Seidel c6647a2dfe refactor: replace reqwest with ureq to reduce binary size (#317)
* refactor: replace reqwest with ureq to reduce binary size

reqwest's blocking API is built on top of its async implementation,
pulling in tokio, hyper, futures, and ~84 other transitive dependencies
even though we only make simple synchronous HTTP calls.

ureq is a synchronous-only HTTP client that eliminates the async
runtime entirely. This reduces transitive dependencies from 227 to 143
and the linked dylib from 4.5 MB to 3.7 MB (-18%). The .a archive
drops from 28 MB to 26 MB, but real savings will be larger once
linked into libflutter with dead code stripping.

The network API surface is unchanged — three functions (patch check,
file download, event reporting) using POST/GET with JSON.

* chore: add ureq to spell check dictionary

* refactor: use into_body() instead of body_mut() where response is consumed

* fix: simplify network error matching to avoid fragile string checks

Consolidate HostNotFound, ConnectionFailed, and all Io errors into
a single network-error arm instead of pattern-matching on error
message strings that could change across OS versions or locales.

* chore: add TODO for misleading network error message
2026-04-01 08:23:48 -07:00

84 lines
1.1 KiB
YAML

$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json
version: "0.2"
ignorePaths:
- target
- build
- "**/*.g.dart"
# Flutter platform directories with per-platform build files
- windows
- macos
- linux
- ios
- android
words:
- aarch
- androideabi
- apks
- armeabi
- armv7
- autogen
- bidiff
- bipatch
- bootable
- buildlog
- buildroot
- bundletool
- carryforward
- cbindgen
- cdylib
- classpath
- comde
- compatch
- Condvar
- datadir
- declspec
- Decompressor
- dllexport
- dlopen
- EDQUOT
- embedders
- EOCD
- endtemplate
- ENOSPC
- EROFS
- eseidel
- ffigen
- gclient
- hdpi
- ifdef
- libapp
- libc
- libflutter
- libupdater
- logcat
- mockall
- mocktail
- msvc
- oslog
- pubspec
- repr
- reqwest
- rollouts
- rustflags
- rustls
- rustup
- serde
- shorebirdtech
- sigstore
- staticlib
- subosito
- swiftpm
- symbolication
- ureq
- unbootable
- unbooted
- usize
- Verdana
- vmcode
- withf
- xlink
- zstandard
- zstd
- xcodeproj
- pbxproj