A better Rust ATProto crate
99
fork

Configure Feed

Select the types of activity you want to include in your feed.

some minor fixees to docs and CI

Orual f6b5a8a1 b0dfed2f

+29 -112
+5 -1
.tangled/workflows/build.yml
··· 21 21 22 22 - name: run tests 23 23 command: | 24 - cargo test --workspace --exclude mini-moka-wasm 24 + cargo nextest run --workspace --exclude mini-moka-wasm 25 + 26 + - name: run tests 27 + command: | 28 + cargo test --doc --exclude lazy-collections,mini-moka-wasm
-10
crates/jacquard/Cargo.toml
··· 100 100 101 101 102 102 [[example]] 103 - name = "streaming_upload" 104 - path = "../../examples/streaming_upload.rs" 105 - required-features = ["api_bluesky", "streaming"] 106 - 107 - [[example]] 108 - name = "streaming_download" 109 - path = "../../examples/streaming_download.rs" 110 - required-features = ["api_bluesky", "streaming"] 111 - 112 - [[example]] 113 103 name = "app_password_create_post" 114 104 path = "../../examples/app_password_create_post.rs" 115 105 required-features = ["api_bluesky"]
-4
crates/lazy-collections/src/io/prelude.rs
··· 3 3 //! The purpose of this module is to alleviate imports of many common I/O traits 4 4 //! by adding a glob import to the top of I/O heavy modules: 5 5 //! 6 - //! ``` 7 - //! # #![allow(unused_imports)] 8 - //! use mycelium_util::io::prelude::*; 9 - //! ``` 10 6 pub use super::{BufRead, Read, Seek, Write};
-2
crates/lazy-collections/src/lib.rs
··· 1 - #![feature(maybe_uninit_slice)] 2 - #![feature(maybe_uninit_write_slice)] 3 1 #![cfg_attr(target_os = "none", no_std)] 4 2 5 3 #[cfg(all(not(feature = "std"), feature = "alloc"))]
+24 -24
flake.lock
··· 2 2 "nodes": { 3 3 "crane": { 4 4 "locked": { 5 - "lastModified": 1759893430, 6 - "narHash": "sha256-yAy4otLYm9iZ+NtQwTMEbqHwswSFUbhn7x826RR6djw=", 5 + "lastModified": 1773189535, 6 + "narHash": "sha256-E1G/Or6MWeP+L6mpQ0iTFLpzSzlpGrITfU2220Gq47g=", 7 7 "owner": "ipetkov", 8 8 "repo": "crane", 9 - "rev": "1979a2524cb8c801520bd94c38bb3d5692419d93", 9 + "rev": "6fa2fb4cf4a89ba49fc9dd5a3eb6cde99d388269", 10 10 "type": "github" 11 11 }, 12 12 "original": { ··· 17 17 }, 18 18 "crane_2": { 19 19 "locked": { 20 - "lastModified": 1758758545, 21 - "narHash": "sha256-NU5WaEdfwF6i8faJ2Yh+jcK9vVFrofLcwlD/mP65JrI=", 20 + "lastModified": 1772560058, 21 + "narHash": "sha256-NuVKdMBJldwUXgghYpzIWJdfeB7ccsu1CC7B+NfSoZ8=", 22 22 "owner": "ipetkov", 23 23 "repo": "crane", 24 - "rev": "95d528a5f54eaba0d12102249ce42f4d01f4e364", 24 + "rev": "db590d9286ed5ce22017541e36132eab4e8b3045", 25 25 "type": "github" 26 26 }, 27 27 "original": { ··· 37 37 ] 38 38 }, 39 39 "locked": { 40 - "lastModified": 1759362264, 41 - "narHash": "sha256-wfG0S7pltlYyZTM+qqlhJ7GMw2fTF4mLKCIVhLii/4M=", 40 + "lastModified": 1772408722, 41 + "narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=", 42 42 "owner": "hercules-ci", 43 43 "repo": "flake-parts", 44 - "rev": "758cf7296bee11f1706a574c77d072b8a7baa881", 44 + "rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3", 45 45 "type": "github" 46 46 }, 47 47 "original": { ··· 53 53 "git-hooks": { 54 54 "flake": false, 55 55 "locked": { 56 - "lastModified": 1758108966, 57 - "narHash": "sha256-ytw7ROXaWZ7OfwHrQ9xvjpUWeGVm86pwnEd1QhzawIo=", 56 + "lastModified": 1772893680, 57 + "narHash": "sha256-JDqZMgxUTCq85ObSaFw0HhE+lvdOre1lx9iI6vYyOEs=", 58 58 "owner": "cachix", 59 59 "repo": "git-hooks.nix", 60 - "rev": "54df955a695a84cd47d4a43e08e1feaf90b1fd9b", 60 + "rev": "8baab586afc9c9b57645a734c820e4ac0a604af9", 61 61 "type": "github" 62 62 }, 63 63 "original": { ··· 68 68 }, 69 69 "nixpkgs": { 70 70 "locked": { 71 - "lastModified": 1759417375, 72 - "narHash": "sha256-O7eHcgkQXJNygY6AypkF9tFhsoDQjpNEojw3eFs73Ow=", 71 + "lastModified": 1773231277, 72 + "narHash": "sha256-Xy3WEpUAbpsz8ydgvVAQAGGB/WB+8cNA5cshiL0McTI=", 73 73 "owner": "nixos", 74 74 "repo": "nixpkgs", 75 - "rev": "dc704e6102e76aad573f63b74c742cd96f8f1e6c", 75 + "rev": "75690239f08f885ca9b0267580101f60d10fbe62", 76 76 "type": "github" 77 77 }, 78 78 "original": { ··· 102 102 "rust-overlay": "rust-overlay" 103 103 }, 104 104 "locked": { 105 - "lastModified": 1759028837, 106 - "narHash": "sha256-kUVZJqzYpQ5+OauDv/e2vMDognmhPWeqCI3uIbhi1OA=", 105 + "lastModified": 1772998667, 106 + "narHash": "sha256-G2IkaFiXeHIraHu5js+c8MHFCLmaXCI7IGrJ/528f1w=", 107 107 "owner": "juspay", 108 108 "repo": "rust-flake", 109 - "rev": "79e7c8ef50cf83fe60d5d4f673351c14778048fa", 109 + "rev": "7caae5af6081b96d8a6da783c401f609eaaa27f6", 110 110 "type": "github" 111 111 }, 112 112 "original": { ··· 123 123 ] 124 124 }, 125 125 "locked": { 126 - "lastModified": 1758940228, 127 - "narHash": "sha256-sTS04L9LKqzP1oiVXYDwcMzfFSF0DnSJQFzZBpEgLFE=", 126 + "lastModified": 1772852295, 127 + "narHash": "sha256-3FB/WzLZSiU2Mc50C9q9VXU1LRUZbsU6UHKmZG1C+hU=", 128 128 "owner": "oxalica", 129 129 "repo": "rust-overlay", 130 - "rev": "5bfedf3fbbf5caf8e39f7fcd62238f54d82aa1e2", 130 + "rev": "c10801f59c68e14c308aea8fa6b0b3d81d43c61e", 131 131 "type": "github" 132 132 }, 133 133 "original": { ··· 143 143 ] 144 144 }, 145 145 "locked": { 146 - "lastModified": 1760754684, 147 - "narHash": "sha256-B4+gmoRuvjZGKvDQtMjYkqyA89gZLjrXObZrXFrcKOk=", 146 + "lastModified": 1773371126, 147 + "narHash": "sha256-SGnZQO8hnynR90Lo/1MVrTScsOPx9i26XjqSqoFOZ4E=", 148 148 "owner": "oxalica", 149 149 "repo": "rust-overlay", 150 - "rev": "16c233757f1b200936f1b39961c901733936c616", 150 + "rev": "475826b105eb52f39bd3281f60c052299e64d085", 151 151 "type": "github" 152 152 }, 153 153 "original": {
-71
nix/modules/template.nix
··· 1 - { inputs, ... }: 2 - 3 - { 4 - flake = rec { 5 - templates.default = { 6 - description = "A batteries-included Rust project template for Nix"; 7 - path = builtins.path { path = inputs.self; }; 8 - }; 9 - 10 - # https://omnix.page/om/init.html#spec 11 - om.templates.jacquard = { 12 - template = templates.default; 13 - params = [ 14 - { 15 - name = "package-name"; 16 - description = "Name of the Rust package"; 17 - placeholder = "jacquard"; 18 - } 19 - { 20 - name = "author"; 21 - description = "Author name"; 22 - placeholder = "Orual"; 23 - } 24 - { 25 - name = "author-email"; 26 - description = "Author email"; 27 - placeholder = "orual@nonbinary.computer"; 28 - } 29 - { 30 - name = "vscode"; 31 - description = "Include the VSCode settings folder (./.vscode)"; 32 - paths = [ ".vscode" ]; 33 - value = true; 34 - } 35 - { 36 - name = "github-ci"; 37 - description = "Include GitHub Actions workflow configuration"; 38 - paths = [ ".github" ]; 39 - value = true; 40 - } 41 - { 42 - name = "nix-template"; 43 - description = "Keep the flake template in the project"; 44 - paths = [ "**/template.nix" ]; 45 - value = false; 46 - } 47 - ]; 48 - tests = { 49 - default = { 50 - params = { 51 - package-name = "qux"; 52 - author = "John"; 53 - author-email = "john@example.com"; 54 - }; 55 - asserts = { 56 - source = { 57 - "Cargo.toml" = true; 58 - "flake.nix" = true; 59 - ".github/workflows/ci.yml" = true; 60 - ".vscode" = true; 61 - "nix/modules/template.nix" = false; 62 - }; 63 - packages.default = { 64 - "bin/qux" = true; 65 - }; 66 - }; 67 - }; 68 - }; 69 - }; 70 - }; 71 - }