#uri #rdf #prefix #qname

curie

CURIE or Compact URIs as used in JSON-LD, RDF, SPARQL, XML and other applications. This manages mapping prefixes to URIs or IRIs as well as expanding CURIEs to the complete URI form.

11 releases

0.1.2 Oct 1, 2023
0.1.1 Aug 8, 2019
0.0.8 Jul 9, 2018
0.0.6 Jun 18, 2018
0.0.4 Aug 4, 2016

#8 in #uri

Download history 61/week @ 2024-07-04 4/week @ 2024-07-11 15/week @ 2024-07-18 43/week @ 2024-07-25 17/week @ 2024-08-01 6/week @ 2024-08-08 4/week @ 2024-08-15 5/week @ 2024-08-22 22/week @ 2024-08-29 17/week @ 2024-09-05 23/week @ 2024-09-12 24/week @ 2024-09-19 68/week @ 2024-09-26 34/week @ 2024-10-03 15/week @ 2024-10-10 8/week @ 2024-10-17

130 downloads per month
Used in 5 crates (3 directly)

MIT/Apache

22KB
271 lines

curie

CI docs.rs

CURIEs, defined by the W3C, are a compact way of representing a URI. A CURIE consists of an optional prefix and a reference, separated by a colon.

They are commonly used in JSON-LD, RDF, SPARQL, XML namespaces and other applications.

Dual licensed under the MIT and Apache 2 licenses.

Documentation

The API is fully documented with examples: https://docs.rs/curie/

Installation

This crate works with Cargo and is on crates.io. Add it to your Cargo.toml like so:

[dependencies]
curie = "0.1"

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.

Dependencies

~1MB
~14K SLoC