iri-string
String types for IRIs (Internationalized Resource Identifiers) and URIs (Uniform Resource Identifiers).
See the documentation for details.
Features
no_stdsupport.- String types (both owned and borrowed) for IRIs.
- IRI reference resolution algorithm.
Feature flags
Direct
alloc(enabled by default)- Enables types and functions which require memory allocation.
- Requires
stdoralloccrate available.
std(enabled by default)- Enables all
stdfeatures (such as memory allocations andstd::error::Errortrait). - Requires
stdcrate available. - This automatically enables
allocfeature.
- Enables all
nom
nom-std(enabled by default)- Enable optimization for internal parsers, using std power.
- This automatically enables
stdfeature.
serde
serde- Implements
SerializeandDeserializetraits for string types.
- Implements
serde-alloc- Enables deriving serialization and deserialization impls which requires heap memory allocation.
- If you enable
allocandserdefeatures at the same time, you should also enableserde-allocfeature. - This automatically enables
allocfeature.
serde-std- Enables deriving serialization and deserialization impls which requires std stuff.
- If you enable
stdandserdefeatures at the same time, you should also enableserde-stdfeature. - This automatically enables
stdfeature.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE.txt or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT.txt or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.