Skip to content

square/okhttp-icu

Repository files navigation

OkHttp-ICU

This is a Kotlin/Multiplatform API to the subset of ICU required by OkHttp.

This project builds upon the following implementations:

This is a subproject of OkHttp. See that project for issue tracking, security, and documentation.

Directory Structure

The main branch uses Git Submodules to place this repo's own ICU branches into the main branch's directory tree:

 |-- submodules
 |   '-- icu               Submodule of the ICU project's main branch
 |-- okhttp-icu            Top-level Kotlin/Multiplatform module API
 |   '-- src
 |       |-- commonMain    Interfaces for ICU features
 |       |-- jvmMain       Implementation that uses Java's built-in ICU APIs.
 |       |-- jsMain        Implementation that uses JavaScript's built-in ICU APIs.
 |       |-- appleMain     Implementation that uses Apple's built-in ICU APIs.
 |       |-- windowsMain   Implementation that uses Windows' built-in ICU APIs.
 |       '-- linuxMain     Implementation that uses okhttp-icu4c.
 |-- okhttp-icu4c          Kotlin/Native module that packages the code in submodules/icu/icu4c
 |-- README.md
 '-- ...

Developing

You'll need Git LFS for ICU.

See Also

doistx-normalize is another library that implements string normalization for Kotlin/Multiplatform.

License

This project packages code from ICU that is subject to this this license.

OkHttp-ICU code is licensed as Apache 2:

Copyright 2023 Square, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Builds a minimal subset of ICU required by OkHttp.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages