turbocow
Copyright (c) 2026 jaen and the turbocow authors
turbocow is dual-licensed under the MIT and Apache 2.0 licenses; see
LICENSE-MIT and LICENSE-APACHE. Portions of this project are derived from
third-party software whose copyright notices and license terms are reproduced
below and continue to apply to those portions.
================================================================================
Derived from ecow
================================================================================
turbocow's `EcoVec` and `EcoString` types are derived from, and remain API-
compatible with, the `ecow` crate (https://github.com/typst/ecow) version
0.3.0, by Laurenz Mädje and the ecow authors. The derived sources have been
modified relative to ecow — restructured around an allocator-generic storage
representation and extended with additional collection types. ecow is licensed
under "MIT OR Apache-2.0", and those terms continue to apply to the derived
portions.
Copyright (c) Laurenz Mädje and the ecow authors
================================================================================
Third-party code under the MIT License
================================================================================
The MIT License applies to the following, each adapted from the Rust standard
library (by way of ecow) and carrying an in-file attribution header:
* The code in `src/vec/drain.rs`, adapted from the Rust standard library's
`alloc::vec::Drain`.
(https://github.com/rust-lang/rust/blob/3ea2fbcb2a872b7e1fa3cada256f8e97f9e6636f/library/alloc/src/vec/drain.rs)
Copyright (c) The Rust Project Contributors
* The code in `src/vec/splice.rs`, adapted from the Rust standard library's
`alloc::vec::Splice` (and from ecow 0.3.0's vendored `Splice`).
(https://github.com/rust-lang/rust/blob/3ea2fbcb2a872b7e1fa3cada256f8e97f9e6636f/library/alloc/src/vec/splice.rs)
Copyright (c) The Rust Project Contributors
* The `drain`-related code in `src/vec/common/cloneable.rs`, adapted from the
Rust standard library's `Vec::drain`.
(https://github.com/rust-lang/rust/blob/3ea2fbcb2a872b7e1fa3cada256f8e97f9e6636f/library/alloc/src/vec/mod.rs)
Copyright (c) The Rust Project Contributors
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
================================================================================