# RDF.rs: RDF for Rust
[](https://unlicense.org)
[](https://rust-lang.org)
[](https://crates.io/crates/rdf_rs)
[](https://docs.rs/rdf_rs/)
**RDF.rs** is a [Rust] framework for working with [RDF] knowledge graphs.
🚧 _This is presently under heavy construction._
## ✨ Features
- 100% pure and safe Rust with minimal dependencies and no bloat.
- Supports `no_std` environments from the get-go.
- Supports opting out of any feature using comprehensive [feature flags].
- Adheres to the Rust API Guidelines in its [naming conventions].
- 100% free and unencumbered public domain software.
## 🛠️ Prerequisites
- [Rust] 1.81+
## ⬇️ Installation
### Installation via Cargo
```bash
cargo add rdf_rs --rename rdf
```
### Installation in `Cargo.toml` (with all features enabled)
```toml
[dependencies]
rdf = { package = "rdf_rs", version = "0.2" }
```
### Installation in `Cargo.toml` (with only specific features enabled)
```toml
[dependencies]
rdf = { package = "rdf_rs", version = "0.2", default-features = false, features = ["serde"] }
```
## 👉 Examples
### Importing the library
```rust,compile_fail
use rdf::*;
```
## 📚 Reference
https://docs.rs/rdf_rs/
## 👨💻 Development
```bash
git clone https://github.com/rust-rdf/rdf.rs.git
```
---
[](https://x.com/intent/post?url=https://github.com/rust-rdf/rdf.rs&text=RDF.rs)
[](https://reddit.com/submit?url=https://github.com/rust-rdf/rdf.rs&title=RDF.rs)
[](https://news.ycombinator.com/submitlink?u=https://github.com/rust-rdf/rdf.rs&t=RDF.rs)
[](https://www.facebook.com/sharer/sharer.php?u=https://github.com/rust-rdf/rdf.rs)
[](https://www.linkedin.com/sharing/share-offsite/?url=https://github.com/rust-rdf/rdf.rs)
[feature flags]: https://github.com/rust-rdf/rdf.rs/blob/master/lib/rdf_rs/Cargo.toml
[naming conventions]: https://rust-lang.github.io/api-guidelines/naming.html
[RDF]: https://www.w3.org/TR/rdf12-concepts/
[Rust]: https://rust-lang.org