commit_hash
stringlengths
40
40
author
stringlengths
1
57
date
timestamp[s]date
2010-07-26 04:45:09
2026-04-14 18:21:10
message
stringlengths
8
1.39M
diff
stringlengths
68
51.2k
files_changed
int64
1
136
insertions
int64
0
2.35k
deletions
int64
0
1.9k
62c34d154510fff8fd6ddff5fa831a8221113cca
Alex Crichton
2016-04-29T06:35:11
Print link-paths to curl with pkg-config
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index 47e31e6..c12aae6 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -29,7 +29,12 @@ fn main() { // Next, fall back and try to use pkg-config if its available. match pkg_config::find_library("libcurl") { - Ok(..) => return, + Ok(li...
1
6
1
2beeb9bde20b5af2aea2cc4bad4188e0497f3f1a
Alex Crichton
2016-04-29T06:27:22
Attempt to appease MSVC
diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs index 93d263f..61d32f3 100644 --- a/curl-sys/lib.rs +++ b/curl-sys/lib.rs @@ -324,14 +324,14 @@ pub const CURLAUTH_NTLM_WB: c_ulong = 1 << 5; pub const CURLAUTH_ANY: c_ulong = !CURLAUTH_DIGEST_IE; pub const CURLAUTH_ANYSAFE: c_ulong = !(CURLAUTH_BASIC | CURLAUTH_DIGEST_I...
1
7
7
692aa07f35321842437190c9fb08f7872a3f5d10
Alex Crichton
2016-04-28T17:43:30
Let's rediscover why `make install` is bad
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index 6e37cfd..47e31e6 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -63,6 +63,14 @@ fn main() { cflags.push(arg); cflags.push(" "); } + + // Can't run ./configure directly on msys2 b/c we're handing in + // Windows-style paths ...
1
10
22
22c2464a32fd03433852228c535009e0da877ea0
Alex Crichton
2016-04-28T17:38:02
Help debug test failures
diff --git a/tests/server/mod.rs b/tests/server/mod.rs index 72f5f0e..ff90ef6 100644 --- a/tests/server/mod.rs +++ b/tests/server/mod.rs @@ -39,7 +39,8 @@ fn run(listener: &TcpListener, rx: &Receiver<Message>) { let mut actual = String::new(); t!(socket.read_line(&mut actual));...
1
2
1
a046651479c27f4564417afb95a8054df2cfb840
Alex Crichton
2016-04-28T05:56:30
Add submodule init to build script
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index 8569f2c..6e37cfd 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -4,7 +4,7 @@ extern crate gcc; use std::env; use std::ffi::OsString; use std::fs; -use std::path::PathBuf; +use std::path::{PathBuf, Path}; use std::process::Command; macro_rules! t...
1
6
2
d2ded3e76fa92f635cc4e2adc16e6a4dd9b8fae5
Alex Crichton
2016-04-28T05:54:04
Try to fix Appveyor CI
diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs index 6a8d631..3d50b6b 100644 --- a/curl-sys/lib.rs +++ b/curl-sys/lib.rs @@ -52,13 +52,13 @@ pub struct curl_httppost { pub userp: *mut c_void, } -pub const HTTPPOST_FILENAME: c_long = 1 << 0; -pub const HTTPPOST_READFILE: c_long = 1 << 1; -pub const HTTPPOST_PTRN...
1
7
7
ad76dd23cf080045434531ad403efd177c2a7e1b
Alex Crichton
2016-04-26T07:22:19
Try to fix segfaults on OSX
diff --git a/src/easy.rs b/src/easy.rs index 602f340..7dd5282 100644 --- a/src/easy.rs +++ b/src/easy.rs @@ -1834,11 +1834,26 @@ impl<'a> Easy<'a> { if s.len() == 0 { return Vec::new(); } + + // Work around https://curl.haxx.se/docs/adv_20130622.html, a bug where + // if the...
2
25
10
0d3aecb7f06c38dafad7ca3a4816d8d3be70c0e6
Alex Crichton
2016-04-26T06:52:14
Try to make tests more robust?
diff --git a/tests/server/mod.rs b/tests/server/mod.rs index a288086..72f5f0e 100644 --- a/tests/server/mod.rs +++ b/tests/server/mod.rs @@ -26,7 +26,7 @@ fn run(listener: &TcpListener, rx: &Receiver<Message>) { while let Some(i) = expected.find("\n") { let line = &expected[..i + 1...
1
1
1
43b2bfdf81b08a64e9e5404c569c3f6ae759bdd7
Alex Crichton
2016-04-26T06:49:52
Handle 0-length url decode/encode
diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs index f9de3f8..6a8d631 100644 --- a/curl-sys/lib.rs +++ b/curl-sys/lib.rs @@ -7,7 +7,7 @@ extern crate libz_sys; extern crate openssl_sys; use libc::{c_int, c_char, c_uint, c_long, c_double, c_void, size_t, time_t}; -use libc::{c_ulong, c_short}; +use libc::c_ulong; ...
3
9
1
ed8b43aa6ca9cac2c1238dd0730232b4345320f2
Alex Crichton
2016-04-26T06:44:02
Comment out XFERINFO for now
diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs index 5868d56..f9de3f8 100644 --- a/curl-sys/lib.rs +++ b/curl-sys/lib.rs @@ -582,7 +582,7 @@ pub const CURLOPT_GSSAPI_DELEGATION: CURLoption = CURLOPTTYPE_LONG + 210; // pub const CURLOPT_SSL_OPTIONS: CURLoption = CURLOPTTYPE_LONG + 216; // pub const CURLOPT_MAIL_AUTH: ...
1
1
1
95a2686c8f86bd00598feb32ba5d4359e7c2cd16
Alex Crichton
2016-04-26T06:40:13
Compat with older curl Just get CI passing for now
diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs index 15623a4..5868d56 100644 --- a/curl-sys/lib.rs +++ b/curl-sys/lib.rs @@ -65,11 +65,11 @@ pub type curl_progress_callback = extern fn(*mut c_void, c_double, c_double, ...
6
226
225
4536a2c69ab5f515a94b416a9b1d701a3fd07bf5
Alex Crichton
2016-04-26T06:22:19
Remove erroneous src/main.rs
diff --git a/src/main.rs b/src/main.rs deleted file mode 100644 index 0356fa1..0000000 --- a/src/main.rs +++ /dev/null @@ -1,8 +0,0 @@ -extern crate curl; - -fn main() { - // let data = 2; - let mut easy = curl::easy::Easy::new(); - // easy.debug_function(&mut |_, _| {}); - let _ = easy.perform(); -}
1
0
8
a6533fa98d56998bbc7fa6f498a3762fac67e0e5
Alex Crichton
2016-04-26T06:09:25
Work with headers out of order in tests
diff --git a/tests/server/mod.rs b/tests/server/mod.rs index b1e503f..2f72ddc 100644 --- a/tests/server/mod.rs +++ b/tests/server/mod.rs @@ -1,3 +1,4 @@ +use std::collections::HashSet; use std::net::{TcpListener, SocketAddr}; use std::io::prelude::*; use std::thread; @@ -21,11 +22,34 @@ fn run(listener: &TcpListener...
1
26
2
819571cbe724b8a913745c833ccd243c639b7938
Alex Crichton
2016-04-26T06:03:59
Fix systest (don't have types __enum_ty)
diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs index 312b8c5..15623a4 100644 --- a/curl-sys/lib.rs +++ b/curl-sys/lib.rs @@ -593,13 +593,14 @@ pub const CURL_IPRESOLVE_WHATEVER: c_int = 0; pub const CURL_IPRESOLVE_V4: c_int = 1; pub const CURL_IPRESOLVE_V6: c_int = 2; -pub const CURL_SSLVERSION_DEFAULT: __enum_ty =...
1
8
7
099290ccba01b430ed7435aa91a472b6e6669f3b
Alex Crichton
2016-04-26T06:02:37
Apparently QSOSSL isn't on OSX
diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs index 114856b..312b8c5 100644 --- a/curl-sys/lib.rs +++ b/curl-sys/lib.rs @@ -669,7 +669,7 @@ pub const CURLSSLBACKEND_NONE: curl_sslbackend = 0; pub const CURLSSLBACKEND_OPENSSL: curl_sslbackend = 1; pub const CURLSSLBACKEND_GNUTLS: curl_sslbackend = 2; pub const CURLS...
1
1
1
81cd4b96ffdc7598551eaac0131d7c98728ca96f
Alex Crichton
2016-03-31T06:57:46
Add bindings to version information.
diff --git a/src/ffi/version.rs b/src/ffi/version.rs deleted file mode 100644 index 05043a9..0000000 --- a/src/ffi/version.rs +++ /dev/null @@ -1,217 +0,0 @@ -#![allow(non_camel_case_types)] -#![allow(dead_code)] - -use std::marker; -use std::ffi::CStr; -use std::{fmt, ptr, str}; -use libc::{c_char, c_int}; - -use curl...
3
276
237
63f8a9eabe4b3662e74fda69bcbaff01795dbfdf
Alex Crichton
2016-03-31T06:21:15
Fill out the error module
diff --git a/src/error.rs b/src/error.rs new file mode 100644 index 0000000..6e77a1b --- /dev/null +++ b/src/error.rs @@ -0,0 +1,448 @@ +use std::error; +use std::ffi::CStr; +use std::fmt; +use std::str; +use std::io; + +use curl_sys; + +/// An error returned from various "easy" operations. +/// +/// This structure wra...
2
472
16
ecc9f579e04818d5720bce962688ed5cc57cd0c1
Alex Crichton
2016-03-31T05:41:34
Fix compile of curl crate
diff --git a/Cargo.toml b/Cargo.toml index c7eaf49..f3bc030 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,14 +2,14 @@ name = "curl" version = "0.2.18" -authors = ["Carl Lerche <me@carllerche.com>"] +authors = ["Carl Lerche <me@carllerche.com>", + "Alex Crichton <alex@alexcrichton.com>"] license = "MIT" ...
7
110
143
f0d9016e7946edf19f226ccbd0532869f2b27547
Alex Crichton
2016-03-31T05:35:24
Try to fix the windows build
diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs index 4d70728..b04508a 100644 --- a/curl-sys/lib.rs +++ b/curl-sys/lib.rs @@ -26,6 +26,7 @@ pub enum CURL {} #[cfg(unix)] pub type curl_socket_t = libc::c_int; +#[cfg(unix)] pub const CURL_SOCKET_BAD: curl_socket_t = -1; #[cfg(all(windows, target_pointer_width = "32"...
1
20
17
dc09b332e38794ca29cc2e18b0df2bfa1aa3130f
Andrew Barchuk
2016-03-26T18:10:44
Fix compilation warnings Replace deprecated thread::sleep_ms with thread::sleep. Suppress warning about "unused" Op::Wait.
diff --git a/test/server.rs b/test/server.rs index 699eaff..d8e30a3 100644 --- a/test/server.rs +++ b/test/server.rs @@ -5,6 +5,7 @@ use std::net::{TcpStream, TcpListener}; use std::str; use std::sync::mpsc::{channel, Sender, Receiver}; use std::thread; +use std::time::Duration; use self::Op::{SendBytes, ReceiveB...
1
3
1
d282f75a86ab9a534cb9ce04f165fabfc83358d0
Andrew Barchuk
2016-03-26T18:03:12
Fix simple HEAD test compilation
diff --git a/test/test_head.rs b/test/test_head.rs index 6d5c770..a4d33b8 100644 --- a/test/test_head.rs +++ b/test/test_head.rs @@ -20,7 +20,7 @@ pub fn test_simple_head() { let res = res.unwrap(); assert!(res.get_code() == 200, "code is {}", res.get_code()); - assert!(res.get_body() == []); + assert...
1
1
1
4248eccdfec5cd3e792658d314f935441a359cac
Alex Crichton
2016-03-25T16:12:45
Bump curl-sys to 0.1.34
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index c117ada..24bc4fa 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-sys" -version = "0.1.33" +version = "0.1.34" authors = ["Carl Lerche <me@carllerche.com"] links = "curl" build = "build.rs"
1
1
1
74b36567c43b41b908e13de05a8bc55f343caa24
Alex Crichton
2016-03-25T16:11:33
Look for OpenSSL in OPENSSL_ROOT_DIR if specified
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index 3ad69c6..8569f2c 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -72,7 +72,13 @@ fn main() { cmd.arg("--without-ca-bundle"); cmd.arg("--without-ca-path"); - if let Ok(s) = env::var("DEP_OPENSSL_ROOT") { + // DEP_OPENSSL...
1
7
1
88319c74c375573b737bd129b3db0753e2af1172
Alex Crichton
2016-03-22T16:56:33
Bump curl to 0.2.18 and curl-sys to 0.1.33
diff --git a/Cargo.toml b/Cargo.toml index 2ff6642..c7eaf49 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.17" +version = "0.2.18" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust" diff --git a/cu...
2
2
2
2b3a3f3a097954bad93ce7aa9af4f5ceb3c0589e
Alex Crichton
2016-03-22T16:56:10
Use new syntax for depending on openssl-sys
diff --git a/Cargo.toml b/Cargo.toml index 0855c25..2ff6642 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,6 +17,9 @@ curl-sys = { path = "curl-sys", version = "0.1.0" } env_logger = "0.3.0" # Unix platforms use OpenSSL for now to provide SSL functionality +[target."cfg(all(unix, not(target_os = \"macos\")))".depe...
2
6
0
ef7487e39f3bff1d10fdf58f6e73d20397cd5fed
Alex Crichton
2016-03-11T21:19:09
Bump to 0.2.17
diff --git a/Cargo.toml b/Cargo.toml index c3b832c..0855c25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.16" +version = "0.2.17" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust"
1
1
1
e370151a69ecf438d483e9191a8ac058d2c92fff
Alex Crichton
2016-03-11T21:18:55
Fix build on nightly
diff --git a/src/ffi/easy.rs b/src/ffi/easy.rs index 5a9a360..1a70ac4 100644 --- a/src/ffi/easy.rs +++ b/src/ffi/easy.rs @@ -6,7 +6,6 @@ use std::collections::HashMap; use std::slice; use libc::{self, c_int, c_long, c_double, size_t}; use super::{consts, err, info, opt}; -use super::err::ErrCode; use http::body::Bo...
1
10
5
e2b447e8de307cfa993ecdbeeaa5dda1fd594964
Alex Crichton
2016-03-10T01:18:36
Update dependency on url
diff --git a/Cargo.toml b/Cargo.toml index 5c0f4c7..c3b832c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/carllerche/curl-rust" description = "Rust bindings to libcurl for making HTTP requests" [dependencies] -url = "0.2.0" +url = "0.5.0" log = "0.3.0" libc = "0.2" cur...
1
1
1
0632b1ae5a7d6055dbbcdc6fe687903f8441fefb
petevine
2016-02-14T22:38:36
Add i586 deps
diff --git a/Cargo.toml b/Cargo.toml index e2b4dee..5c0f4c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,8 @@ env_logger = "0.3.0" # Unix platforms use OpenSSL for now to provide SSL functionality [target.i686-unknown-linux-gnu.dependencies] openssl-sys = "0.7.0" +[target.i586-unknown-linux-gnu.dependencies...
2
4
0
a1e76ecae22714606fab32a6b856594a05ae0b64
petevine
2016-02-01T16:16:52
Add the new `armv7` target in Cargo.toml
diff --git a/Cargo.toml b/Cargo.toml index dabe607..e2b4dee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,6 +27,8 @@ openssl-sys = "0.7.0" openssl-sys = "0.7.0" [target.arm-unknown-linux-gnueabihf.dependencies] openssl-sys = "0.7.0" +[target.armv7-unknown-linux-gnueabihf.dependencies] +openssl-sys = "0.7.0" [targ...
2
4
0
d0be389908b581c57fb8d0c870f0e5717df9c020
Alex Crichton
2016-01-24T18:31:56
Always set the NOSIGNAL option According to libcurl's thread safety docs [1]: > When using multiple threads you should set the CURLOPT_NOSIGNAL > option to 1L for all handles This library is likely to be used in a multithreaded situation, so set this option as such. The implication of this is that timeouts are not h...
diff --git a/src/http/handle.rs b/src/http/handle.rs index 93af23e..ac3b8b0 100644 --- a/src/http/handle.rs +++ b/src/http/handle.rs @@ -386,6 +386,19 @@ impl<'a, 'b> Request<'a, 'b> { try!(handle.easy.setopt(opt::HTTPHEADER, &ffi_headers)); } + // According to libcurl's thread safety doc...
1
13
0
80d2f9028eaafc460849d84523e6b3ef88a522b3
Pavel Krajcevski
2016-01-22T06:46:59
PowerPC Support
diff --git a/Cargo.toml b/Cargo.toml index d92304e..dabe607 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,6 +31,8 @@ openssl-sys = "0.7.0" openssl-sys = "0.7.0" [target.aarch64-unknown-linux-gnu.dependencies] openssl-sys = "0.7.0" +[target.powerpc-unknown-linux-gnu.dependencies] +openssl-sys = "0.7.0" [target.pow...
2
4
0
ce6828ebe592a1c55489427697dba66e31e0b593
Alex Crichton
2016-01-21T22:01:46
Bump curl to 0.2.16 and curl-sys to 0.1.31
diff --git a/Cargo.toml b/Cargo.toml index 07ea7c0..d92304e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.15" +version = "0.2.16" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust" diff --git a/cu...
2
2
2
89ac0018f4a32fb097994849300f53094d82724e
Alex Crichton
2016-01-21T21:53:37
Remove allow(raw_pointer_derive)
diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs index be80469..7990bd6 100644 --- a/curl-sys/lib.rs +++ b/curl-sys/lib.rs @@ -1,4 +1,4 @@ -#![allow(non_camel_case_types, raw_pointer_derive)] +#![allow(non_camel_case_types)] extern crate libc; #[cfg(not(target_env = "msvc"))] diff --git a/src/ffi/version.rs b/src/ffi...
2
1
2
baf9d20b9db6b51358c71d13777d2885e2dfc6bc
Alex Crichton
2016-01-20T17:46:34
Bump curl-sys to 0.1.31
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index a2c9b31..5bbbd14 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-sys" -version = "0.1.30" +version = "0.1.31" authors = ["Carl Lerche <me@carllerche.com"] links = "curl" build = "build.rs"
1
1
1
b54d1fe47f5f3519b534a7443f2203abc0c5ecd1
Anton Blanchard
2016-01-13T20:00:11
Add openssl-sys dependency for powerpc64 and powerpc64le
diff --git a/Cargo.toml b/Cargo.toml index af91130..07ea7c0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,6 +31,10 @@ openssl-sys = "0.7.0" openssl-sys = "0.7.0" [target.aarch64-unknown-linux-gnu.dependencies] openssl-sys = "0.7.0" +[target.powerpc64-unknown-linux-gnu.dependencies] +openssl-sys = "0.7.0" +[target....
2
8
0
94fe811cc79a9acf6a03ac9cb6170ef281e49477
Alex Crichton
2015-12-23T17:36:20
Bump to 0.2.15 and 0.1.30
diff --git a/Cargo.toml b/Cargo.toml index 74f63c8..af91130 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.14" +version = "0.2.15" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust" diff --git a/cu...
2
2
2
7cba876065a14170c2271c84c9e0a6e75ca024a6
Alex Crichton
2015-12-23T17:35:52
Fix build on ARM
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index 8d8fd98..3ad69c6 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -17,6 +17,7 @@ macro_rules! t { #[allow(deprecated)] // needed for `connect()`, since Rust 1.1 is supported fn main() { let target = env::var("TARGET").unwrap(); + let host = env...
3
11
3
76172b3ebf958fcf0b10d400f19ee02486a80ee7
Alex Crichton
2015-11-22T19:12:20
Bump to 0.1.29
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index dd4c118..bf994bf 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-sys" -version = "0.1.28" +version = "0.1.29" authors = ["Carl Lerche <me@carllerche.com"] links = "curl" build = "build.rs"
1
1
1
a55f69c3d364748c4fcedd108e4d97067012bd0b
Alex Crichton
2015-11-22T19:11:32
Loosen dependencies where bindings aren't used These are just used for linkage.
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index 756503a..dd4c118 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -17,31 +17,31 @@ name = "curl_sys" path = "lib.rs" [dependencies] -libz-sys = "0.1.0" +libz-sys = ">= 0" libc = "0.2" # Unix platforms use OpenSSL for now to provide SSL fu...
1
13
13
e590fd60c87af269204bdcc98fd250aa1c8cb109
Alex Crichton
2015-11-18T22:45:49
Bump verisons
diff --git a/Cargo.toml b/Cargo.toml index 2e84e9a..74f63c8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.13" +version = "0.2.14" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust" diff --git a/cu...
2
2
2
364cfcc9b12c773fb35f28b8e79b87c0e3a56efe
Alex Crichton
2015-11-18T22:45:30
Bump dep on openssl-sys
diff --git a/Cargo.toml b/Cargo.toml index 95621a5..2e84e9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,29 +18,29 @@ env_logger = "0.3.0" # Unix platforms use OpenSSL for now to provide SSL functionality [target.i686-unknown-linux-gnu.dependencies] -openssl-sys = "0.6.0" +openssl-sys = "0.7.0" [target.i686-lin...
2
24
24
8a2f26984475d206d23bb3029ddac96359a6a14b
Alex Crichton
2015-11-05T23:39:34
Bump versions
diff --git a/Cargo.toml b/Cargo.toml index 105653a..95621a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.12" +version = "0.2.13" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust" diff --git a/cu...
2
2
2
f0d2caaaac54dc83b26fb083d07c248bc45f8632
Alex Crichton
2015-11-05T23:37:01
Don't link to OpenSSL on OSX libcurl doesn't use it on OSX and otherwise nothing special really needs to be done as it's already configured as much as it should be.
diff --git a/Cargo.toml b/Cargo.toml index b932597..105653a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,10 +17,6 @@ curl-sys = { path = "curl-sys", version = "0.1.0" } env_logger = "0.3.0" # Unix platforms use OpenSSL for now to provide SSL functionality -[target.i686-apple-darwin.dependencies] -openssl-sys = "...
5
7
13
6ffbaeb793c3f47af2cf1a68b38427f872a91450
Alex Crichton
2015-11-03T21:36:03
Bump dep on libc
diff --git a/Cargo.toml b/Cargo.toml index 01da88e..b932597 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ description = "Rust bindings to libcurl for making HTTP requests" [dependencies] url = "0.2.0" log = "0.3.0" -libc = "0.1" +libc = "0.2" curl-sys = { path = "curl-sys", version = "0.1.0" } [dev-...
2
2
2
a5352f6077c3138e99325b9d5348241b3224d010
Alex Crichton
2015-10-19T05:19:14
Bump to 0.2.12
diff --git a/Cargo.toml b/Cargo.toml index a09bac5..01da88e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.11" +version = "0.2.12" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust"
1
1
1
1f04cca826c7239c5561cebc1607c08f929b0ea9
Alex Crichton
2015-10-19T05:14:15
Bump curl-sys to 0.1.26
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index 3a9832d..0a66f5f 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-sys" -version = "0.1.25" +version = "0.1.26" authors = ["Carl Lerche <me@carllerche.com"] links = "curl" build = "build.rs"
1
1
1
cad84f7a077cf3a9948b69adb117612d52f66cd1
Alex Crichton
2015-10-16T16:40:29
Fix compile on older Rust
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index 1aee579..7f23a87 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -52,9 +52,13 @@ fn main() { let _ = fs::create_dir(&dst.join("build")); let mut cmd = Command::new("sh"); + let mut cflags = OsString::new(); + for arg in compiler.args()...
1
6
2
abc4c74fc45c0a21a20cc13d816d6823244026f6
Alex Crichton
2015-10-16T00:55:53
Pick up CFLAGS/CC from gcc + use Command
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index c4ffc6c..1aee579 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -46,53 +46,51 @@ fn main() { return build_msvc(&target); } - let mut cflags = env::var("CFLAGS").unwrap_or(String::new()); - cflags.push_str(" -ffunction-sections -fd...
1
38
48
46b012f5ee9d359304312e19ccc61dd1a216d647
Alex Crichton
2015-10-16T00:55:43
Depend on OpenSSL on MUSL
diff --git a/Cargo.toml b/Cargo.toml index 27429c6..cb019c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,8 @@ openssl-sys = "0.6.0" openssl-sys = "0.6.0" [target.x86_64-unknown-linux-gnu.dependencies] openssl-sys = "0.6.0" +[target.x86_64-unknown-linux-musl.dependencies] +openssl-sys = "0.6.0" [target.arm-...
2
4
0
36b7da27d7b25308780fc4072617eb5b2b27d112
Overmind JIANG
2015-10-15T00:04:22
Use println directly in the build script. Should work just fine.
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index 5d39f30..aba752a 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -4,7 +4,6 @@ extern crate gcc; use std::env; use std::ffi::OsString; use std::fs; -use std::io::{stderr, Write}; use std::path::PathBuf; use std::process::Command; @@ -31,8 +30,8 @@...
1
2
3
139689913084eeff76ca8cf89c0c3e820773fce1
Overmind JIANG
2015-10-14T03:27:02
Android support in Cargo.toml. Previously the openssl dependencies were not declared for Android targets. Also changed the cargo build scripts a bit to mention that we are trying to compile libcurl from source. This can be helpful if the compilation fails and the user wants to know why.
diff --git a/Cargo.toml b/Cargo.toml index 27429c6..8daff08 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,10 +23,14 @@ openssl-sys = "0.6.0" openssl-sys = "0.6.0" [target.i686-unknown-linux-gnu.dependencies] openssl-sys = "0.6.0" +[target.i686-linux-android.dependencies] +openssl-sys = "0.6.0" [target.x86_64-unkn...
3
11
1
148bbff51c57180097ce488d38a43d10c2fc8943
Zetok Zalbavar
2015-09-24T13:59:24
Allow to use deprecated `connect()` for Rust 1.1 support
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index 80126d7..c4ffc6c 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -14,6 +14,7 @@ macro_rules! t { }) } +#[allow(deprecated)] // needed for `connect()`, since Rust 1.1 is supported fn main() { let target = env::var("TARGET").unwrap(); l...
2
2
0
64c5c2b4be8c3c19c5b1a74d680b1f4c337e7d4b
Alex Crichton
2015-09-08T17:37:54
Bump to 0.2.11
diff --git a/Cargo.toml b/Cargo.toml index 6a70a2b..27429c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.10" +version = "0.2.11" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust"
1
1
1
b4cb511d50f4dabce9fe5ea1d0112c34868b0923
Alex Crichton
2015-09-08T17:37:55
Don't panic setting CAINFO/CAPATH options This isn't always built into curl so if our automatically setting it fails we should just continue on.
diff --git a/src/http/handle.rs b/src/http/handle.rs index f611890..687217a 100644 --- a/src/http/handle.rs +++ b/src/http/handle.rs @@ -3,9 +3,10 @@ use std::path::Path; use url::Url; -use ffi; -use ffi::opt; use ffi::easy::Easy; +use ffi::err; +use ffi::opt; +use ffi; use http::Response; use http::body::{Body...
1
19
10
56e636616668264a681c684a91cc249577de7ec8
Steve Klabnik
2015-06-30T21:27:09
Implement Debug for http::response All types should implement Debug where possible.
diff --git a/src/http/response.rs b/src/http/response.rs index 8a8837a..deaa751 100644 --- a/src/http/response.rs +++ b/src/http/response.rs @@ -3,6 +3,7 @@ use std::collections::HashMap; pub type Headers = HashMap<String, Vec<String>>; +#[derive(Debug)] pub struct Response { code: u32, hdrs: Headers,
1
1
0
ca467f10879b5c302a708d749742fb2d221535b7
Michael Neumann
2015-06-13T20:53:26
Add openssl-sys dependency for DragonFlyBSD
diff --git a/Cargo.toml b/Cargo.toml index b5fbe60..6a70a2b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,6 +37,8 @@ openssl-sys = "0.6.0" openssl-sys = "0.6.0" [target.x86_64-unknown-openbsd.dependencies] openssl-sys = "0.6.0" +[target.x86_64-unknown-dragonfly.dependencies] +openssl-sys = "0.6.0" [[test]] di...
2
4
0
bf2c9da3f30ce2c77650b591a5cda38c5adbfdc5
Laurence Tratt
2015-05-23T16:17:14
Add support for OpenBSD
diff --git a/Cargo.toml b/Cargo.toml index 16b72c3..b5fbe60 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,6 +35,8 @@ openssl-sys = "0.6.0" openssl-sys = "0.6.0" [target.x86_64-unknown-bitrig.dependencies] openssl-sys = "0.6.0" +[target.x86_64-unknown-openbsd.dependencies] +openssl-sys = "0.6.0" [[test]] diff ...
2
4
0
807f57d04aa2424711a8c7e8eeadf10cf7cee217
Jose Luis Moreno Duran
2015-02-03T13:50:21
handle.rs new options: ssl_verifypeer, follow_location, userpwd.
diff --git a/src/http/handle.rs b/src/http/handle.rs index 750925e..f611890 100644 --- a/src/http/handle.rs +++ b/src/http/handle.rs @@ -74,6 +74,21 @@ impl Handle { self } + pub fn ssl_verifypeer(mut self, value: bool) -> Handle { + self.easy.setopt(opt::SSL_VERIFYPEER, value).unwrap(); + ...
1
15
0
bae5a80de3311071dda58ef980b4a271dfa44d11
Konstantin Stepanov
2014-12-28T21:03:53
Add cookie method
diff --git a/src/http/handle.rs b/src/http/handle.rs index 0c079ee..750925e 100644 --- a/src/http/handle.rs +++ b/src/http/handle.rs @@ -111,6 +111,11 @@ impl Handle { self.cookie_jar(path).cookie_file(path) } + pub fn cookie(mut self, cookie: &str) -> Handle { + self.easy.setopt(opt::COOKIELI...
1
5
0
3737f3acfecfe4589a710d8b0c39f240b9656c0f
Carl Lerche
2015-08-03T23:28:43
Older curl does not dedup Content-Length
diff --git a/src/http/handle.rs b/src/http/handle.rs index 3a87a57..0c079ee 100644 --- a/src/http/handle.rs +++ b/src/http/handle.rs @@ -312,10 +312,11 @@ impl<'a, 'b> Request<'a, 'b> { match method { Post => try!(handle.easy.setopt(opt::POSTFIELDSIZE, len)), ...
1
4
3
7101e59865f7b29e1becd645e75c730559460139
Alex Crichton
2015-07-22T20:50:17
Bump curl-sys to 0.1.25
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index 0da2827..db65050 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-sys" -version = "0.1.24" +version = "0.1.25" authors = ["Carl Lerche <me@carllerche.com"] links = "curl" build = "build.rs" @@ -10,7 +10,7 ...
1
2
2
c89d3a8165a956b35230da7dfc8bc03e67a84b30
Alex Crichton
2015-07-22T19:36:38
Use gcc's support to find nmake
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index 6e99e16..0da2827 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -10,6 +10,7 @@ description = "Native bindings to the libcurl library" [build-dependencies] pkg-config = "0.3" +gcc = "0.3" [lib] name = "curl_sys" diff --git a/curl-sys/bui...
2
19
9
9fbf39fa8765e777d110ad18a2a2a3ea42dcb717
Alex Crichton
2015-06-17T05:12:04
Bump curl-sys to 0.1.24
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index 693c4e7..6e99e16 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-sys" -version = "0.1.23" +version = "0.1.24" authors = ["Carl Lerche <me@carllerche.com"] links = "curl" build = "build.rs"
1
1
1
b7338ffd54f7ea804cf2284b405686ca32f1c99c
Alex Crichton
2015-06-15T07:11:32
Tweak build on MSVC * Use zlib sources (linked statically) * Add a missing native library
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index d5ffacf..eae20f2 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -1,6 +1,7 @@ extern crate pkg_config; use std::env; +use std::ffi::OsString; use std::fs; use std::path::PathBuf; use std::process::Command; @@ -149,21 +150,37 @@ fn build_msvc() { ...
1
24
6
75631cc4484287fc0f3a2a415c9fe97ebdab9881
Alex Crichton
2015-06-15T06:52:30
Bump curl-sys to 0.1.23
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index 6631ae2..693c4e7 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-sys" -version = "0.1.22" +version = "0.1.23" authors = ["Carl Lerche <me@carllerche.com"] links = "curl" build = "build.rs"
1
1
1
00060b1be10cee2ef4ad4b6aa1f0bc34e85a3209
Alex Crichton
2015-05-18T21:31:15
Bump to 0.2.10
diff --git a/Cargo.toml b/Cargo.toml index a44a87a..16b72c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.9" +version = "0.2.10" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust"
1
1
1
ab3e825796888af38e0550f76a07cf0da4f67f2b
Alex Crichton
2015-05-18T21:30:32
Bump to 0.1.22
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index 3484918..6631ae2 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-sys" -version = "0.1.21" +version = "0.1.22" authors = ["Carl Lerche <me@carllerche.com"] links = "curl" build = "build.rs"
1
1
1
5e3c53f52e937e4fe641831ce2ab0667d11659c9
Dave Huseby
2015-05-14T20:50:27
adding bitrig deps for curl-sys too
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index 338f258..3484918 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -36,3 +36,5 @@ openssl-sys = "0.6.0" openssl-sys = "0.6.0" [target.x86_64-unknown-freebsd.dependencies] openssl-sys = "0.6.0" +[target.x86_64-unknown-bitrig.dependencies] +opens...
1
2
0
2f18c1cb9a63059866ffd506457e47e0384bc385
Dave Huseby
2015-05-14T20:46:01
adding support for bitrig
diff --git a/Cargo.toml b/Cargo.toml index 736daa4..a44a87a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,6 +33,8 @@ openssl-sys = "0.6.0" openssl-sys = "0.6.0" [target.x86_64-unknown-freebsd.dependencies] openssl-sys = "0.6.0" +[target.x86_64-unknown-bitrig.dependencies] +openssl-sys = "0.6.0" [[test]]
1
2
0
88d4fdc618ba1716bffc6bcbed9528d540d0b210
Alex Crichton
2015-04-29T18:49:45
Bump to 0.2.9
diff --git a/Cargo.toml b/Cargo.toml index 6e7cee9..736daa4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.8" +version = "0.2.9" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust"
1
1
1
b8dbe02cc08ad9994d9ec09f659571ee58d00010
Alex Crichton
2015-04-29T18:41:38
Bind LOW_SPEED_LIMIT/LOW_SPEED_TIME options
diff --git a/src/http/handle.rs b/src/http/handle.rs index fa1a2e8..3a87a57 100644 --- a/src/http/handle.rs +++ b/src/http/handle.rs @@ -52,6 +52,28 @@ impl Handle { self } + /// Set the time in seconds that the transfer speed should be below + /// the `low_speed_limit` rate of bytes per second fo...
1
22
0
4655bcbf34ea6af28c43a586caf82a141bf48cff
Carl Lerche
2015-04-11T05:55:26
Move tests out of src directory
diff --git a/Cargo.toml b/Cargo.toml index 4a4efc3..6e7cee9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,11 +9,11 @@ description = "Rust bindings to libcurl for making HTTP requests" [dependencies] url = "0.2.0" +log = "0.3.0" libc = "0.1" curl-sys = { path = "curl-sys", version = "0.1.0" } [dev-dependencies...
12
33
27
a5acd0301688531db8e453a37b76c029dfbe2f43
Carl Lerche
2015-04-11T05:24:49
Fix tests
diff --git a/Cargo.toml b/Cargo.toml index 6a08b29..4a4efc3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,7 @@ curl-sys = { path = "curl-sys", version = "0.1.0" } [dev-dependencies] log = "0.3.0" +env_logger = "0.3.0" # Unix platforms use OpenSSL for now to provide SSL functionality [target.i686-apple-d...
5
15
8
ba71128898efc7796fa367adf6b30b462c9de72b
Carl Lerche
2015-04-11T00:04:40
Bump log version in tests
diff --git a/Cargo.toml b/Cargo.toml index 7a2c325..6a08b29 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ libc = "0.1" curl-sys = { path = "curl-sys", version = "0.1.0" } [dev-dependencies] -log = "0.2" +log = "0.3.0" # Unix platforms use OpenSSL for now to provide SSL functionality [target.i686-ap...
1
1
1
247225433ee07b72fa215f139150fbfa4b6a0dca
David White
2015-04-10T08:24:49
Fixed previous issues with patch request by using the CURLOPT_CUSTOMREQUEST type
diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs index 1a418c3..f3767ba 100644 --- a/curl-sys/lib.rs +++ b/curl-sys/lib.rs @@ -283,7 +283,6 @@ DEFOPT!(CURLOPT_NETRC, CURLOPTTYPE_LONG, 51); DEFOPT!(CURLOPT_FOLLOWLOCATION, CURLOPTTYPE_LONG, 52); DEFOPT!(CURLOPT_TRANSFERTEXT, ...
3
4
3
3ea29c6570e9306aa5753c9f9602a54890c11190
David White
2015-04-09T20:40:40
Attempted to add PATCH method to curl library
diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs index f3767ba..1a418c3 100644 --- a/curl-sys/lib.rs +++ b/curl-sys/lib.rs @@ -283,6 +283,7 @@ DEFOPT!(CURLOPT_NETRC, CURLOPTTYPE_LONG, 51); DEFOPT!(CURLOPT_FOLLOWLOCATION, CURLOPTTYPE_LONG, 52); DEFOPT!(CURLOPT_TRANSFERTEXT, ...
5
64
2
5b24e29ddf3492ca41f7a366e7e48d4d90f5e719
Alex Crichton
2015-04-07T17:07:08
Bump deps on openssl-sys Closes #66
diff --git a/Cargo.toml b/Cargo.toml index 7d9a79d..7a2c325 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.7" +version = "0.2.8" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust" @@ -17,18 +17,18 ...
2
18
18
374be8d4d592363a942ebe774b675423c058a55d
Alex Crichton
2015-04-03T01:28:48
Prepare for beta
diff --git a/Cargo.toml b/Cargo.toml index 90ab9f7..7d9a79d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.6" +version = "0.2.7" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust" diff --git a/curl...
5
10
6
7162b4737475a72ea2c429140c2cc65387c3f932
Alex Crichton
2015-04-02T19:33:44
Update to rust master
diff --git a/Cargo.toml b/Cargo.toml index 7ca0976..90ab9f7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.5" +version = "0.2.6" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust" diff --git a/curl...
5
3
9
f5074ed89f57864664322a845f68e54b5f63d680
Alex Crichton
2015-03-31T20:59:29
Stop using AsOsStr
diff --git a/src/ffi/opt.rs b/src/ffi/opt.rs index 1bdc387..ad9a427 100644 --- a/src/ffi/opt.rs +++ b/src/ffi/opt.rs @@ -269,9 +269,10 @@ impl<'a> OptVal for &'a str { impl<'a> OptVal for &'a Path { #[cfg(unix)] fn with_c_repr<F>(self, f: F) where F: FnOnce(*const c_void) { - use std::ffi::AsOsStr; + ...
2
5
4
0d08a5bc4389c6041ea29b1b3da14935ecfc439b
Alex Crichton
2015-03-30T23:22:15
Bump to 0.1.18
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index 1e23e2c..4e1e0e4 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-sys" -version = "0.1.17" +version = "0.1.18" authors = ["Carl Lerche <me@carllerche.com"] links = "curl" build = "build.rs"
1
1
1
763cf913dad46592d9afc2f84f0543a74fbf74c7
Alex Crichton
2015-03-30T23:21:59
Use new build script syntax
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index 041a070..3273a67 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -119,7 +119,8 @@ fn main() { if windows { println!("cargo:rustc-flags=-l ws2_32"); } - println!("cargo:rustc-flags=-L {}/lib -l curl:static", dst.display()); + pri...
1
2
1
f15c0653e3e0bd5968efd5501f9b8b2372b35cb5
Alex Crichton
2015-03-29T17:06:46
Bump to 0.2.5
diff --git a/Cargo.toml b/Cargo.toml index b24832e..7ca0976 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.4" +version = "0.2.5" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust" @@ -10,10 +10,7 @...
2
3
6
e3a12de4ccf008365c6a1589792e2a056f7745d1
Alex Crichton
2015-03-25T18:02:17
Update to rust master
diff --git a/Cargo.toml b/Cargo.toml index 1554aea..b24832e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.3" +version = "0.2.4" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust" diff --git a/curl...
6
42
38
8db3885f0e39c748c37d6f5409a055aa8412b81f
Alex Crichton
2015-03-21T03:30:53
Update to rust master
diff --git a/Cargo.toml b/Cargo.toml index cd886be..1554aea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.2" +version = "0.2.3" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust" diff --git a/src/...
2
3
3
8cbafe1fefe3d8e121fa7dce1368d3b9d9ff8912
Alex Crichton
2015-03-18T21:04:12
Remove unstable features from curl-sys's build script
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index b6a7f35..d6e19b1 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -1,9 +1,6 @@ -#![feature(io, path, core, fs)] - extern crate "pkg-config" as pkg_config; use std::env; -use std::io::prelude::*; use std::fs; use std::path::PathBuf; use std::proces...
1
5
6
c9c00aaf8a0242c2128aca3fc2f08d93f1f11457
Alex Crichton
2015-03-18T21:02:04
Reduce usage of the core unstable feature
diff --git a/src/ffi/easy.rs b/src/ffi/easy.rs index bf00555..6939832 100644 --- a/src/ffi/easy.rs +++ b/src/ffi/easy.rs @@ -216,7 +216,7 @@ extern fn curl_header_fn(p: *mut u8, size: size_t, nmemb: size_t, let vec = unsafe { slice::from_raw_parts(p as *const u8, (size...
4
10
10
bf8ecca8b66b3aeea502084bc595e044f41b7b22
Alex Crichton
2015-03-18T20:56:53
Remove usage of unstable collections methods
diff --git a/src/ffi/easy.rs b/src/ffi/easy.rs index 3a554e2..bf00555 100644 --- a/src/ffi/easy.rs +++ b/src/ffi/easy.rs @@ -1,8 +1,9 @@ #![allow(dead_code)] use std::sync::{Once, ONCE_INIT}; -use std::{mem, raw}; +use std::mem; use std::collections::HashMap; +use std::slice; use libc::{self, c_int, c_long, c_dou...
3
19
13
efeeb6e03605dd974e19e6d47e6eacc05d2af3a1
Alex Crichton
2015-03-18T20:53:26
Remove unused features
diff --git a/src/lib.rs b/src/lib.rs index 87e6e90..3ec4037 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![feature(core, collections, io, std_misc, path)] +#![feature(core, collections, std_misc)] #![cfg_attr(test, feature(old_io))] extern crate libc;
1
1
1
ab3f69b58f1db3023e4149755e7ef593a8736cb7
Alex Crichton
2015-03-18T20:53:08
Use AsciiExt instead of OwnedAsciiExt
diff --git a/src/ffi/easy.rs b/src/ffi/easy.rs index ea03b69..3a554e2 100644 --- a/src/ffi/easy.rs +++ b/src/ffi/easy.rs @@ -154,8 +154,8 @@ impl ResponseBuilder { fn add_header(&mut self, name: &str, val: &str) { // TODO: Reduce allocations - use std::ascii::OwnedAsciiExt; - let name = na...
1
2
2
e1c02d0e0e657f76648de7b6645d4f118353d420
Alex Crichton
2015-03-18T20:52:58
Use atexit instead of rt::at_exit
diff --git a/src/ffi/easy.rs b/src/ffi/easy.rs index fd6c968..ea03b69 100644 --- a/src/ffi/easy.rs +++ b/src/ffi/easy.rs @@ -3,11 +3,11 @@ use std::sync::{Once, ONCE_INIT}; use std::{mem, raw}; use std::collections::HashMap; -use libc::{c_int,c_long,c_double,size_t}; -use super::{consts,err,info,opt}; +use libc::{se...
1
10
6
24b1508e8d0c8052f10b1c1ed6c88eb14cae0fda
Alex Crichton
2015-03-06T18:11:16
Bump version numbers
diff --git a/Cargo.toml b/Cargo.toml index 31bae7b..cd886be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.1" +version = "0.2.2" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust" diff --git a/curl...
2
2
2
b95bc0619f190ce40ba3fa38ae7e7a180ba37847
Jakub Wieczorek
2015-03-06T14:58:00
Update to the newest openssl-sys
diff --git a/Cargo.toml b/Cargo.toml index 2fc9d87..31bae7b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,18 +20,18 @@ log = "0.2" # Unix platforms use OpenSSL for now to provide SSL functionality [target.i686-apple-darwin.dependencies] -openssl-sys = "0.5.0" +openssl-sys = "0.5.1" [target.x86_64-apple-darwin.de...
3
11
17
0f562aa0f50a830411f528ce698b85a647ad2f9a
Alex Crichton
2015-03-04T04:51:12
Remove no longer needed features
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index 2c81468..b6a7f35 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -1,4 +1,4 @@ -#![feature(io, env, path, core, process, fs)] +#![feature(io, path, core, fs)] extern crate "pkg-config" as pkg_config; @@ -110,11 +110,11 @@ fn main() { let p1 = d...
1
4
4
e05dcfa59813f2d8c443afa3e37e26482e41091b
Alex Crichton
2015-02-28T06:18:36
Bump dep on opnessl-sys
diff --git a/Cargo.toml b/Cargo.toml index ae78778..2fc9d87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "curl" -version = "0.2.0" +version = "0.2.1" authors = ["Carl Lerche <me@carllerche.com>"] license = "MIT" repository = "https://github.com/carllerche/curl-rust" @@ -20,18 +20,18 ...
2
18
18
02920cb9edc8c1b6ddc8fdfa2fc4241d94d9c755
Alex Crichton
2015-02-27T22:46:59
Ok actually try to fix the build script this time
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index afb786c..c8e1d9e 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-sys" -version = "0.1.13" +version = "0.1.14" authors = ["Carl Lerche <me@carllerche.com"] links = "curl" build = "build.rs" diff --git a/cu...
2
2
2
26c0c93dde12618418597a0423909ae7a6f7bf9c
Alex Crichton
2015-02-27T22:36:13
Bump curl-sys to 0.1.13
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index 968a290..afb786c 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-sys" -version = "0.1.12" +version = "0.1.13" authors = ["Carl Lerche <me@carllerche.com"] links = "curl" build = "build.rs"
1
1
1
f60b8ff8f0def9f0ef32c8863064fb17dae949fc
Alex Crichton
2015-02-27T22:35:44
Try to improve errors in the build script
diff --git a/curl-sys/build.rs b/curl-sys/build.rs index 041ef2e..e12fafd 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -8,6 +8,13 @@ use std::fs; use std::path::PathBuf; use std::process::Command; +macro_rules! t { + ($e:expr) => (match $e { + Ok(t) => t, + Err(e) => panic!("{} return ...
1
13
8
8c3c01fd5d558e6394003ddb804a16f72bf21144
Alex Crichton
2015-02-26T17:51:17
Bump curl-sys to 0.1.12
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index 4a216b4..968a290 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-sys" -version = "0.1.11" +version = "0.1.12" authors = ["Carl Lerche <me@carllerche.com"] links = "curl" build = "build.rs" diff --git a/cu...
4
6
7