File tree Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -78,9 +78,9 @@ Examples that use `iroh-blobs` can be found in the `iroh` crate. the iroh crate
7878This project is licensed under either of
7979
8080 * Apache License, Version 2.0, ([ LICENSE-APACHE] ( LICENSE-APACHE ) or
81- http://www.apache.org/licenses/LICENSE-2.0 )
81+ < http://www.apache.org/licenses/LICENSE-2.0 > )
8282 * MIT license ([ LICENSE-MIT] ( LICENSE-MIT ) or
83- http://opensource.org/licenses/MIT )
83+ < http://opensource.org/licenses/MIT > )
8484
8585at your option.
8686
Original file line number Diff line number Diff line change 2626//! [iroh]: https://docs.rs/iroh
2727#![ deny( missing_docs, rustdoc:: broken_intra_doc_links) ]
2828#![ recursion_limit = "256" ]
29- #![ cfg_attr( iroh_docsrs, feature( doc_cfg ) ) ]
29+ #![ cfg_attr( iroh_docsrs, feature( doc_auto_cfg ) ) ]
3030
3131#[ cfg( feature = "cli" ) ]
32- #[ cfg_attr( iroh_docsrs, doc( cfg( feature = "cli" ) ) ) ]
3332pub mod cli;
3433#[ cfg( feature = "downloader" ) ]
35- #[ cfg_attr( iroh_docsrs, doc( cfg( feature = "downloader" ) ) ) ]
3634pub mod downloader;
3735pub mod export;
3836pub mod format;
3937pub mod get;
4038pub mod hashseq;
4139pub mod metrics;
4240#[ cfg( feature = "net_protocol" ) ]
43- #[ cfg_attr( iroh_docsrs, doc( cfg( feature = "net_protocol" ) ) ) ]
4441pub mod net_protocol;
4542pub mod protocol;
4643pub mod provider;
4744#[ cfg( feature = "rpc" ) ]
48- #[ cfg_attr( iroh_docsrs, doc( cfg( feature = "rpc" ) ) ) ]
4945pub mod rpc;
5046pub mod store;
5147pub mod ticket;
Original file line number Diff line number Diff line change @@ -75,14 +75,12 @@ pub fn scan_path(
7575}
7676
7777#[ cfg( feature = "rpc" ) ]
78- #[ cfg_attr( iroh_docsrs, doc( cfg( feature = "rpc" ) ) ) ]
7978fn file_name ( path : & Path ) -> anyhow:: Result < String > {
8079 relative_canonicalized_path_to_string ( path. file_name ( ) . context ( "path is invalid" ) ?)
8180}
8281
8382/// Create data sources from a directory.
8483#[ cfg( feature = "rpc" ) ]
85- #[ cfg_attr( iroh_docsrs, doc( cfg( feature = "rpc" ) ) ) ]
8684pub fn scan_dir (
8785 root : PathBuf ,
8886 wrap : crate :: rpc:: client:: blobs:: WrapOption ,
@@ -129,7 +127,6 @@ pub fn relative_canonicalized_path_to_string(path: impl AsRef<Path>) -> anyhow::
129127/// Loads a [`iroh::SecretKey`] from the provided file, or stores a newly generated one
130128/// at the given location.
131129#[ cfg( feature = "rpc" ) ]
132- #[ cfg_attr( iroh_docsrs, doc( cfg( feature = "rpc" ) ) ) ]
133130pub async fn load_secret_key ( key_path : PathBuf ) -> anyhow:: Result < iroh:: SecretKey > {
134131 use iroh:: SecretKey ;
135132 use tokio:: io:: AsyncWriteExt ;
You can’t perform that action at this time.
0 commit comments