use-graph-store 0.1.0

Property-graph store modeling primitives for RustUse
Documentation
  • Coverage
  • 100%
    40 out of 40 items documented1 out of 40 items with examples
  • Size
  • Source code size: 8.91 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-nosql
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-graph-store

Property-graph store modeling primitives for RustUse.

Experimental

use-graph-store is experimental while use-nosql remains below 0.3.0.

Example

use use_graph_store::{GraphProperty, GraphVertex, PropertyKey, PropertyValue, VertexId, VertexLabel};

let vertex = GraphVertex::new(VertexId::new("person_1"), VertexLabel::new("Person"))
    .with_property(GraphProperty::new(PropertyKey::new("name"), PropertyValue::new("Ada")));

assert_eq!(vertex.label().as_str(), "Person");
assert_eq!(vertex.properties().len(), 1);

Scope

  • Property-graph store identifiers, labels, properties, vertices, and edges.
  • Data modeling for graph-store records.

Non-goals

  • Graph-theory algorithms.
  • Replacement for the use-graph RustUse set.
  • Graph database clients or traversals.

License

Licensed under either Apache-2.0 or MIT.