{"id":70575,"library":"scale-bits","title":"Scale Bits","description":"A SCALE compatible representation of a collection of bits.","status":"active","version":"0.7.0","language":"rust","source_language":null,"source_url":"https://github.com/paritytech/scale-bits","tags":["scale","bits","encoding","substrate"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nscale-bits = \"0.7.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add scale-bits","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Bits","correct":"use scale_bits::Bits;"}],"quickstart":{"code":"use scale_bits::Bits;\n\nfn main() {\n    let bits = Bits::from(vec![true, false, true]);\n    println!(\"{:?}\", bits);\n}","lang":"rust","description":"Creates a SCALE-compatible bits collection."},"warnings":[],"env_vars":null,"search_vec":"'bit':2,11,13 'collect':9 'compat':5 'encod':14 'represent':6 'scale':1,4,12 'substrat':15","created_at":"2026-06-17T18:16:25.462209+00:00","updated_at":"2026-06-17T18:16:25.462209+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://www.parity.io/","github":"https://github.com/paritytech/scale-bits","docs":"https://docs.rs/scale-bits/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}