https://github.com/endoli/curie.rs
CURIEs, or Compact URIs, for JSON-LD, RDF and other things.
https://github.com/endoli/curie.rs
Last synced: over 1 year ago
JSON representation
CURIEs, or Compact URIs, for JSON-LD, RDF and other things.
- Host: GitHub
- URL: https://github.com/endoli/curie.rs
- Owner: endoli
- License: apache-2.0
- Created: 2016-07-31T14:38:58.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2024-12-06T01:43:42.000Z (over 1 year ago)
- Last Synced: 2025-04-14T11:08:39.950Z (over 1 year ago)
- Language: Rust
- Homepage: https://docs.rs/curie
- Size: 641 KB
- Stars: 11
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# curie
[](https://github.com/endoli/curie.rs/actions/workflows/ci.yml)
[](https://crates.io/crates/curie)
[](https://docs.rs/curie)
CURIEs, [defined by the W3C](https://www.w3.org/TR/curie/), 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:
## Installation
This crate works with Cargo and is on
[crates.io](https://crates.io/crates/curie).
Add it to your `Cargo.toml` like so:
```toml
[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.