This repository is deprecated, use Foundation proper distributed with SwiftWasm
Minimalistic Swift Foundation built on top of the WebAssembly System Interface. Only a very limited subset of the API is implemented, just enough to bootstrap the SwiftWasm efforts, namely
Data
(base64 API not supported yet)FileHandle.init(fileDescriptor:)
,FileHandle.write(_:)
,FileHandle.standardError
JSONDecoder
andJSONEncoder
RegularExpression
- Basic
DateComponents
API Date
DateFormatter
with a hardcoded ISO format, custom formatting with the Foundation format isn't supported yet (becausestrftime
format is substantially different from Foundation's format specifiers)String.init(format:arguments:)
,String.appendingFormat
,String.appending
- Basic
URL
API.
This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.
This project uses parts of SwiftFoundation, which are distributed under the terms of the MIT License.
The rest of the code is distributed under the Apache 2.0 license.