-
Notifications
You must be signed in to change notification settings - Fork 95
cargo doc improvements tracking issue #865
Copy link
Copy link
Open
Labels
apigood first issueDoes NOT mean "an LLM can do this." Please discuss the constraints and intended approach.Does NOT mean "an LLM can do this." Please discuss the constraints and intended approach.trackingHigh-level tracking issuesHigh-level tracking issues
Milestone
Metadata
Metadata
Assignees
Labels
apigood first issueDoes NOT mean "an LLM can do this." Please discuss the constraints and intended approach.Does NOT mean "an LLM can do this." Please discuss the constraints and intended approach.trackingHigh-level tracking issuesHigh-level tracking issues
Type
Fields
Give feedbackNo fields configured for issues without a type.
Following up from #769, I went through
cargo doc --no-deps --all-features, there's a few things I think we should do to improve the docs even more:Fooin v2 should link toReceiver<Foo>Receiverstruct, that alone is justification enough IMO{v1,v2}::{send,receive}modules for the actual API, without prior knowledge it's hard to tell that these are the main entry points into the API they're just in the middle of the modules listpayjoin-clicrate as an exampleUritop level type alias and structbitcoin_uripub use crate::core::*we should only re-export what really makes sense at the top levelHpkeKeyPair,HpkePublicKey,OhttpKeysdon't need to be reexported anymore at the very leastUrlseems especially problematic since it's a re-export of a crate we're considering trying to remove, and is largely superseded by theIntoUrltrait IIUCpayjoin-cli,nolookingandbitmask-coreare linked as examples in the top levelv2::sendmodule docs but:payjoinmodule rather thanv2::send///Foo->/// Foopayjoindocspayjoin-cliis intended to be a referenceCargo-minimal.lockseems to supersede MSRV sections