### Start IndraDB Server Source: https://docs.rs/crate/indradb/latest/source/README Starts the IndraDB server. This is the initial step before interacting with the database. ```bash indradb-server ``` -------------------------------- ### Installation: Build from Source Source: https://docs.rs/crate/indradb/latest/index Steps to build and install IndraDB from source code. This includes prerequisites like Rust, gcc, and the protobuf toolchain, followed by cloning the repository and using Cargo to install. ```bash # Install rust # Make sure you have gcc 5+ and the protobuf toolchain installed. # Clone the repo: git clone git@github.com:indradb/indradb.git # Build/install it: cargo install ``` -------------------------------- ### Install IndraDB from Source Source: https://docs.rs/crate/indradb/latest/source/README Builds and installs IndraDB from its source code repository using Cargo. ```bash git clone git@github.com:indradiv/indradiv.git cd indradiv cargo install ``` -------------------------------- ### Start IndraDB Server with Memory Datastore (with Persistence) Source: https://docs.rs/crate/indradb/latest/source/README Starts the IndraDB server using the in-memory datastore and specifies a path for persistence. ```bash indradb-server memory --persist-path=[/path/to/memory/image] ``` -------------------------------- ### Start IndraDB Server with RocksDB Datastore Source: https://docs.rs/crate/indradb/latest/source/README Starts the IndraDB server using the RocksDB datastore, optionally specifying a database path. ```bash indradb-server rocksdb [/path/to/rocksdb.rdb] [options] ``` -------------------------------- ### Installation: Download Latest Release Source: https://docs.rs/crate/indradb/latest/index Instructions for downloading the latest pre-compiled releases of IndraDB for Linux and macOS. It also mentions adding the binaries to the system's PATH. ```bash # Download the latest release for your platform. # Add the binaries to your PATH. # Start the server: indradb-server ``` -------------------------------- ### Datastores: RocksDB Datastore Configuration Source: https://docs.rs/crate/indradb/latest/index Shows the command to start the IndraDB server using the RocksDB-backed datastore. It includes an optional path argument for the RocksDB database file. ```bash indradb-server rocksdb [/path/to/rocksdb.rdb] [options] ``` -------------------------------- ### Python Client Example Source: https://docs.rs/crate/indradb/latest/index Demonstrates connecting to an IndraDB server, creating vertices and edges, and querying for edges using the Python client library. ```python import indradb import uuid # Connect to the server and make sure it's up client = indradb.Client("localhost:27615") client.ping() # Create a couple of vertices out_v = indradb.Vertex(uuid.uuid4(), "person") in_v = indradb.Vertex(uuid.uuid4(), "movie") client.create_vertex(out_v) client.create_vertex(in_v) # Add an edge between the vertices edge = indradb.Edge(out_v.id, "bar", in_v.id) client.create_edge(edge) # Query for the edge results = list(client.get(indradb.SpecificEdgeQuery(edge))) print(results) ``` -------------------------------- ### Rust Resources Source: https://docs.rs/crate/indradb/latest/source/README A collection of useful links for Rust developers, including the official Rust website, The Book, Standard Library API Reference, Rust by Example, The Cargo Guide, and Clippy Documentation. ```Rust https://www.rust-lang.org/ https://doc.rust-lang.org/book/ https://doc.rust-lang.org/std/ https://doc.rust-lang.org/rust-by-example/ https://doc.rust-lang.org/cargo/guide/ https://doc.rust-lang.org/nightly/clippy ``` -------------------------------- ### Rust gRPC Client Example Source: https://docs.rs/crate/indradb/latest/index Illustrates connecting to an IndraDB server using Rust gRPC bindings, creating vertices and edges, and querying for edges. Includes error handling and result extraction. ```rust use indradb; use indradb_proto as proto; // Connect to the server and make sure it's up let mut client = proto::Client::new("grpc://127.0.0.1:27615".try_into()?).await?; client.ping().await?; // Create a couple of vertices let out_v = indradb::Vertex::new(indradb::Identifier::new("person")?); let in_v = indradb::Vertex::new(indradb::Identifier::new("movie")?); client.create_vertex(&out_v).await?; client.create_vertex(&in_v).await?; // Add an edge between the vertices let edge = indradb::Edge::new(out_v.id, indradb::Identifier::new("likes")?, in_v.id); client.create_edge(&edge).await?; // Query for the edge let output: Vec = client.get(indradb::SpecificEdgeQuery::single(edge.clone())).await?; // Convenience function to extract out the edges from the query results let e = indradb::util::extract_edges(output).unwrap(); assert_eq!(e.len(), 1); assert_eq!(edge, e[0]); ``` -------------------------------- ### Start IndraDB Server with Memory Datastore (No Persistence) Source: https://docs.rs/crate/indradb/latest/source/README Starts the IndraDB server using the in-memory datastore without persistence enabled. ```bash indradb-server [options] ``` -------------------------------- ### Rust Library: Basic Usage Example Source: https://docs.rs/crate/indradb/latest/index Demonstrates fundamental operations using the IndraDB Rust library, including creating an in-memory datastore, creating vertices and edges, and querying for an edge. It showcases basic data manipulation and retrieval. ```rust use indradb; // Create an in-memory datastore let db: indradb::Database = indradb::MemoryDatastore::default(); // Create a couple of vertices let out_v = indradb::Vertex::new(indradb::Identifier::new("person")?); let in_v = indradb::Vertex::new(indradb::Identifier::new("movie")?); db.create_vertex(&out_v)?; db.create_vertex(&in_v)?; // Add an edge between the vertices let edge = indradb::Edge::new(out_v.id, indradb::Identifier::new("likes")?, in_v.id); db.create_edge(&edge)?; // Query for the edge let output: Vec = db.get(indradb::SpecificEdgeQuery::single(edge.clone()))?; // Convenience function to extract out the edges from the query results let e = indradb::util::extract_edges(output).unwrap(); assert_eq!(e.len(), 1); assert_eq!(edge, e[0]); ``` -------------------------------- ### Datastores: Memory Datastore Configuration Source: https://docs.rs/crate/indradb/latest/index Illustrates how to start the IndraDB server with the default in-memory datastore, both without persistence and with persistence to a specified file path. It also notes the need to explicitly call `Sync()` for persistence. ```bash # Start with default in-memory datastore (no persistence) indradb-server [options] # Start with in-memory datastore persisting to disk indradb-server memory --persist-path=[/path/to/memory/image] ``` -------------------------------- ### Plugins: Executing Plugins via gRPC Source: https://docs.rs/crate/indradb/latest/index Explains how plugins extend IndraDB functionality and are invoked through the gRPC `ExecutePlugin` function. It references example plugins for demonstration. ```bash # Plugins are callable via the gRPC ExecutePlugin function. # Example: indradb-server --plugins=plugins/*.so ``` -------------------------------- ### Count Vertices using CLI Source: https://docs.rs/crate/indradb/latest/source/README An example of using the IndraDB client to count vertices in the database via gRPC. ```bash indradb-client grpc://127.0.0.1:27615 count vertex ``` -------------------------------- ### CLI: Count Vertices Source: https://docs.rs/crate/indradb/latest/index An example of using the IndraDB command-line client to count the number of vertices in a running IndraDB server. It assumes the server is running and accessible via the specified address. ```bash indradb-client grpc://127.0.0.1:27615 count vertex ``` -------------------------------- ### Rust Library: Add IndraDB Dependency Source: https://docs.rs/crate/indradb/latest/source/README Shows how to add the IndraDB Rust library to a project's `Cargo.toml` file, including an example feature for RocksDB datastore support. ```toml indradb-lib = { version = "*", features = ["rocksdb-datastore"] } ``` -------------------------------- ### IndraDB Server Plugin Loading Source: https://docs.rs/crate/indradb/latest/source/README Demonstrates how to load plugins for the IndraDB server using the --plugins argument. ```bash indradb-server --plugins=plugins/*.so ``` -------------------------------- ### Docker: Build and Run Client Source: https://docs.rs/crate/indradb/latest/index Commands to build the Docker image for the IndraDB client and then run it to interact with a local server. It demonstrates connecting to the server and executing a 'ping' command. ```bash DOCKER_BUILDKIT=1 docker build --target client -t indradb-client . docker run --network host --rm indradb-client grpc://localhost:27615 ping ``` -------------------------------- ### Build and Run IndraDB Server with Docker Source: https://docs.rs/crate/indradb/latest/source/README Builds the Docker image for the IndraDB server and runs it, exposing the default port. ```bash DOCKER_BUILDKIT=1 docker build --target server -t indradb-server . docker run --network host --rm indradb-server -a 0.0.0.0:27615 ``` -------------------------------- ### Build and Run IndraDB Client with Docker Source: https://docs.rs/crate/indradb/latest/source/README Builds the Docker image for the IndraDB client and runs it to interact with a local server. ```bash DOCKER_BUILDKIT=1 docker build --target client -t indradb-client . docker run --network host --rm indradb-client grpc://localhost:27615 ping ``` -------------------------------- ### Docker: Build and Run Server Source: https://docs.rs/crate/indradb/latest/index Commands to build the Docker image for the IndraDB server and then run it. It specifies using BuildKit for the build and maps the host network for communication. ```bash DOCKER_BUILDKIT=1 docker build --target server -t indradb-server . docker run --network host --rm indradb-server -a 0.0.0.0:27615 ``` -------------------------------- ### indradb Library Documentation Source: https://docs.rs/crate/indradb/latest/features Links to the main library documentation for indradb, the project's README file, and the Cargo.toml file for detailed metadata and potential feature documentation. ```Rust https://docs.rs/indradb/latest/indradb_server/ https://docs.rs/crate/indradb/latest/ https://docs.rs/crate/indradb/latest/source/Cargo.toml.orig ``` -------------------------------- ### IndraDB Project Overview Source: https://docs.rs/crate/indradb/latest/source/README An overview of IndraDB, a graph database written in Rust, including its inspiration from TAO and links to its homepage and a demo. ```markdown # [IndraDB](https://indradb.github.io) A graph database written in rust. IndraDB consists of a server and an underlying library. Most users would use the server, which is available via releases as pre-compiled binaries. But if you're a rust developer that wants to embed a graph database directly in your application, you can use the [library](https://github.com/indradb/indradb/tree/master/lib). IndraDB's original design was heavily inspired by [TAO](https://www.cs.cmu.edu/~pavlo/courses/fall2013/static/papers/11730-atc13-bronson.pdf), facebook's graph datastore. In particular, IndraDB emphasizes simplicity of implementation and query semantics, and is similarly designed with the assumption that it may be representing a graph large enough that full graph processing is not possible. Over time, richer query semantics and other features have been added to IndraDB, so it can no longer be called TAO-like, although we try to stay true to some of those original goals. For more details, see the [homepage](https://indradb.github.io). See also a [complete demo of IndraDB for browsing the wikipedia article link graph.](https://github.com/indradb/wikipedia-example) ``` -------------------------------- ### Run IndraDB Unit Tests Source: https://docs.rs/crate/indradb/latest/source/README Executes the full suite of unit tests for IndraDB, including all datastore implementations. ```bash make test ``` -------------------------------- ### Testing: Run Unit Tests Source: https://docs.rs/crate/indradb/latest/index Provides the command to execute the full unit test suite for IndraDB using `make test`. It also explains how to filter tests using the `TEST_NAME` environment variable. ```bash # Run all tests make test # Run tests with 'create_vertex' in their name TEST_NAME=create_vertex make test ``` -------------------------------- ### IndraDB Crate Information Source: https://docs.rs/crate/indradb/latest/source/README Provides badges for testing, crates.io version, and released API documentation for the indradb-lib crate. ```markdown [![Test](https://github.com/indradb/indradb/actions/workflows/test.yml/badge.svg)](https://github.com/indradb/indradb/actions/workflows/test.yml) [![crates.io](https://img.shields.io/crates/v/indradb-lib.svg)](https://crates.io/crates/indradb-lib) [![Released API docs](https://docs.rs/indradb-lib/badge.svg)](https://docs.rs/indradb-lib) ``` -------------------------------- ### Python Client: Create and Query Vertices and Edges Source: https://docs.rs/crate/indradb/latest/source/README Demonstrates connecting to an IndraDB server, creating vertices and edges, and querying for specific edges using the Python client library. ```python import indradb import uuid # Connect to the server and make sure it's up client = indradb.Client("localhost:27615") client.ping() # Create a couple of vertices out_v = indradb.Vertex(uuid.uuid4(), "person") in_v = indradb.Vertex(uuid.uuid4(), "movie") client.create_vertex(out_v) client.create_vertex(in_v) # Add an edge between the vertices edge = indradb.Edge(out_v.id, "bar", in_v.id) client.create_edge(edge) # Query for the edge results = list(client.get(indradb.SpecificEdgeQuery(edge))) print(results) ``` -------------------------------- ### Rust Library: Create and Query Vertices and Edges Source: https://docs.rs/crate/indradb/latest/source/README Demonstrates using the IndraDB Rust library directly to create an in-memory datastore, create vertices and edges, and query for specific edges. ```rust use indradb; // Create an in-memory datastore let db: indradb::Database = indradb::MemoryDatastore::default(); // Create a couple of vertices let out_v = indradb::Vertex::new(indradb::Identifier::new("person")?); let in_v = indradb::Vertex::new(indradb::Identifier::new("movie")?); db.create_vertex(&out_v)?; db.create_vertex(&in_v)?; // Add an edge between the vertices let edge = indradb::Edge::new(out_v.id, indradb::Identifier::new("likes")?, in_v.id); db.create_edge(&edge)?; // Query for the edge let output: Vec = db.get(indradb::SpecificEdgeQuery::single(edge.clone()))?; // Convenience function to extract out the edges from the query results let e = indradb::util::extract_edges(output).unwrap(); assert_eq!(e.len(), 1); assert_eq!(edge, e[0]) ``` -------------------------------- ### Cargo.toml - Project Metadata and Dependencies Source: https://docs.rs/crate/indradb/latest/source/Cargo.toml This snippet details the Cargo.toml file for the indradb project. It includes essential metadata such as the package name, version, authors, description, homepage, repository, keywords, categories, license, and edition. It also specifies the binary target for the server and lists all project dependencies, including their versions and features, as well as development dependencies. ```toml [package] name = "indradb" version = "4.0.0" authors = ["Yusuf Simonson "] description = "A graph database server" homepage = "https://indradb.github.io" repository = "https://github.com/indradb/indradb" keywords = ["graph", "database"] categories = ["database", "database-implementations"] license = "MPL-2.0" edition = "2021" readme = "../README.md" [[bin]] name = "indradb-server" path = "src/main.rs" [dependencies] clap = "2.34.0" tonic = "0.8.3" tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] } [dev-dependencies] serde_json = "1.0.91" [dependencies.indradb-lib] path = "../lib" version = "4.0.0" features = ["rocksdb-datastore"] [dependencies.indradb-proto] path = "../proto" version = "4.0.0" features = ["server"] ``` -------------------------------- ### Testing: Run Benchmarks Source: https://docs.rs/crate/indradb/latest/index Shows the command to run microbenchmarks for IndraDB using `make bench`. ```bash make bench ``` -------------------------------- ### Rust gRPC Client: Create and Query Vertices and Edges Source: https://docs.rs/crate/indradb/latest/source/README Demonstrates connecting to an IndraDB server, creating vertices and edges, and querying for specific edges using the Rust gRPC client library (`indradb-proto`). ```rust use indradb; use indradb_proto as proto; // Connect to the server and make sure it's up let mut client = proto::Client::new("grpc://127.0.0.1:27615".try_into()?).await?; client.ping().await?; // Create a couple of vertices let out_v = indradb::Vertex::new(indradb::Identifier::new("person")?); let in_v = indradb::Vertex::new(indradb::Identifier::new("movie")?); client.create_vertex(&out_v).await?; client.create_vertex(&in_v).await?; // Add an edge between the vertices let edge = indradb::Edge::new(out_v.id, indradb::Identifier::new("likes")?, in_v.id); client.create_edge(&edge).await?; // Query for the edge let output: Vec = client.get(indradb::SpecificEdgeQuery::single(edge.clone())).await?; // Convenience function to extract out the edges from the query results let e = indradb::util::extract_edges(output).unwrap(); assert_eq!(e.len(), 1); assert_eq!(edge, e[0]) ``` -------------------------------- ### Run IndraDB Benchmarks Source: https://docs.rs/crate/indradb/latest/source/README Executes microbenchmarks for IndraDB. ```bash make bench ``` -------------------------------- ### indradb Crate Information Source: https://docs.rs/crate/indradb/latest/features Provides links to the indradb crate on docs.rs, including the main crate page, source code, build information, and feature flags. Also includes links to related Rust documentation. ```Rust https://docs.rs/crate/indradb/latest https://docs.rs/crate/indradb/latest/source/ https://docs.rs/crate/indradb/latest/builds https://docs.rs/crate/indradb/latest/features ``` -------------------------------- ### Indradb Source Code Navigation Source: https://docs.rs/crate/indradb/latest/source/src Links to navigate the source code of the indradb crate, including the main source directory, tests, and configuration files. ```Rust Source directory: https://docs.rs/crate/indradb/latest/source/src/ Tests directory: https://docs.rs/crate/indradb/latest/source/tests/ .cargo_vcs_info.json: https://docs.rs/crate/indradb/latest/source/.cargo_vcs_info.json Cargo.lock: https://docs.rs/crate/indradb/latest/source/Cargo.lock Cargo.toml: https://docs.rs/crate/indradb/latest/source/Cargo.toml Cargo.toml.orig: https://docs.rs/crate/indradb/latest/source/Cargo.toml.orig README.md: https://docs.rs/crate/indradb/latest/source/README.md ``` -------------------------------- ### IndraDB Crate Information Source: https://docs.rs/crate/indradb/latest/index Provides links to essential resources for the IndraDB crate, including its documentation, source code repository, build status, and available feature flags. ```Rust Crate: https://docs.rs/crate/indradb/latest Source: https://docs.rs/crate/indradb/latest/source/ Builds: https://docs.rs/crate/indradb/latest/builds Feature flags: https://docs.rs/crate/indradb/latest/features ``` -------------------------------- ### Indradb Crate Information Source: https://docs.rs/crate/indradb/latest/source/src Provides links to the indradb crate on docs.rs, including the latest version, source code, build information, and feature flags. ```Rust Crate: https://docs.rs/crate/indradb/latest Source: https://docs.rs/crate/indradb/latest/source/ Builds: https://docs.rs/crate/indradb/latest/builds Feature flags: https://docs.rs/crate/indradb/latest/features ``` -------------------------------- ### tonic-build Crate Dependencies Source: https://docs.rs/crate/indradb/latest/source/Cargo Outlines the dependencies for 'tonic-build', version 0.8.4, used for building gRPC services with Tonic. It relies on 'prettyplease', 'proc-macro2', 'prost-build', 'quote', and 'syn'. ```rust [[package]] name = "tonic-build" version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5bf5e9b9c0f7e0a7c027dcfaba7b2c60816c7049171f679d99ee2ff65d0de8c4" dependencies = [ "prettyplease", "proc-macro2", "prost-build", "quote", "syn", ] ``` -------------------------------- ### vcpkg Crate Information Source: https://docs.rs/crate/indradb/latest/source/Cargo Provides information for the 'vcpkg' crate, version 0.2.15. It has a source and checksum but no listed dependencies. ```rust [[package]] name = "vcpkg" version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" ``` -------------------------------- ### IndraDB Dependencies Source: https://docs.rs/crate/indradb/latest/index Lists the direct dependencies required for the IndraDB crate, along with their specified versions and whether they are normal or development dependencies. ```Rust clap ^2.34.0 _normal_ indradb-lib ^4.0.0 _normal_ indradb-proto ^4.0.0 _normal_ tokio ^1.24.2 _normal_ tonic ^0.8.3 _normal_ serde_json ^1.0.91 _dev_ ``` -------------------------------- ### IndraDB Dependencies Source: https://docs.rs/crate/indradb/latest/source/Cargo Lists the direct dependencies for the 'indradb' Rust crate, version 4.0.0. These include command-line argument parsing, core library, protocol definitions, JSON serialization, and asynchronous runtime. ```rust [[package]] name = "indradb" version = "4.0.0" dependencies = [ "clap", "indradb-lib", "indradb-proto", "serde_json", "tokio", "tonic", ] ``` -------------------------------- ### IndraDB Crate Documentation Source: https://docs.rs/crate/indradb/latest/source/README Links to the official documentation for the indradb Rust crate on docs.rs. This includes the latest version and source code. ```Rust https://docs.rs/crate/indradb/latest ``` -------------------------------- ### Hyper Dependencies Source: https://docs.rs/crate/indradb/latest/source/Cargo Lists the dependencies for the 'hyper' crate, version 0.14.24. This is a foundational HTTP library for Rust, depending on various utilities for asynchronous operations, HTTP parsing, and networking. ```rust [[package]] name = "hyper" version = "0.14.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e011372fa0b68db8350aa7a248930ecc7839bf46d8485577d69f117a75f164c" dependencies = [ "bytes", "futures-channel", "futures-core", "futures-util", "h2", "http", "http-body", "httparse", "httpdate", "itoa", "pin-project-lite", "socket2", "tokio", "tower-service", "tracing", "want", ] ``` -------------------------------- ### Rust Crate Dependencies Source: https://docs.rs/crate/indradb/latest/source/Cargo This section lists the Rust packages and their respective versions and dependencies as found in the project's configuration. It provides a snapshot of the project's build environment. ```rust [[package]] name = "pin-project" version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "pin-project-lite" version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" [[package]] name = "pin-utils" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkg-config" version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" [[package]] name = "ppv-lite86" version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "prettyplease" version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ebcd279d20a4a0a2404a33056388e950504d891c855c7975b9a8fef75f3bf04" dependencies = [ "proc-macro2", "syn", ] [[package]] name = "proc-macro2" version = "1.0.51" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d727cae5b39d21da60fa540906919ad737832fe0b1c165da3a34d6548c849d6" dependencies = [ "unicode-ident", ] [[package]] name = "prost" version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e48e50df39172a3e7eb17e14642445da64996989bc212b583015435d39a58537" dependencies = [ "bytes", "prost-derive", ] [[package]] name = "prost-build" version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c828f93f5ca4826f97fedcbd3f9a536c16b12cff3dbbb4a007f932bbad95b12" dependencies = [ "bytes", "heck", "itertools", "lazy_static", "log", "multimap", "petgraph", "prettyplease", "prost", "prost-types", "regex", "syn", "tempfile", "which", ] [[package]] name = "prost-derive" version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ea9b0f8cbe5e15a8a042d030bd96668db28ecb567ec37d691971ff5731d2b1b" dependencies = [ "anyhow", "itertools", "proc-macro2", "quote", "syn", ] [[package]] name = "prost-types" version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "379119666929a1afd7a043aa6cf96fa67a6dce9af60c88095a4686dbce4c9c88" dependencies = [ "prost", ] [[package]] name = "quote" version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" dependencies = [ "proc-macro2", ] [[package]] name = "rand" version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", "rand_chacha", "rand_core", ] [[package]] name = "rand_chacha" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", "rand_core", ] [[package]] name = "rand_core" version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ "getrandom", ] [[package]] name = "redox_syscall" version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ "bitflags", ] [[package]] name = "regex" version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733" dependencies = [ "regex-syntax", ] [[package]] name = "regex-syntax" version = "0.6.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" [[package]] name = "rmp" version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44519172358fd6d58656c86ab8e7fbc9e1490c3e8f14d35ed78ca0dd07403c9f" dependencies = [ "byteorder", "num-traits", "paste", ] [[package]] name = "rmp-serde" version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c5b13be192e0220b8afb7222aa5813cb62cc269ebb5cac346ca6487681d2913e" dependencies = [ "byteorder", "rmp", "serde", ] [[package]] name = "rocksdb" ``` -------------------------------- ### Run IndraDB Lint and Formatting Checks Source: https://docs.rs/crate/indradb/latest/source/README Performs linting and formatting checks on the IndraDB codebase. ```bash make check ``` -------------------------------- ### IndraDB-Proto Dependencies Source: https://docs.rs/crate/indradb/latest/source/Cargo Outlines the dependencies for the 'indradb-proto' crate, version 4.0.0. This crate is involved in protocol definitions and communication, depending on file globbing, core library, plugin host, dynamic loading, and gRPC. ```rust [[package]] name = "indradb-proto" version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25aaff261ebebbe766d5b2912e06f5d9421f5d4c962d447c4e1b91675f1d3308" dependencies = [ "glob", "indradb-lib", "indradb-plugin-host", "libloading", "prost", "prost-derive", "prost-types", "serde_json", "tokio", "tokio-stream", "tonic", "tonic-build", "uuid", ] ``` -------------------------------- ### IndexMap Dependencies Source: https://docs.rs/crate/indradb/latest/source/Cargo Lists the dependencies for the 'indexmap' crate, version 1.9.2. This crate provides a hash map with stable ordering and depends on hashing utilities. ```rust [[package]] name = "indexmap" version = "1.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" dependencies = [ "autocfg", "hashbrown", ] ``` -------------------------------- ### tracing Crate Dependencies Source: https://docs.rs/crate/indradb/latest/source/Cargo Details the dependencies for the 'tracing' crate, version 0.1.37, a framework for instrumenting Rust programs. It depends on 'cfg-if', 'log', 'pin-project-lite', 'tracing-attributes', and 'tracing-core'. ```rust [[package]] name = "tracing" version = "0.1.37" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ "cfg-if", "log", "pin-project-lite", "tracing-attributes", "tracing-core", ] ```