• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

luser / read-process-memory
89%
master: 86%

Build:
Build:
LAST BUILD BRANCH: feature/try-from-refactoring
DEFAULT BRANCH: master
Repo Added 12 Oct 2016 10:31AM UTC
Files 1
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH feature/try-from-refactoring
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 0.1.0
  • 0.1.1
  • 0.1.2
  • cirrus-mac
  • master

pending completion
40

Pull #10

travis-ci

web-flow
TryFrom refactoring & misc updates

During review of #7, several possible improvements were revealed.
First of all, now that
[TryFrom](https://doc.rust-lang.org/std/convert/trait.TryFrom.html) is
stable, the auxiliary `TryIntoProcessHandle` trait is no longer
needed.

This change
* Refactors the library to use `TryFrom` trait for `Pid ->
  ProcessHandle` and `Child -> ProcessHandle` conversions.

  `TryFrom` trait implementation must reference a type defined in this
  crate, so either `ProcessHandler` or `Pid` had to be converted from
  a type alias to a 1 field tuple.

  It seems like users interact with `ProcessHandle` less often than
  with `Pid`, so converting `ProcessHandle` won't sacrifice ergonomics
  much.

  Example (retrieving the process handle):

  Before:
  ```rust
    let handle = pid.try_into_process_handle()?;
  ```

  After:
  ```rust
    let handle: ProcessHandle = pid.try_into()?;
  ```

* Adds `--verbose` flags to Cirrus CI scripts

* Adds Cirrus CI badge to readme.

* Reconfigures Appveyor CI to use rustup directly, since the old
  script downloaded v1.16 instead of current stable (v1.34)
Pull Request #10: TryFrom refactoring & misc updates

66 of 74 relevant lines covered (89.19%)

0.89 hits per line

Relevant lines Covered
Build:
Build:
74 RELEVANT LINES 66 COVERED LINES
0.89 HITS PER LINE
Source Files on master
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
40 feature/try-from-refactoring TryFrom refactoring & misc updates During review of #7, several possible improvements were revealed. First of all, now that [TryFrom](https://doc.rust-lang.org/std/convert/trait.TryFrom.html) is stable, the auxiliary `TryIntoProcessHandle` trait ... Pull #10 07 May 2019 11:09AM UTC web-flow travis-ci pending completion  
39 feature/try-from-refactoring TryFrom refactoring & misc updates During review of #7, several possible improvements were revealed. First of all, now that [TryFrom](https://doc.rust-lang.org/std/convert/trait.TryFrom.html) is stable, the auxiliary `TryIntoProcessHandle` trait ... Pull #10 07 May 2019 11:07AM UTC web-flow travis-ci pending completion  
38 feature/try-from-refactoring TryFrom refactoring & misc updates During review of #7, several possible improvements were revealed. First of all, now that [TryFrom](https://doc.rust-lang.org/std/convert/trait.TryFrom.html) is stable, the auxiliary `TryIntoProcessHandle` trait ... Pull #10 07 May 2019 11:06AM UTC web-flow travis-ci pending completion  
37 feature/try-from-refactoring TryFrom refactoring & misc updates During review of #7, several possible improvements were revealed. First of all, now that [TryFrom](https://doc.rust-lang.org/std/convert/trait.TryFrom.html) is stable, the auxiliary `TryIntoProcessHandle` trait ... Pull #10 03 May 2019 07:20PM UTC web-flow travis-ci pending completion  
36 fix/osx-travis Fix TravisCI for Darwin. Since 10.11 OSX ships with System Integrity protection which might prevent certain actions on processes we do not own (such as `vm_read` syscall). This change pins Travis osx image to `xcode6.4` which is from pre-SIP era. Pull #9 03 May 2019 07:50AM UTC web-flow travis-ci pending completion  
34 fix/osx-travis Fix TravisCI for Darwin. Since 10.11 OSX ships with System Integrity protection which might prevent certain actions on processes we do not own (such as `vm_read` syscall). This change pins Travis osx image to `xcode6.4` which is from pre-SIP era. Pull #9 03 May 2019 06:21AM UTC web-flow travis-ci pending completion  
33 fix/osx-travis Fix TravisCI for Darwin. Since 10.11 OSX ships with System Integrity protection which might prevent certain actions on processes we do not own (such as `vm_read` syscall). This change pins Travis osx image to `xcode6.4` which is from pre-SIP era. Pull #9 03 May 2019 05:55AM UTC web-flow travis-ci pending completion  
32 cirrus-mac Try adding mac testing to cirrus-ci Pull #8 02 May 2019 03:29PM UTC web-flow travis-ci pending completion  
31 cirrus-mac Try adding mac testing to cirrus-ci push 02 May 2019 03:28PM UTC luser travis-ci pending completion  
30 master Merge pull request #7 from akhramov/feature/freebsd-support FreeBSD support push 02 May 2019 01:00PM UTC web-flow travis-ci pending completion  
See All Builds (37)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc