Skip to content

Commit 259a218

Browse files
committed
python-packed-resources: minor docs improvements
1 parent dcaf73b commit 259a218

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

python-packed-resources/src/data.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// License, v. 2.0. If a copy of the MPL was not distributed with this
33
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
44

5+
/*! Declares the foundational data primitives inside packed resources data. */
6+
57
use {std::borrow::Cow, std::collections::HashMap, std::convert::TryFrom, std::path::Path};
68

79
/// Header value for version 1 of resources payload.

python-packed-resources/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ Later, this data structure is parsed back into composite parts. e.g.
1818
to a mapping of Python module names and their respective data. This
1919
data structure is then consulted by a Python interpreter to e.g. power
2020
the module `import` mechanism.
21+
22+
This crate is developed primarily for
23+
[PyOxidizer](https://pyoxidizer.readthedocs.io/en/stable/). But it can
24+
be used outside the PyOxidizer project.
2125
*/
2226

2327
pub mod data;

python-packed-resources/src/parser.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
// License, v. 2.0. If a copy of the MPL was not distributed with this
33
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
44

5-
/*!
6-
Management of Python resources.
7-
*/
5+
/*! Parsing of packed resources data blobs. */
86

97
use {
108
super::data::{

python-packed-resources/src/writer.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
// License, v. 2.0. If a copy of the MPL was not distributed with this
33
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
44

5-
/*!
6-
Embedded Python resources in a binary.
7-
*/
5+
/*! Serializing of structures into packed resources blobs. */
86

97
use {
108
super::data::{BlobInteriorPadding, BlobSectionField, Resource, ResourceField, HEADER_V1},

0 commit comments

Comments
 (0)