You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: rw.rs
    path of file: ./repos/ethers-rs/examples/providers/examples
    
    the code of the file until where you have to start completion: //! The RwClient wraps two data transports: the first is used for read operations, and the second
//! one is used for write operations, that consume gas like sendin
    
async fn main() -> eyre::Result<()> {
    let anvil = Anvil::new().spawn();

    let http_url = Url::parse(&anvil.endpoint())?;
    let http = Http::new(http_url);

    let ws = Ws::connect(anvil.ws_endpoint()).await?;

    let _provider = Provider::rw(http, ws);

    Ok(())
}