https://github.com/trifectatechfoundation/libbzip2-rs
An implementation of bzip2 in pure rust
https://github.com/trifectatechfoundation/libbzip2-rs
Last synced: 8 months ago
JSON representation
An implementation of bzip2 in pure rust
- Host: GitHub
- URL: https://github.com/trifectatechfoundation/libbzip2-rs
- Owner: trifectatechfoundation
- License: other
- Created: 2024-10-29T09:21:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-14T10:10:16.000Z (about 1 year ago)
- Last Synced: 2025-04-14T10:39:59.235Z (about 1 year ago)
- Language: Rust
- Size: 7.89 MB
- Stars: 28
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.XML.STUFF
- Changelog: NEWS.md
- License: COPYING
- Code of conduct: code-of-conduct.md
- Security: SECURITY.md
- Authors: AUTHORS
Awesome Lists containing this project
- awesome-ai-rust-rewrites - libbzip2-rs - Drop-in compatible Rust implementation of bzip2 created with C2Rust and later used by the `bzip2` crate. (C2Rust And Automated Translation Case Studies)
README
----------------------------------------------------------------
This file is part of bzip2/libbzip2, a program and library for
lossless, block-sorting data compression.
bzip2/libbzip2 version 1.1.0 of 6 September 2010
Copyright (C) 1996-2010 Julian Seward
Please read the WARNING, DISCLAIMER and PATENTS sections in the
README file.
This program is released under the terms of the license contained
in the file LICENSE.
----------------------------------------------------------------
The script xmlproc.sh takes an xml file as input,
and processes it to create .pdf, .html or .ps output.
It uses format.pl, a perl script to format
blocks nicely,
and add CDATA tags so writers do not have to use eg. <
The file "entities.xml" must be edited to reflect current
version, year, etc.
Usage:
./xmlproc.sh -v manual.xml
Validates an xml file to ensure no dtd-compliance errors
./xmlproc.sh -html manual.xml
Output: manual.html
./xmlproc.sh -pdf manual.xml
Output: manual.pdf
./xmlproc.sh -ps manual.xml
Output: manual.ps
Notum bene:
- pdfxmltex barfs if given a filename with an underscore in it
- xmltex won't work yet - there's a bug in passivetex
which we are all waiting for Sebastian to fix.
So we are going the xml -> pdf -> ps route for the time being,
using pdfxmltex.