Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: rust
dist: xenial
script:
- 'if [ "$WITH_LOCK" != "true" ]; then cargo update; fi'
- 'cargo test --no-default-features'
- 'cargo test --all-features'

Expand All @@ -16,14 +15,10 @@ env: # important!
matrix:
include:
- rust: 1.32.0
- rust: 1.32.0
env: WITH_LOCK=true
- rust: stable
env: WITH_LOCK=true
- rust: nightly
env: MAY_FAIL=true
- rust: 1.32.0
os: osx
env: WITH_LOCK=true
allow_failures:
- env: MAY_FAIL=true
134 changes: 67 additions & 67 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions lock-minimize.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/bash -ve

cargo -Z minimal-versions generate-lockfile

# Issue: https://github.com/rust-random/getrandom/pull/112

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# (merged, awaiting getrandom 0.1.13 release, rand release?)
#
# cfg-if v0.1.0
# ├── getrandom v0.1.7
# │ ├── rand v0.7.0
# │ │ └── tempfile v3.1.0
# │ │ [dev-dependencies]
# │ │ └── olio v1.2.0 (/home/david/src/olio)
# │ │ [dev-dependencies]
# │ │ └── olio v1.2.0 (/home/david/src/olio) (*)
# │ └── rand_core v0.5.0
# │ ├── rand v0.7.0 (*)
# │ ├── rand_chacha v0.2.0
# │ │ └── rand v0.7.0 (*)
# │ └── rand_hc v0.2.0
# │ [dev-dependencies]
# │ └── rand v0.7.0 (*)
# └── tempfile v3.1.0 (*)
cargo update -p cfg-if --precise 0.1.2

# due to:
# winapi v0.2.0
# └── iovec v0.1.0
# └── bytes v0.4.6
# [dev-dependencies]
# └── olio v1.2.0 (/home/david/src/olio)
# An upgrade to winapi (0.3, in 2017!) was never released:
# https://github.com/carllerche/iovec/commit/b90b433f58fb8d64ad6c67d8080cf3da1fce3543
cargo update -p winapi:0.2.0 --precise 0.2.8
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ pub static VERSION: &str = env!("CARGO_PKG_VERSION");
/// ```
pub mod fs {
mod pos_read;
pub use self::pos_read::PosRead;
pub use pos_read::PosRead;

mod read;
pub use self::read::{ReadPos, ReadSlice};
pub use read::{ReadPos, ReadSlice};

/// Compatibility type aliases.
pub mod rc {
Expand All @@ -91,11 +91,11 @@ pub mod fs {
/// I/O extensions and utilities
pub mod io {
mod gather;
pub use self::gather::GatheringReader;
pub use gather::GatheringReader;
}

/// Random access memory utilities
pub mod mem {
mod handle;
pub use self::handle::{MemAdviseError, MemHandle, MemAdvice};
pub use handle::{MemAdviseError, MemHandle, MemAdvice};
}