iri-string 0.3.0

IRI as string types
Documentation

iri-string

Build Status Latest version Documentation Minimum rustc version: 1.41

String types for IRIs (Internationalized Resource Identifiers) and URIs (Uniform Resource Identifiers).

See the documentation for detail.

Features

  • no_std support.
  • String types (both owned and borrowed) for IRIs.
  • IRI reference resolution algorithm.

Feature flags

  • alloc (enabled by default)
    • Enables types and functions which require memory allocation.
    • Requires std or alloc crate available.
  • std (enabled by default)
    • Enables all std features (such as memory allocations and std::error::Error trait).
  • nom-std
    • Enable optimization for internal parsers, using std power.
  • serde
    • Implements Serialize and Deserialize traits for string types.

License

Licensed under either of

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.