Debian Codegraph @

README.md

raw symbols SCIP
1 # Take - A simple container utility for Rust
2
3 `Take` is a Cell allowing the inner value to be consumed without a
4 mutable reference.
5
6 In order to maintain safety, it is not possible to get access to the
7 inner value without consuming it.
8
9 ## Usage
10
11 First, add this to your `Cargo.toml`:
12
13 ```toml
14 [dependencies]
15 take = "0.1.0"
16 ```
17
18 Next, add this to your crate:
19
20 ```rust
21 extern crate take;
22 ```
23
24 And then, use Take!
25
26 ## License
27
28 Take is primarily distributed under the terms of both the MIT license
29 and the Apache License (Version 2.0), with portions covered by various
30 BSD-like licenses.
31
32 See LICENSE-APACHE, and LICENSE-MIT for details.