Skip to content

carllerche/futures-borrow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Futures Borrow

Future-aware cell that can move borrows into futures and closures.

A future-aware borrow allows a value to be borrowed such that the borrow can be moved into closures passed to Future combinators.

Usage

To use futures-borrow, first add this to your Cargo.toml:

[dependencies]
futures-borrow = { git = "https://github.com/carllerche/futures-borrow" } # Soon on crates.io

Next, add this to your crate:

extern crate futures_borrow;

fn main() {
    // ...
}

License

futures-borrow is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.

About

Futures-aware borrow cell

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages