File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ libcurl bindings for Rust
7
7
## Quick Start
8
8
9
9
``` rust
10
- extern crate curl;
11
-
12
10
use std :: io :: {stdout, Write };
13
11
14
12
use curl :: easy :: Easy ;
@@ -28,8 +26,6 @@ fn main() {
28
26
```
29
27
30
28
``` rust
31
- extern crate curl;
32
-
33
29
use curl :: easy :: Easy ;
34
30
35
31
// Capture output into a local `Vec`.
@@ -54,8 +50,6 @@ request, and then `read_function` can be used to specify how data is filled in.
54
50
This interface works particularly well with types that implement ` Read ` .
55
51
56
52
``` rust,no_run
57
- extern crate curl;
58
-
59
53
use std::io::Read;
60
54
use curl::easy::Easy;
61
55
@@ -80,8 +74,6 @@ fn main() {
80
74
Custom headers can be specified as part of the request:
81
75
82
76
``` rust,no_run
83
- extern crate curl;
84
-
85
77
use curl::easy::{Easy, List};
86
78
87
79
fn main() {
@@ -101,8 +93,6 @@ The handle can be re-used across multiple requests. Curl will attempt to
101
93
keep the connections alive.
102
94
103
95
``` rust,no_run
104
- extern crate curl;
105
-
106
96
use curl::easy::Easy;
107
97
108
98
fn main() {
You can’t perform that action at this time.
0 commit comments