licenses.dev

twoway v0.2.2

(Deprecated - use crate memchr instead.) Fast substring search for strings and byte strings. Optional SSE4.2 acceleration (if detected at runtime) using pcmpestri. Memchr is the only mandatory dependency. The two way algorithm is also used by rust's libstd itself, but here it is exposed both for byte strings, using memchr, and optionally using a SSE4.2 accelerated version.

Published on

Licenses

Learn more about license information.

Package Licenses

Apache-2.0 OR MIT

Dependency Licenses

Apache-2.0 OR MIT30
PackageRelationDependenciesPublished
autocfg • 0.1.8Automatic cfg for Rust compiler featuresINDIRECT1
autocfg • 1.4.0Automatic cfg for Rust compiler featuresINDIRECT0
bitflags • 1.3.2A macro to generate structures which behave like bitflags. INDIRECT0
defmac • 0.1.3A macro to define lambda-like macros inline.INDIRECT0
either • 1.13.0The enum `Either` with variants `Left` and `Right` is a general purpose sum type with two cases. INDIRECT0
galil-seiferas • 0.1.5General string search in constant space, linear time, for nonorderable alphabets.DIRECT2
itertools • 0.8.2Extra iterator adaptors, iterator methods, free functions, and macros.DIRECT1
libc • 0.2.161Raw FFI bindings to platform libraries like libc. INDIRECT0
macro-attr • 0.2.0This crate provides the `macro_attr!` macro that enables the use of custom, macro-based attributes and derivations. Supercedes the `custom_derive` crate.DIRECT0
newtype_derive • 0.1.6This crate provides macros for deriving common traits for newtype structures.DIRECT2
odds • 0.3.1Odds and ends — collection miscellania. Extra functionality for slices (`.find()`, `RevSlice`), strings and other things. Things in odds may move to more appropriate crates if we find them. DIRECT4
rand_chacha • 0.1.1ChaCha random number generator INDIRECT4
rand_core • 0.3.1Core random number generator traits and tools for implementation. INDIRECT1
rand_core • 0.4.2Core random number generator traits and tools for implementation. INDIRECT0
rand_hc • 0.1.0HC128 random number generator INDIRECT2
rand_isaac • 0.1.1ISAAC random number generator INDIRECT2
rand_jitter • 0.1.4Random number generator based on timing jitterINDIRECT5
rand_os • 0.1.3OS backed Random Number GeneratorINDIRECT10
rand_pcg • 0.1.2Selected PCG random number generators INDIRECT3
rand_xorshift • 0.1.1Xorshift random number generator INDIRECT2
rand • 0.6.5Random number generators and other randomness functionality. DIRECT19
rawpointer • 0.1.0Extra methods for raw pointers and `NonNull<T>`. For example `.post_inc()` and `.pre_dec()` (c.f. `ptr++` and `--ptr`), `offset` and `add` for `NonNull<T>`, and the function `ptrdistance`. INDIRECT0
rawpointer • 0.2.1Extra methods for raw pointers and `NonNull<T>`. For example `.post_inc()` and `.pre_dec()` (c.f. `ptr++` and `--ptr`), `offset` and `add` for `NonNull<T>`, and the function `ptrdistance`. INDIRECT0
rawslice • 0.1.1Reimplementation of the slice iterators, with extra features. For example creation from raw pointers and start, end pointer accessors. INDIRECT1
rustc_version • 0.1.7A library for querying the version of a installed rustc compilerINDIRECT1
semver • 0.1.20Parser and evaluator for Cargo's flavor of Semantic VersioningINDIRECT0
unchecked-index • 0.2.2Unchecked indexing wrapper using regular index syntax.DIRECT0
winapi-i686-pc-windows-gnu • 0.4.0Import libraries for the i686-pc-windows-gnu target. Please don't use this crate directly, depend on winapi instead.INDIRECT0
winapi-x86_64-pc-windows-gnu • 0.4.0Import libraries for the x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on winapi instead.INDIRECT0
winapi • 0.3.9Raw FFI bindings for all of Windows API.INDIRECT2
MIT OR Unlicense2
PackageRelationDependenciesPublished
memchr • 2.7.4Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for 1, 2 or 3 byte search and single substring search. DIRECT0
quickcheck • 0.8.5Automatic property based testing with shrinking.DIRECT20
MIT1
PackageRelationDependenciesPublished
jetscii • 0.3.1A tiny library to efficiently search strings and byte slices for sets of ASCII characters or bytes.DIRECT0
BSD-2-Clause1
PackageRelationDependenciesPublished
cloudabi • 0.0.3Low level interface to CloudABI. Contains all syscalls and related types.INDIRECT1
non-standard1
PackageRelationDependenciesPublished
fuchsia-cprng • 0.1.1Rust crate for the Fuchsia cryptographically secure pseudorandom number generatorINDIRECT0
ISC1
PackageRelationDependenciesPublished
rdrand • 0.4.0An implementation of random number generator based on rdrand and rdseed instructionsINDIRECT2
Last updated on

Copy the licenses badge code for the latest version:

[![licenses](https://licenses.dev/b/cargo/twoway)](https://licenses.dev/cargo/twoway)
<a href="https://licenses.dev/cargo/twoway">
  <img src="https://licenses.dev/b/cargo/twoway" alt="licenses" />
</a>

Or the licenses badge code for the 0.2.2 version:

[![licenses](https://licenses.dev/b/cargo/twoway/0.2.2)](https://licenses.dev/cargo/twoway/0.2.2)
<a href="https://licenses.dev/cargo/twoway/0.2.2">
  <img src="https://licenses.dev/b/cargo/twoway/0.2.2" alt="licenses" />
</a>
GitHub