Documentation
  • Coverage
  • 12.77%
    6 out of 47 items documented0 out of 10 items with examples
  • Size
  • Source code size: 24.48 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.13 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 26s Average build duration of successful builds.
  • all releases: 26s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SUSYLABS

rust-scid

Travis CI crates.io

SCID implementation in Rust.

Table of Contents

Install

First add this to your Cargo.toml

[dependencies]
scid = "*"

Then run cargo build.

Usage

extern crate scid;
extern crate multihash;

use multihash::Hash;
use scid::{Sscid, Codec, Version};
let h = multihash::encode(multihash::Hash::SHA2256, b"beep boop").unwrap();

let scid = Sscid::new(Codec::DagProtobuf, Version::V1, &h);

let data = scid.to_bytes();
let out = Sscid::from(data).unwrap();

assert_eq!(scid, out);

Maintainers

Captain: @dignifiedquire.

Contribute

Contributions welcome. Please check out the issues.

Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to susyp2p are subject to the IPFS Code of Conduct.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2017 Friedel Ziegelmayer