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 |
|---|---|---|---|---|---|---|---|
d9d021e79fd97e19a2688e8a80eb46f5aac52e20 | Alex Crichton | 2015-03-19T16:23:10 | Update to rust master | diff --git a/src/lib.rs b/src/lib.rs
index beb8a1d..e7eb105 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -8,7 +8,7 @@
//! [1]: http://en.wikipedia.org/wiki/Tar_%28computing%29
#![doc(html_root_url = "http://alexcrichton.com/tar-rs")]
-#![feature(core, std_misc, io, fs, fs_time)]
+#![feature(core, io, fs, fs_time, fs... | 1 | 1 | 1 |
282268d97d2442a26d0ec45dd61f640211b37414 | Alex Crichton | 2015-03-17T17:22:48 | Bump to 0.2.5 | diff --git a/Cargo.toml b/Cargo.toml
index ec7e4bf..53f0b8b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.2.4"
+version = "0.2.5"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 1 | 1 | 1 |
ca4763a6bbe0204e50dd2a44fe3ceb9563f41fa5 | Alex Crichton | 2015-03-17T17:22:27 | Move a specific import to a glob | diff --git a/src/lib.rs b/src/lib.rs
index 1ce67ca..beb8a1d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -192,7 +192,7 @@ impl<R: Read> Archive<R> {
}
#[cfg(unix)]
fn push(path: &mut PathBuf, bytes: &[u8]) {
- use std::os::unix::prelude::OsStrExt;
+ use std::os::unix::pre... | 1 | 1 | 1 |
62adcec110aa34caff23993e6c01aec15fd41d5d | Simon Wollwage | 2015-03-17T06:18:00 | fixed import paths for OsStrExt and PermissionsExt | diff --git a/src/lib.rs b/src/lib.rs
index e864c66..1ce67ca 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -183,7 +183,7 @@ impl<R: Read> Archive<R> {
#[cfg(unix)]
fn set_perms(perm: &mut fs::Permissions, mode: i32) {
- use std::os::unix::*;
+ use std::os::unix::prelude::*;
... | 1 | 2 | 2 |
eb109a19005e485be5396b7e5dde4673397557c4 | Alex Crichton | 2015-03-14T18:24:12 | Bump to 0.2.4 | diff --git a/Cargo.toml b/Cargo.toml
index 08cced3..ec7e4bf 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.2.3"
+version = "0.2.4"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 3 | 52 | 63 |
9b89e78a203fcf0251f032f43ce0576967395a43 | Alex Crichton | 2015-03-09T17:58:08 | Reduce usage of feature-gated APIs | diff --git a/src/lib.rs b/src/lib.rs
index fc37b5b..64305a2 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -8,7 +8,7 @@
//! [1]: http://en.wikipedia.org/wiki/Tar_%28computing%29
#![doc(html_root_url = "http://alexcrichton.com/tar-rs")]
-#![feature(core, collections, std_misc, io, path, fs, path_ext, fs_time)]
+#![feat... | 1 | 24 | 19 |
be5d20cb4d697c7fe7a335beb4ab7d2929290977 | Alex Crichton | 2015-03-07T19:44:20 | Update to rust master | diff --git a/src/lib.rs b/src/lib.rs
index 057feb9..fc37b5b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -8,7 +8,7 @@
//! [1]: http://en.wikipedia.org/wiki/Tar_%28computing%29
#![doc(html_root_url = "http://alexcrichton.com/tar-rs")]
-#![feature(core, collections, std_misc, io, path, fs, os)]
+#![feature(core, colle... | 1 | 1 | 1 |
8b5bf12b67edba060f224b3ad2a22c376aaca342 | Alex Crichton | 2015-03-04T04:31:36 | Add a doc url | diff --git a/src/lib.rs b/src/lib.rs
index e04e086..057feb9 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -7,6 +7,7 @@
//!
//! [1]: http://en.wikipedia.org/wiki/Tar_%28computing%29
+#![doc(html_root_url = "http://alexcrichton.com/tar-rs")]
#![feature(core, collections, std_misc, io, path, fs, os)]
#![deny(missing_d... | 1 | 1 | 0 |
2afb8b3cac649e801653ca87e7aace8c91bea701 | Alex Crichton | 2015-03-01T19:08:16 | Don't try to read header in one go
Instead loop over calls to `read` to ensure we read the proper number of bytes.
Closes alexcrichton/flate2-rs#15 | diff --git a/Cargo.toml b/Cargo.toml
index c396914..08cced3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.2.2"
+version = "0.2.3"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 2 | 13 | 4 |
83258c56369966da2c77a84b565349c6f0946409 | Alex Crichton | 2015-03-01T19:05:46 | Bump to 0.2.2 | diff --git a/Cargo.toml b/Cargo.toml
index a4d1451..c396914 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.2.1"
+version = "0.2.2"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 1 | 1 | 1 |
7712b4bad2baeb66a9b3250a5db099a59d201a83 | Alex Crichton | 2015-02-27T04:15:56 | Fix a windows-only bug | diff --git a/src/lib.rs b/src/lib.rs
index fd0466c..06dfa96 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -201,8 +201,8 @@ impl<R: Read> Archive<R> {
#[cfg(windows)]
fn push(path: &mut PathBuf, bytes: &[u8]) {
use std::str;
- let s = str::from_utf8(bytes).expect("only unicode pat... | 1 | 2 | 2 |
007b13aced49bf99890e0787fc28ae133bf3728b | Alex Crichton | 2015-02-27T04:14:55 | Bump to 0.2.1 | diff --git a/Cargo.toml b/Cargo.toml
index 515d9f6..a4d1451 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.2.0"
+version = "0.2.1"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 2 | 3 | 5 |
cc1cce7b14054f740899b5aeaa417e193871fc98 | Alex Crichton | 2015-02-27T04:14:21 | Fix a cfg(windows) bug and remove a transmute | diff --git a/src/lib.rs b/src/lib.rs
index 23c0efc..308f7b2 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -371,7 +371,7 @@ impl<W: Write> Archive<W> {
#[cfg(windows)]
fn perm_bits(meta: &fs::Metadata) -> i32 {
if meta.is_dir() {0o755}
- else if perms.readonly() {0o444}
+ ... | 1 | 1 | 1 |
1736f0bb5fda9b9530c9d3274907753d3fb1797e | Alex Crichton | 2015-02-24T02:39:39 | Slim down custom tempdir | diff --git a/Cargo.toml b/Cargo.toml
index dbd4653..515d9f6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,6 +16,3 @@ currently handle compression, but it is abstract over all I/O readers and
writers. Additionally, great lengths are taken to ensure that the entire
contents are never required to be entirely resident ... | 3 | 7 | 92 |
8ee5dcf66f1993bba8e1334dd2292f73ca656028 | Alex Crichton | 2015-02-23T22:38:30 | Migrate to std::io | diff --git a/Cargo.toml b/Cargo.toml
index 87a7717..dbd4653 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.1.11"
+version = "0.2.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.c... | 3 | 303 | 148 |
a899e37cd5a1b18b56fd8b7a9356df561be7767a | Alex Crichton | 2015-02-20T18:04:28 | Bump to 0.1.11 | diff --git a/Cargo.toml b/Cargo.toml
index 461ae9f..87a7717 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.1.10"
+version = "0.1.11"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.... | 2 | 2 | 2 |
ca34b4e76cd4463af8284e4388147c96c1b6af55 | Alex Crichton | 2015-02-20T16:24:05 | Update to rust master | diff --git a/src/lib.rs b/src/lib.rs
index 40d9f2a..935edae 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -7,7 +7,7 @@
//!
//! [1]: http://en.wikipedia.org/wiki/Tar_%28computing%29
-#![feature(io, path, core, collections, std_misc)]
+#![feature(old_io, old_path, core, collections, std_misc)]
#![deny(missing_docs)]
... | 1 | 1 | 1 |
d5a24eb46c03a33e5bf5609a33263d3470e57a72 | guruverse | 2015-02-02T18:21:29 | Bump to 0.1.10 | diff --git a/Cargo.toml b/Cargo.toml
index 6392603..461ae9f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.1.9"
+version = "0.1.10"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.c... | 1 | 1 | 1 |
34bb4999e03fa2da3744a6225543a2dcb2637306 | guruverse | 2015-02-02T18:19:28 | Consistency change | diff --git a/src/lib.rs b/src/lib.rs
index 88a5cb5..40d9f2a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -549,7 +549,7 @@ fn bad_archive() -> IoError {
fn octal<T: num::FromStrRadix>(slice: &[u8]) -> IoResult<T> {
let num = match str::from_utf8(truncate(slice)) {
Ok(n) => n,
- Err(..) => return Err... | 1 | 1 | 1 |
5654cc69d6743513fab66f581c657526acc670ad | guruverse | 2015-02-02T07:51:51 | Update to rust master | diff --git a/src/lib.rs b/src/lib.rs
index f8978c8..88a5cb5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -552,8 +552,8 @@ fn octal<T: num::FromStrRadix>(slice: &[u8]) -> IoResult<T> {
Err(..) => return Err(bad_archive()),
};
match num::from_str_radix(num.trim(), 8) {
- Some(n) => Ok(n),
- ... | 1 | 2 | 2 |
c4fda82d1be29ef78b6ea3640ce913671b50d840 | Alex Crichton | 2015-01-29T16:43:30 | Add some feature gates | diff --git a/src/lib.rs b/src/lib.rs
index 7afe8a7..f8978c8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -7,9 +7,10 @@
//!
//! [1]: http://en.wikipedia.org/wiki/Tar_%28computing%29
+#![feature(io, path, core, collections, std_misc)]
#![deny(missing_docs)]
#![cfg_attr(test, deny(warnings))]
-#![allow(missing_copy_i... | 1 | 2 | 1 |
2494c26d4a80fe8a4038119700893c3450d0dc47 | Alex Crichton | 2015-01-28T17:21:06 | Bump to 0.1.9 | diff --git a/Cargo.toml b/Cargo.toml
index c4c60ec..6392603 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.1.8"
+version = "0.1.9"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 2 | 49 | 49 |
db7a347367d8012961667f5af6a7f0a0abc57564 | Alex Crichton | 2015-01-23T16:39:02 | Bump to 0.1.8 | diff --git a/Cargo.toml b/Cargo.toml
index f54bd49..c4c60ec 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.1.7"
+version = "0.1.8"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 2 | 13 | 13 |
6ae03881c31d378e4b1c65ad4898bab364cbe1a2 | Alex Crichton | 2015-01-09T02:01:23 | Bump to 0.1.7 | diff --git a/Cargo.toml b/Cargo.toml
index 95c3a09..f54bd49 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.1.6"
+version = "0.1.7"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 2 | 23 | 23 |
d87fc48ebe4c5c7d5df15f7a2259e73e95d752fa | Alex Crichton | 2015-01-07T16:33:16 | Bump to 0.1.6 | diff --git a/Cargo.toml b/Cargo.toml
index a0ca303..95c3a09 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.1.5"
+version = "0.1.6"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 1 | 1 | 1 |
991da89d462d9973092ccc4e946b00259f18a56a | guruverse | 2015-01-06T22:17:59 | Update to rust master | diff --git a/src/lib.rs b/src/lib.rs
index 1706dd4..d7ec988 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -7,16 +7,15 @@
//!
//! [1]: http://en.wikipedia.org/wiki/Tar_%28computing%29
-#![feature(macro_rules, associated_types)]
#![deny(missing_docs)]
#![cfg_attr(test, deny(warnings))]
#![allow(missing_copy_implemen... | 1 | 2 | 3 |
e13aa08410b3a604a67f905e9852548a5ac7f601 | Alex Crichton | 2015-01-05T05:11:06 | Bump version number | diff --git a/Cargo.toml b/Cargo.toml
index 0b6e2c1..a0ca303 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.1.4"
+version = "0.1.5"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 1 | 1 | 1 |
a7f04c05ede12666ebb4863154f3b03bbb563046 | Jameson Ernst | 2015-01-04T22:26:41 | Use associated types | diff --git a/src/lib.rs b/src/lib.rs
index 7218530..1706dd4 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -7,7 +7,7 @@
//!
//! [1]: http://en.wikipedia.org/wiki/Tar_%28computing%29
-#![feature(macro_rules)]
+#![feature(macro_rules, associated_types)]
#![deny(missing_docs)]
#![cfg_attr(test, deny(warnings))]
#![all... | 1 | 7 | 3 |
96dc8085260b1ddc697c8000a793a51f088740c7 | Alex Crichton | 2015-01-03T22:51:09 | Bump version number | diff --git a/Cargo.toml b/Cargo.toml
index a45fc10..0b6e2c1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.1.3"
+version = "0.1.4"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 2 | 6 | 6 |
e829d4f40f1f159259933bbbb8c2cb9aa0e965a3 | guruverse | 2015-01-03T15:47:54 | Add ToCStr | diff --git a/src/lib.rs b/src/lib.rs
index 23e0e05..92ff21e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -14,6 +14,7 @@
use std::cell::{RefCell, Cell};
use std::cmp;
+use std::c_str::ToCStr;
use std::io::{self, IoResult, IoError, fs};
use std::iter::{AdditiveIterator, repeat};
use std::fmt; | 1 | 1 | 0 |
1b2fb7a67da08ec9c5bbf40934ed84cd304c44e8 | guruverse | 2015-01-03T04:23:05 | Update to rust master | diff --git a/src/lib.rs b/src/lib.rs
index 4ca08b0..23e0e05 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -14,7 +14,7 @@
use std::cell::{RefCell, Cell};
use std::cmp;
-use std::io::{mod, IoResult, IoError, fs};
+use std::io::{self, IoResult, IoError, fs};
use std::iter::{AdditiveIterator, repeat};
use std::fmt;
us... | 1 | 24 | 24 |
bb83fa1b56c89657472f08611c2684b533dd8694 | Alex Crichton | 2014-12-23T17:28:25 | Update to rust master | diff --git a/Cargo.toml b/Cargo.toml
index a86157e..a45fc10 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.1.2"
+version = "0.1.3"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 2 | 9 | 8 |
2385e8454e1c3a85922b6a5735aa5457c9eede7d | Alex Crichton | 2014-12-19T16:24:45 | Update to rust master | diff --git a/Cargo.toml b/Cargo.toml
index bda7073..a86157e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.1.1"
+version = "0.1.2"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 2 | 3 | 3 |
320b8940405625f7423b95357cd0adf0c5ac2a9f | Alex Crichton | 2014-12-19T02:49:01 | Update to rust master | diff --git a/Cargo.toml b/Cargo.toml
index ffa1a06..bda7073 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.1.0"
+version = "0.1.1"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 2 | 13 | 11 |
b235ad619f4c51cc450115e06792c71b76d31601 | Mathijs van de Nes | 2014-12-04T08:50:51 | Trim octal fields instead of stopping at spaces
E.g. 7-zip may also prepend fields with spaces | diff --git a/src/lib.rs b/src/lib.rs
index 068e6a1..37f47c8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -544,14 +544,14 @@ fn octal<T: num::FromStrRadix>(slice: &[u8]) -> IoResult<T> {
Some(n) => n,
None => return Err(bad_archive()),
};
- match num::from_str_radix(num, 8) {
+ match num::fro... | 1 | 2 | 2 |
884c854deb69a10efa31b38b4e616a0ee6d06dc7 | Mathijs van de Nes | 2014-12-04T08:17:28 | Consider files may be directories when unpacking | diff --git a/src/lib.rs b/src/lib.rs
index 2f91391..068e6a1 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -156,13 +156,19 @@ impl<R: Reader> Archive<R> {
let bytes = file.filename_bytes().iter().map(|&b| {
if b == b'\\' {b'/'} else {b}
}).collect::<Vec<_>>();
+ let is... | 1 | 11 | 5 |
2d5b8875714229bc4e6a9ab23a00329361a9b162 | Mathijs van de Nes | 2014-12-04T08:12:54 | Also truncate octal fields with spaces
Fields in some tar archives may end in a space instead of a 0 | diff --git a/src/lib.rs b/src/lib.rs
index 92ea1ef..2f91391 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -545,7 +545,7 @@ fn octal<T: num::FromStrRadix>(slice: &[u8]) -> IoResult<T> {
}
fn truncate<'a>(slice: &'a [u8]) -> &'a [u8] {
- match slice.iter().position(|i| *i == 0) {
+ match slice.iter().position(|i|... | 1 | 1 | 1 |
b99b3fc4f83cc62fe45308726f05c4c2c29833b4 | Jakub Stasiak | 2014-11-30T12:24:58 | Update to Rust master | diff --git a/src/lib.rs b/src/lib.rs
index 5e13b84..92ea1ef 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -13,7 +13,7 @@
use std::cell::{RefCell, Cell};
use std::cmp;
use std::io::{mod, IoResult, IoError, fs};
-use std::iter::{AdditiveIterator, Repeat};
+use std::iter::{AdditiveIterator, repeat};
use std::fmt;
use s... | 1 | 21 | 21 |
2f3fb3a976d7fae105e3c97c8206266e763061ef | Alex Crichton | 2014-11-27T23:37:16 | Bump to 0.1.0 | diff --git a/Cargo.toml b/Cargo.toml
index ab663c0..ffa1a06 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.0.3"
+version = "0.1.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 1 | 1 | 1 |
55fa87d43eaf2a54c55ddd245e1c13859a06193c | Alex Crichton | 2014-11-19T16:37:59 | Update to rust master | diff --git a/Cargo.toml b/Cargo.toml
index 51c98f0..ab663c0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.0.2"
+version = "0.0.3"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 2 | 26 | 26 |
5ad487da134e3076d8478ed4260de7ff3b753445 | Alex Crichton | 2014-11-19T05:44:25 | Bump version number | diff --git a/Cargo.toml b/Cargo.toml
index 3e81da5..51c98f0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "tar"
-version = "0.0.1"
+version = "0.0.2"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.co... | 1 | 1 | 1 |
868632ea0dd36200377af2c445d71d387cba1702 | Alex Crichton | 2014-11-18T16:57:11 | Update to rust master | diff --git a/src/lib.rs b/src/lib.rs
index 4325c4b..db3a115 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -169,10 +169,10 @@ impl<R: Reader> Archive<R> {
fn skip(&self, mut amt: u64) -> IoResult<()> {
let mut buf = [0u8, ..4096 * 8];
+ let mut me = self;
while amt > 0 {
let n ... | 1 | 4 | 4 |
5dc1d57c39d5becf65c607e4db53ca91bef7a0de | Alex Crichton | 2014-11-17T20:42:33 | Convert all backslashes to forward slashes | diff --git a/src/lib.rs b/src/lib.rs
index a50c7d4..4325c4b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -153,7 +153,10 @@ impl<R: Reader> Archive<R> {
pub fn unpack(&mut self, into: &Path) -> IoResult<()> {
for file in try!(self.files_mut()) {
let mut file = try!(file);
- let dst =... | 1 | 5 | 2 |
1e2f8fbf7d4b07c9c27e0433d2cb78cfeeae1c00 | Alex Crichton | 2014-11-11T20:55:25 | Update APL abbreviation | diff --git a/Cargo.toml b/Cargo.toml
index f422722..3e81da5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,7 +6,7 @@ authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
repository = "https://github.com/alexcrichton/tar-rs"
documentation = "http://alexcrichton.com/t... | 1 | 1 | 1 |
47d2cc4b09e373a4cc7bee7c71ebf96b42ea620d | Alex Crichton | 2014-10-31T15:26:34 | Update to rust master | diff --git a/src/lib.rs b/src/lib.rs
index f7343fe..a50c7d4 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -8,7 +8,7 @@
//! [1]: http://en.wikipedia.org/wiki/Tar_%28computing%29
#![feature(macro_rules)]
-#![deny(missing_doc)]
+#![deny(missing_docs)]
use std::cell::{RefCell, Cell};
use std::cmp;
@@ -75,7 +75,7 @@ p... | 1 | 2 | 2 |
d0edbbcc53824c01d30fa2ade338ae98dcf10fa2 | Alex Crichton | 2014-10-28T06:13:38 | Add some more cargo metadata | diff --git a/Cargo.toml b/Cargo.toml
index aa3767b..f422722 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,11 @@ name = "tar"
version = "0.0.1"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
homepage = "https://github.com/alexcrichton/tar-rs"
+repository = "https://github.com/alexcrichton/tar-rs"
document... | 1 | 4 | 0 |
c477f1ca1b6dde36ebf1f4a739033fe485895722 | Alex Crichton | 2014-10-20T19:43:42 | Provide a convenience function to unpack a tarball | diff --git a/src/lib.rs b/src/lib.rs
index 276b955..f7343fe 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -12,8 +12,7 @@
use std::cell::{RefCell, Cell};
use std::cmp;
-use std::io::{IoResult, IoError};
-use std::io;
+use std::io::{mod, IoResult, IoError, fs};
use std::iter::{AdditiveIterator, Repeat};
use std::fmt;... | 1 | 16 | 2 |
077ea99caa00709dbe4d0be9302d1dcea21760e2 | Alex Crichton | 2014-10-20T17:35:47 | Add an iterator for non-Seek readers | diff --git a/src/lib.rs b/src/lib.rs
index 016e9fd..276b955 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -21,6 +21,13 @@ use std::num;
use std::slice::bytes;
use std::str;
+macro_rules! try_iter( ($me:expr, $e:expr) => (
+ match $e {
+ Ok(e) => e,
+ Err(e) => { $me.done = true; return Some(Err(e)) }... | 1 | 151 | 60 |
34d59cc0f162d63f5b510aeb5ee6c73a01429273 | Alex Crichton | 2014-10-16T01:12:56 | Add some extra metadata | diff --git a/Cargo.toml b/Cargo.toml
index 0c0574b..aa3767b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,3 +3,12 @@
name = "tar"
version = "0.0.1"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
+homepage = "https://github.com/alexcrichton/tar-rs"
+documentation = "http://alexcrichton.com/tar-rs"
+
+descriptio... | 1 | 9 | 0 |
e7c9952ea75a75688966b516d8bbefb740f54208 | Alex Crichton | 2014-09-26T19:13:44 | Add File::mode() | diff --git a/src/lib.rs b/src/lib.rs
index 65158ba..016e9fd 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -312,6 +312,10 @@ impl<'a, R: Seek + Reader> File<'a, R> {
pub fn gid(&self) -> IoResult<uint> { octal(self.header.group_id) }
/// Returns the last modification time in Unix time format
pub fn mtime(&s... | 1 | 5 | 1 |
b2391703d54afd20c999d5531c4ed46bcf366f23 | Alex Crichton | 2014-09-10T16:03:44 | Fix compat with ustar format | diff --git a/src/lib.rs b/src/lib.rs
index 70b56e7..957867b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -14,7 +14,7 @@ use std::cell::{RefCell, Cell};
use std::cmp;
use std::io::{IoResult, IoError};
use std::io;
-use std::iter::AdditiveIterator;
+use std::iter::{AdditiveIterator, Repeat};
use std::fmt;
use std::me... | 1 | 24 | 8 |
b4903fbd9025f97ee19cfc8df430a485db7ef180 | Brian Koropoff | 2014-08-29T04:32:30 | Fix build break due to generalized type parameter bounds landing | diff --git a/src/lib.rs b/src/lib.rs
index 2daf7f5..70b56e7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -30,7 +30,7 @@ pub struct Archive<R> {
}
/// An iterator over the files of an archive.
-pub struct Files<'a, R> {
+pub struct Files<'a, R:'a> {
archive: &'a Archive<R>,
done: bool,
offset: u64,
@@ ... | 1 | 2 | 2 |
de01e6ea091f68a2101e03d6817f051d7182127f | Alex Crichton | 2014-07-18T22:03:13 | Fix long filenames | diff --git a/src/lib.rs b/src/lib.rs
index ebcfcc9..2daf7f5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -136,8 +136,8 @@ impl<W: Writer> Archive<W> {
if path.len() < namelen {
bytes::copy_memory(header.name, path);
} else if path.len() < namelen + prefixlen {
- bytes::copy_memo... | 1 | 29 | 2 |
60c7795d71a66fe06a96b5c01ce0930eea2cea43 | Alex Crichton | 2014-07-18T17:17:59 | mtimes are in milliseconds from libstd | diff --git a/src/lib.rs b/src/lib.rs
index ac946ab..ebcfcc9 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -148,8 +148,7 @@ impl<W: Writer> Archive<W> {
// Prepare the metadata fields.
octal(header.mode, stat.perm.bits()); // TODO: is this right?
- // TODO: what granularity is this on?
- ... | 1 | 1 | 2 |
c4e296f495d52f9a59a7f0d2b3d19c687e81c074 | Alex Crichton | 2014-07-17T19:11:05 | Remove a debugging print | diff --git a/src/lib.rs b/src/lib.rs
index 64d1554..ac946ab 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -187,7 +187,6 @@ impl<W: Writer> Archive<W> {
fn octal<T: fmt::Octal>(dst: &mut [u8], val: T) {
let o = format!("{:o}", val);
- println!("{} {}", dst.len(), o);
bytes::... | 1 | 0 | 1 |
2a819055be371e02282d1304a6626c6e35c14f36 | Alex Crichton | 2014-07-17T15:31:46 | Fix some typos | diff --git a/Cargo.toml b/Cargo.toml
index d909204..0c0574b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,4 +3,3 @@
name = "tar"
version = "0.0.1"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
-
diff --git a/src/lib.rs b/src/lib.rs
index 56ba0ec..64d1554 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,4 +1,4 @... | 2 | 3 | 4 |
8214a3b36739f91f0dfb687a85558c1ed929afe8 | Alex Crichton | 2014-07-17T15:28:06 | Implement an archive writer | diff --git a/src/lib.rs b/src/lib.rs
index 86f0698..56ba0ec 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -15,8 +15,10 @@ use std::cmp;
use std::io::{IoResult, IoError};
use std::io;
use std::iter::AdditiveIterator;
+use std::fmt;
use std::mem;
use std::num;
+use std::slice::bytes;
use std::str;
/// A top-level ... | 1 | 124 | 1 |
95eeb5e7df634acddb72fd79ab107ab10a1afd06 | Alex Crichton | 2014-07-17T14:55:55 | Provide more accessor methods | diff --git a/src/lib.rs b/src/lib.rs
index f3f7574..86f0698 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -45,20 +45,32 @@ pub struct File<'a, R> {
tar_offset: u64,
pos: u64,
size: u64,
+ filename: Vec<u8>,
}
+/// Representation of the header of a file in an archive
#[repr(C)]
-struct Header {
- ... | 1 | 128 | 34 |
80ff035b2b5e6dc94686741ac5cd9f80bbfb966c | Surya | 2026-03-24T13:04:14 | Fix RUSTSEC-2026-0049: update rustls-webpki to 0.103.10 (#839)
Co-authored-by: Rob Ede <robjtede@icloud.com> | diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml
index 00d5d44..c54d41a 100644
--- a/actix-tls/Cargo.toml
+++ b/actix-tls/Cargo.toml
@@ -20,7 +20,7 @@ allowed_external_types = ["actix_service::*", "actix_utils::*", "futures_core::*
[package.metadata.cargo-machete]
ignored = [
"rustls_021", # specif... | 1 | 2 | 2 |
dd205fd155b5119bb4e853de636381bbbb915e45 | Yuki Okushi | 2026-02-09T11:46:41 | perf: eliminate recursive call and unnecessary Option (#814) | diff --git a/actix-service/src/and_then.rs b/actix-service/src/and_then.rs
index e453f7b..ee09241 100644
--- a/actix-service/src/and_then.rs
+++ b/actix-service/src/and_then.rs
@@ -57,7 +57,7 @@ where
AndThenServiceResponse {
state: State::A {
fut: self.0 .0.call(req),
- ... | 4 | 50 | 47 |
c347906c78f9b5758d0620d610bcd58dc4e0feba | Yuki Okushi | 2026-02-08T22:14:46 | chore(*): fix clippy warnings (#813) | diff --git a/actix-rt/src/arbiter.rs b/actix-rt/src/arbiter.rs
index 80ba055..0fd30db 100644
--- a/actix-rt/src/arbiter.rs
+++ b/actix-rt/src/arbiter.rs
@@ -172,7 +172,7 @@ impl Arbiter {
let system_id = sys.id();
let arb_id = COUNT.fetch_add(1, Ordering::Relaxed);
- let name = format!("actix... | 4 | 9 | 28 |
4d9bc51555ccb34dac38f3bdcc823282d9293f71 | Nur | 2026-02-01T22:02:17 | local-waker (perf): Avoid `Waker::clone` on 2nd registration (#783)
* local-waker (perf): Avoid `Waker::clone` on 2nd registration
* local-waker: Add safety docs
* Add safety note on `take`
---------
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com> | diff --git a/local-waker/src/lib.rs b/local-waker/src/lib.rs
index 6a6a555..b131df8 100644
--- a/local-waker/src/lib.rs
+++ b/local-waker/src/lib.rs
@@ -6,7 +6,7 @@
#![deny(rust_2018_idioms, nonstandard_style)]
#![warn(future_incompatible, missing_docs)]
-use core::{cell::Cell, fmt, marker::PhantomData, task::Waker... | 1 | 20 | 5 |
c6ebc4e2b7f63d92f403401193bfc94014a6188e | Yuki Okushi | 2026-01-12T06:40:43 | codec: use tokio assert_ready macro (#788) | diff --git a/actix-codec/tests/test_framed_sink.rs b/actix-codec/tests/test_framed_sink.rs
index 280fec3..063fbfa 100644
--- a/actix-codec/tests/test_framed_sink.rs
+++ b/actix-codec/tests/test_framed_sink.rs
@@ -23,26 +23,6 @@ macro_rules! bilateral {
}};
}
-macro_rules! assert_ready {
- ($e:expr) => {{
- ... | 1 | 0 | 20 |
0b09ccf30ddc519172e8f41cbbb7e71d1d1694c7 | kpcyrd | 2025-10-27T22:09:58 | Update to rustls-native-certs 0.8 (#743)
* Update to rustls-native-certs 0.8
* Add rustls-native-certs 0.8 change to rustls_0_22.rs
* Update rustls-native-certs versions in docs
---------
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com> | diff --git a/Cargo.lock b/Cargo.lock
index 4779c59..9dc6a6a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -98,7 +98,7 @@ dependencies = [
"rcgen",
"rustls 0.21.12",
"rustls-native-certs 0.6.3",
- "rustls-native-certs 0.7.3",
+ "rustls-native-certs 0.8.1",
"rustls-pemfile 2.2.0",
"rustls-pki-types",
"rustls-we... | 4 | 49 | 17 |
58377407cb98718f1539ac642791f1a01242c5c9 | Yuki Okushi | 2025-09-29T10:47:53 | fix: rename doc_auto_cfg feature (#737) | diff --git a/actix-tls/src/lib.rs b/actix-tls/src/lib.rs
index 38d1bb0..5a0406c 100644
--- a/actix-tls/src/lib.rs
+++ b/actix-tls/src/lib.rs
@@ -2,7 +2,7 @@
#![doc(html_logo_url = "https://actix.rs/img/logo.png")]
#![doc(html_favicon_url = "https://actix.rs/favicon.ico")]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))... | 1 | 1 | 1 |
5904bd2997dbb0dde4aac8b4c437a1726759c844 | Rob Ede | 2025-09-19T23:23:39 | test: replace trust-dns with hickory | diff --git a/Cargo.lock b/Cargo.lock
index 81f1628..1480912 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -87,6 +87,7 @@ dependencies = [
"bytes",
"futures-core",
"futures-util",
+ "hickory-resolver",
"http 0.2.12",
"http 1.3.1",
"impl-more",
@@ -110,7 +111,6 @@ dependencies = [
"tokio-rustls 0.26.2",
"to... | 4 | 290 | 97 |
5267bc2c895485e53e75524f53fb2ec9b21ad1d8 | Rob Ede | 2025-08-30T01:31:17 | chore(rt): include correct tokio features | diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml
index 3990242..1d1ff32 100644
--- a/actix-rt/Cargo.toml
+++ b/actix-rt/Cargo.toml
@@ -23,7 +23,7 @@ io-uring = ["tokio-uring"]
actix-macros = { version = "0.2.3", optional = true }
futures-core = { version = "0.3", default-features = false }
-tokio = { version ... | 1 | 1 | 1 |
e6ddf0ccff23a737d803490491b8ecf9f489bd0d | Thomas de Zeeuw | 2025-07-14T01:13:23 | Update to socket2 v0.6 (#696) | diff --git a/Cargo.lock b/Cargo.lock
index 3bca638..338ff9e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -55,7 +55,7 @@ dependencies = [
"futures-util",
"mio",
"pretty_env_logger",
- "socket2 0.5.10",
+ "socket2 0.6.0",
"static_assertions",
"tokio",
"tokio-uring",
@@ -1966,6 +1966,16 @@ dependencies = [
"w... | 2 | 12 | 2 |
12df4d7027e4d07d29655c2a87ec86315b3e02d1 | Dylan Anthony | 2025-03-09T16:53:48 | Remove need for paste (#649)
Co-authored-by: Dylan Anthony <dbanty@users.noreply.github.com> | diff --git a/Cargo.lock b/Cargo.lock
index 30f79e5..d884859 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -69,7 +69,6 @@ dependencies = [
"actix-utils",
"futures-core",
"futures-util",
- "paste",
"pin-project-lite",
]
diff --git a/actix-service/Cargo.toml b/actix-service/Cargo.toml
index f0be441..6427394 10064... | 3 | 25 | 25 |
8d1cd2ec8783f3b3a304658edbac3320127dda4d | Rob Ede | 2024-12-29T14:40:37 | chore: allow missing docs on tests | diff --git a/actix-codec/tests/test_framed_sink.rs b/actix-codec/tests/test_framed_sink.rs
index 8c98ff1..4c91119 100644
--- a/actix-codec/tests/test_framed_sink.rs
+++ b/actix-codec/tests/test_framed_sink.rs
@@ -1,3 +1,5 @@
+#![allow(missing_docs)]
+
use std::{
collections::VecDeque,
io::{self, Write},
diff... | 4 | 6 | 0 |
b87174b5f2d2913673757060eb7051ca6c42a2b9 | Rob Ede | 2024-12-29T14:34:28 | chore: allow missing docs on tests | diff --git a/actix-server/tests/server.rs b/actix-server/tests/server.rs
index a46652d..fa1225f 100644
--- a/actix-server/tests/server.rs
+++ b/actix-server/tests/server.rs
@@ -1,4 +1,4 @@
-#![allow(clippy::let_underscore_future)]
+#![allow(clippy::let_underscore_future, missing_docs)]
use std::{
net, | 1 | 1 | 1 |
8097af6a27a12edda680c98ab569d0b3db1a855c | Rob Ede | 2024-12-29T14:31:46 | chore: allow missing docs on tests | diff --git a/actix-macros/tests/trybuild.rs b/actix-macros/tests/trybuild.rs
index 5cfb1b6..f50dd8c 100644
--- a/actix-macros/tests/trybuild.rs
+++ b/actix-macros/tests/trybuild.rs
@@ -1,3 +1,5 @@
+#![allow(missing_docs)]
+
#[rustversion_msrv::msrv]
#[test]
fn compile_macros() {
diff --git a/actix-rt/tests/tests.rs ... | 2 | 4 | 0 |
fad1fda194ae7f6f5ccfd464fb751fc319f813bc | ahbkc | 2024-09-05T00:55:49 | Fix fist to first (#598)
Co-authored-by: yinqilei <yinqilei_ug@126.com> | diff --git a/actix-service/src/pipeline.rs b/actix-service/src/pipeline.rs
index 118f979..4286e99 100644
--- a/actix-service/src/pipeline.rs
+++ b/actix-service/src/pipeline.rs
@@ -52,7 +52,7 @@ where
/// Call another service after call to this one has resolved successfully.
///
/// This function can be ... | 1 | 1 | 1 |
b1cbacc7f641ba908dfe12ec9da5dbede1aadc90 | ahbkc | 2024-09-03T04:15:24 | fix actix-service/src/ext.rs 'fist' to 'first' (#596)
Co-authored-by: yinqilei <yinqilei_ug@126.com> | diff --git a/actix-service/src/ext.rs b/actix-service/src/ext.rs
index f5fe6ed..5cf612d 100644
--- a/actix-service/src/ext.rs
+++ b/actix-service/src/ext.rs
@@ -44,7 +44,7 @@ pub trait ServiceExt<Req>: Service<Req> {
/// Call another service after call to this one has resolved successfully.
///
/// This ... | 1 | 1 | 1 |
ead0e2b2004ac50ba194b909c97ed8b6feac511c | Rob Ede | 2024-07-20T17:57:00 | chore: fix nightly warnings | diff --git a/actix-service/src/transform.rs b/actix-service/src/transform.rs
index e29d2b2..cffa3e6 100644
--- a/actix-service/src/transform.rs
+++ b/actix-service/src/transform.rs
@@ -228,6 +228,7 @@ mod tests {
use super::*;
// pseudo-doctest for Transform trait
+ #[allow(unused)]
pub struct Timeo... | 1 | 2 | 0 |
0030800b9afda04fd0a1ea0511183415b4780900 | Rob Ede | 2024-06-20T00:22:33 | chore: update mio dependency to v1 (#577) | diff --git a/actix-server/Cargo.toml b/actix-server/Cargo.toml
index f065854..931987c 100644
--- a/actix-server/Cargo.toml
+++ b/actix-server/Cargo.toml
@@ -31,7 +31,7 @@ actix-utils = "3"
futures-core = { version = "0.3.17", default-features = false, features = ["alloc"] }
futures-util = { version = "0.3.17", defa... | 2 | 2 | 2 |
46cc62c6d89c4502c887ac9ba51dd3dfea55fed3 | Jiri Andras | 2024-06-14T17:11:32 | Fix logging "starting service:..." (#573)
Co-authored-by: Jiří Andras <jiri.andras@braiins.cz> | diff --git a/actix-server/src/server.rs b/actix-server/src/server.rs
index 7e092e2..db7d67f 100644
--- a/actix-server/src/server.rs
+++ b/actix-server/src/server.rs
@@ -183,11 +183,6 @@ impl ServerInner {
}
fn run_sync(mut builder: ServerBuilder) -> io::Result<(Self, ServerEventMultiplexer)> {
- let ... | 1 | 5 | 5 |
73451070db6fba544d515065c4db10062d0635f9 | asonix | 2024-05-12T21:09:59 | actix-tls: Disable default features for rustls 0.23 via tokio-rustls 0.26 (#560)
* actix-tls: Disable default features for rustls 0.23 via tokio-rustls 0.26
This also fixes a panic in accept-rustls due to both ring and aws-lc-rs
being enabled for that example
* Switch a test from aws-lc-rs to ring since aws-lc-rs is... | diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml
old mode 100755
new mode 100644
index f0dfaf8..8fce283
--- a/actix-tls/Cargo.toml
+++ b/actix-tls/Cargo.toml
@@ -108,7 +108,7 @@ tokio-rustls-025 = { package = "tokio-rustls", version = "0.25", optional = true
webpki-roots-026 = { package = "webpki-roots", versi... | 2 | 3 | 3 |
5edbf9e3dc86d9efc4d106891ce257151113b3a7 | Rob Ede | 2024-05-12T17:24:37 | chore: switch to rustversion-msrv | diff --git a/actix-macros/Cargo.toml b/actix-macros/Cargo.toml
index b96daeb..2f112ed 100644
--- a/actix-macros/Cargo.toml
+++ b/actix-macros/Cargo.toml
@@ -31,7 +31,6 @@ proc-macro2 = "1.0.60"
[dev-dependencies]
actix-rt = "2"
-
futures-util = { version = "0.3.17", default-features = false }
-rustversion = "1"
+r... | 2 | 2 | 3 |
f028a742401ac8c53285868d7ae27eac5f37db91 | Rob Ede | 2024-05-11T16:41:31 | build: fix rustversion spec | diff --git a/actix-macros/Cargo.toml b/actix-macros/Cargo.toml
index 925721e..b96daeb 100644
--- a/actix-macros/Cargo.toml
+++ b/actix-macros/Cargo.toml
@@ -33,6 +33,5 @@ proc-macro2 = "1.0.60"
actix-rt = "2"
futures-util = { version = "0.3.17", default-features = false }
-# rustversion = "1"
-rustversion = { path ... | 1 | 1 | 2 |
850f6c0491822b41b3c6f9e46065a9e61b277a29 | Rob Ede | 2024-02-19T12:32:06 | chore: allow unused trait in test | diff --git a/actix-utils/src/future/poll_fn.rs b/actix-utils/src/future/poll_fn.rs
index 0c798f4..09638bc 100644
--- a/actix-utils/src/future/poll_fn.rs
+++ b/actix-utils/src/future/poll_fn.rs
@@ -103,6 +103,7 @@ mod tests {
#[allow(dead_code)]
fn require_sync<T: Sync>(_t: &T) {}
+ #[allow(unused)]
... | 1 | 1 | 0 |
0f71fd5a7a7aa6dd81106d65995707455f4a3e23 | Rob Ede | 2024-02-19T12:19:08 | chore: remove redundant imports | diff --git a/actix-service/src/apply.rs b/actix-service/src/apply.rs
index d33bdcd..8c7097c 100644
--- a/actix-service/src/apply.rs
+++ b/actix-service/src/apply.rs
@@ -208,15 +208,13 @@ where
#[cfg(test)]
mod tests {
- use core::task::Poll;
-
use futures_util::future::lazy;
use super::*;
use cr... | 5 | 3 | 11 |
40b10847df4c22a4ae7cc9c74c7e3060223da9a8 | Rob Ede | 2024-02-19T12:10:47 | chore: remove redundant imports | diff --git a/actix-tls/src/connect/rustls_0_20.rs b/actix-tls/src/connect/rustls_0_20.rs
index 1955304..5a114b2 100644
--- a/actix-tls/src/connect/rustls_0_20.rs
+++ b/actix-tls/src/connect/rustls_0_20.rs
@@ -3,7 +3,6 @@
//! See [`TlsConnector`] for main connector service factory docs.
use std::{
- convert::TryF... | 3 | 0 | 6 |
39bab048004228af794a9c0a9d9bd1192253fa53 | Rob Ede | 2024-02-19T11:36:15 | chore: remove redundant imports | diff --git a/actix-rt/src/arbiter.rs b/actix-rt/src/arbiter.rs
index 48cc752..ee647ae 100644
--- a/actix-rt/src/arbiter.rs
+++ b/actix-rt/src/arbiter.rs
@@ -16,7 +16,7 @@ use crate::system::{System, SystemCommand};
pub(crate) static COUNT: AtomicUsize = AtomicUsize::new(0);
thread_local!(
- static HANDLE: RefCel... | 4 | 4 | 4 |
5792d9f01047e2e4f488233bde61016b18edddec | Rob Ede | 2024-02-19T11:29:31 | docs: fix repo links | diff --git a/actix-server/Cargo.toml b/actix-server/Cargo.toml
index 3a93921..bd801ca 100755
--- a/actix-server/Cargo.toml
+++ b/actix-server/Cargo.toml
@@ -10,7 +10,7 @@ description = "General purpose TCP server built for the Actix ecosystem"
keywords = ["network", "tcp", "server", "framework", "async"]
categories =... | 2 | 2 | 2 |
1a5d85ec8b107e28106c188ab7945e8df36f3171 | Rob Ede | 2024-01-17T04:29:44 | fix(tls): resolve http imports | diff --git a/actix-tls/tests/test_connect.rs b/actix-tls/tests/test_connect.rs
index 58ffa4d..d3a6827 100644
--- a/actix-tls/tests/test_connect.rs
+++ b/actix-tls/tests/test_connect.rs
@@ -109,7 +109,7 @@ async fn test_openssl_uri() {
});
let connector = Connector::default().service();
- let addr = http:... | 1 | 2 | 2 |
079f0f66f0a6e985c5055fc89923e9cf3fc9d963 | Rob Ede | 2024-01-17T04:23:48 | chore(tls): clippy | diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml
index baf1615..e5a0998 100755
--- a/actix-tls/Cargo.toml
+++ b/actix-tls/Cargo.toml
@@ -41,7 +41,7 @@ accept = []
connect = []
# use openssl impls
-openssl = ["tls-openssl", "tokio-openssl"]
+openssl = ["dep:tls-openssl", "dep:tokio-openssl"]
# alias for b... | 3 | 7 | 7 |
c5b2d0cd36b43dbd4d73f2602b44794fd0da4622 | Rob Ede | 2023-12-16T00:43:02 | chore(tls): fix feature flagging of DEFAULT_TLS_HANDSHAKE_TIMEOUT | diff --git a/actix-tls/src/accept/mod.rs b/actix-tls/src/accept/mod.rs
index 8d89f00..e884bd3 100644
--- a/actix-tls/src/accept/mod.rs
+++ b/actix-tls/src/accept/mod.rs
@@ -37,6 +37,8 @@ pub(crate) static MAX_CONN: AtomicUsize = AtomicUsize::new(256);
feature = "openssl",
feature = "rustls-0_20",
feature... | 3 | 8 | 6 |
02ac0bb4f74d86857dbba2ff947f90b68611e3ce | Rob Ede | 2023-12-16T00:23:11 | feat(tls): add accept::rustls_0_22 module | diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml
index c3ed89b..baf1615 100755
--- a/actix-tls/Cargo.toml
+++ b/actix-tls/Cargo.toml
@@ -115,6 +115,7 @@ actix-server = "2"
bytes = "1"
env_logger = "0.10"
futures-util = { version = "0.3.17", default-features = false, features = ["sink"] }
+itertools = "0.12"
... | 4 | 217 | 14 |
2a4df30c637b3fa396844577d3bc78f806a160a0 | Rob Ede | 2023-11-20T18:37:11 | chore(rt): remove hyper example | diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml
index 49c96ea..f399360 100644
--- a/actix-rt/Cargo.toml
+++ b/actix-rt/Cargo.toml
@@ -37,4 +37,3 @@ tokio-uring = { version = "0.4", optional = true }
[dev-dependencies]
tokio = { version = "1.23.1", features = ["full"] }
-hyper = { version = "0.14.10", default... | 2 | 0 | 30 |
4067fbe8f018eae1eeb0ef13ca95bfb05c57b9d2 | Rob Ede | 2023-11-06T22:19:01 | chore: fix check-external-types for rt | diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml
index 4e55eb1..49c96ea 100644
--- a/actix-rt/Cargo.toml
+++ b/actix-rt/Cargo.toml
@@ -8,7 +8,7 @@ authors = [
description = "Tokio-based single-threaded async runtime for the Actix ecosystem"
keywords = ["async", "futures", "io", "runtime"]
homepage = "https://a... | 1 | 2 | 1 |
7d138f0c317ac652de0f1ec819909a4647982c0f | Rob Ede | 2023-10-29T21:15:40 | build: fix min version compat (#498) | diff --git a/actix-macros/Cargo.toml b/actix-macros/Cargo.toml
index 39f021e..b96daeb 100644
--- a/actix-macros/Cargo.toml
+++ b/actix-macros/Cargo.toml
@@ -26,6 +26,7 @@ quote = "1"
syn = { version = "2", features = ["full"] }
# minimal versions compat
+[target.'cfg(any())'.dependencies]
proc-macro2 = "1.0.60"
... | 1 | 1 | 0 |
3cd5d8b07af7341a466e10527bdabff1b300001e | Rob Ede | 2023-10-29T18:47:38 | doc: complete ServerBuilder::workers docs | diff --git a/actix-server/src/builder.rs b/actix-server/src/builder.rs
index dcb05d4..bd5418c 100644
--- a/actix-server/src/builder.rs
+++ b/actix-server/src/builder.rs
@@ -72,13 +72,14 @@ impl ServerBuilder {
/// Sets number of workers to start.
///
- /// `num` must be greater than 0.
- ///
- /// ... | 1 | 4 | 3 |
09548c96b045227290d3494ca3fe3863912adfad | Rob Ede | 2023-10-29T18:45:12 | doc: fix doc references | diff --git a/actix-rt/src/system.rs b/actix-rt/src/system.rs
index 8ff02c8..4c276be 100644
--- a/actix-rt/src/system.rs
+++ b/actix-rt/src/system.rs
@@ -203,16 +203,20 @@ impl SystemRunner {
.map_err(|err| io::Error::new(io::ErrorKind::Other, err))
}
- /// Retrieves a reference to the underlying ... | 2 | 19 | 18 |
bfeb4cd9e79c09ecece3c595f889f35ebcba586a | Paolo Barbolini | 2023-09-17T11:45:55 | local-channel: drop futures-util by using future::poll_fn from std (#490) | diff --git a/local-channel/Cargo.toml b/local-channel/Cargo.toml
index 9e0f21b..fcc7ae9 100644
--- a/local-channel/Cargo.toml
+++ b/local-channel/Cargo.toml
@@ -15,8 +15,8 @@ rust-version.workspace = true
[dependencies]
futures-core = "0.3.17"
futures-sink = "0.3.17"
-futures-util = { version = "0.3.17", default-fea... | 2 | 2 | 2 |
45a7dcba90cf97dbd90f6a6ed1b6e7d35e4dd2e5 | Rob Ede | 2023-08-29T17:40:55 | chore(tls): fix min rustls version | diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml
index f1c4033..8279945 100755
--- a/actix-tls/Cargo.toml
+++ b/actix-tls/Cargo.toml
@@ -17,6 +17,11 @@ rust-version.workspace = true
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
+[package.metadata.cargo-machete]
+ignored = [
+ "rustls_021", # spe... | 2 | 6 | 2 |
9cb8a1fadcc5caf11243609f6da4f0cd57b0094d | Rob Ede | 2023-07-24T02:27:44 | remove lint exception | diff --git a/actix-macros/src/lib.rs b/actix-macros/src/lib.rs
index 481d114..cd546f0 100644
--- a/actix-macros/src/lib.rs
+++ b/actix-macros/src/lib.rs
@@ -28,8 +28,6 @@ type AttributeArgs = syn::punctuated::Punctuated<syn::Meta, syn::Token![,]>;
/// println!("Hello world");
/// }
/// ```
-#[allow(clippy::needl... | 1 | 0 | 2 |
177590a7d86c77fca5719f90fd63acc9d5002b67 | Rob Ede | 2023-04-01T21:45:18 | increase bytestring test coverage | diff --git a/bytestring/src/lib.rs b/bytestring/src/lib.rs
index d75a05f..3892d09 100644
--- a/bytestring/src/lib.rs
+++ b/bytestring/src/lib.rs
@@ -11,7 +11,7 @@ use alloc::{
string::{String, ToString},
vec::Vec,
};
-use core::{borrow, convert::TryFrom, fmt, hash, ops, str};
+use core::{borrow::Borrow, conv... | 1 | 75 | 18 |
4cbe7412307ac662d33259d033d89468999c54e7 | Rob Ede | 2023-04-01T21:26:08 | use secure openssl version | diff --git a/actix-server/Cargo.toml b/actix-server/Cargo.toml
index ba9ef03..ade711f 100755
--- a/actix-server/Cargo.toml
+++ b/actix-server/Cargo.toml
@@ -28,7 +28,7 @@ futures-core = { version = "0.3.17", default-features = false, features = ["allo
futures-util = { version = "0.3.17", default-features = false, feat... | 2 | 2 | 2 |
80320a0325eed10057b3ef0dcdb3ad2c9a754edb | Rob Ede | 2023-04-01T21:24:10 | use secure tokio version range | diff --git a/actix-codec/Cargo.toml b/actix-codec/Cargo.toml
index 84f964c..565bc83 100644
--- a/actix-codec/Cargo.toml
+++ b/actix-codec/Cargo.toml
@@ -20,7 +20,7 @@ futures-core = { version = "0.3.7", default-features = false }
futures-sink = { version = "0.3.7", default-features = false }
memchr = "2.3"
pin-proje... | 5 | 7 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.