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

Robbepop / dimacs-parser
91%

Build:
DEFAULT BRANCH: master
Repo Added 29 May 2017 12:59AM UTC
Files 4
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 master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • master

pending completion
753

cron

travis-ci

Robbepop
A `std::io::Read`-based parser. Also, ran `cargo format`. (#3)

* Run `cargo fmt`

* Change parse internals to bytes rather than chars

This change is straightforward because the DIMACS format is ASCII-only.

* Added an std::io::Read-based parser

Panics on IO errors

Why?

Because the alternatives are:
   * `collect` the first IO error -- requiring us to pull the whole
   string into memory
   * catch those IO errors deep in the lexer, and bubble them up as a
   special kind of `ParseError`.

Since we'll generally be reading form files, read errors won't typically
happen, so I figure its better to just panic, since a use wouldn't want
to recover any ways.

* Add tests for read_dimacs

563 of 619 relevant lines covered (90.95%)

1.98 hits per line

Relevant lines Covered
Build:
Build:
619 RELEVANT LINES 563 COVERED LINES
1.98 HITS PER LINE
Source Files on master
  • List 4
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
753 master A `std::io::Read`-based parser. Also, ran `cargo format`. (#3) * Run `cargo fmt` * Change parse internals to bytes rather than chars This change is straightforward because the DIMACS format is ASCII-only. * Added an std::io::Read-based p... cron 04 Jun 2020 01:59PM UTC Robbepop travis-ci pending completion  
752 master A `std::io::Read`-based parser. Also, ran `cargo format`. (#3) * Run `cargo fmt` * Change parse internals to bytes rather than chars This change is straightforward because the DIMACS format is ASCII-only. * Added an std::io::Read-based p... cron 02 Jun 2020 01:58PM UTC Robbepop travis-ci pending completion  
751 master A `std::io::Read`-based parser. Also, ran `cargo format`. (#3) * Run `cargo fmt` * Change parse internals to bytes rather than chars This change is straightforward because the DIMACS format is ASCII-only. * Added an std::io::Read-based p... cron 31 May 2020 01:56PM UTC Robbepop travis-ci pending completion  
750 master A `std::io::Read`-based parser. Also, ran `cargo format`. (#3) * Run `cargo fmt` * Change parse internals to bytes rather than chars This change is straightforward because the DIMACS format is ASCII-only. * Added an std::io::Read-based p... cron 30 May 2020 01:56PM UTC Robbepop travis-ci pending completion  
749 master A `std::io::Read`-based parser. Also, ran `cargo format`. (#3) * Run `cargo fmt` * Change parse internals to bytes rather than chars This change is straightforward because the DIMACS format is ASCII-only. * Added an std::io::Read-based p... cron 29 May 2020 01:55PM UTC Robbepop travis-ci pending completion  
748 master A `std::io::Read`-based parser. Also, ran `cargo format`. (#3) * Run `cargo fmt` * Change parse internals to bytes rather than chars This change is straightforward because the DIMACS format is ASCII-only. * Added an std::io::Read-based p... cron 28 May 2020 01:54PM UTC Robbepop travis-ci pending completion  
747 master A `std::io::Read`-based parser. Also, ran `cargo format`. (#3) * Run `cargo fmt` * Change parse internals to bytes rather than chars This change is straightforward because the DIMACS format is ASCII-only. * Added an std::io::Read-based p... cron 27 May 2020 01:53PM UTC Robbepop travis-ci pending completion  
746 master A `std::io::Read`-based parser. Also, ran `cargo format`. (#3) * Run `cargo fmt` * Change parse internals to bytes rather than chars This change is straightforward because the DIMACS format is ASCII-only. * Added an std::io::Read-based p... cron 26 May 2020 01:52PM UTC Robbepop travis-ci pending completion  
745 master A `std::io::Read`-based parser. Also, ran `cargo format`. (#3) * Run `cargo fmt` * Change parse internals to bytes rather than chars This change is straightforward because the DIMACS format is ASCII-only. * Added an std::io::Read-based p... cron 25 May 2020 01:51PM UTC Robbepop travis-ci pending completion  
744 master A `std::io::Read`-based parser. Also, ran `cargo format`. (#3) * Run `cargo fmt` * Change parse internals to bytes rather than chars This change is straightforward because the DIMACS format is ASCII-only. * Added an std::io::Read-based p... cron 24 May 2020 01:50PM UTC Robbepop travis-ci pending completion  
See All Builds (705)
  • 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

© 2025 Coveralls, Inc