npm-package-json-0.1.3/.editorconfig000064400000000000000000000003411371455605600155220ustar0000000000000000root = true [*] charset = utf-8 end_of_line = lf indent_style = space insert_final_newline = true trim_trailing_whitespace = true [*.md] trim_trailing_whitespace = false [*.(yaml|yml)] indent_size = 2 indent_style = space npm-package-json-0.1.3/.github/workflows/ci.yml000064400000000000000000000033211371455605600175610ustar0000000000000000name: Continuous Integration on: pull_request: paths: - "**.rs" - "Cargo.toml" - "Cargo.lock" jobs: fmt: name: Source formatting check runs-on: ubuntu-latest steps: - name: Checkout sources uses: actions/checkout@v2 - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: nightly override: true components: rustfmt - name: Check formatting uses: actions-rs/cargo@v1 with: command: fmt args: -- --check check: name: Compilation check runs-on: ubuntu-latest strategy: fail-fast: true matrix: rust: - stable - beta - nightly - 1.41.0 steps: - name: Checkout sources uses: actions/checkout@v2 - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: ${{ matrix.rust }} override: true - name: Run cargo check uses: actions-rs/cargo@v1 with: command: check clippy: name: Lint check runs-on: ubuntu-latest strategy: fail-fast: true matrix: rust: - stable - 1.41.0 steps: - name: Checkout sources uses: actions/checkout@v2 - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: ${{ matrix.rust }} override: true components: clippy - name: Run lints uses: actions-rs/cargo@v1 with: command: clippy args: -- -D warnings npm-package-json-0.1.3/.github/workflows/docs.yml000064400000000000000000000015621371455605600201230ustar0000000000000000name: Continuous Integration - Docs on: push: branches: - master paths: - "**.rs" - "Cargo.toml" - "Cargo.lock" jobs: docs: name: Generate crate documentation runs-on: ubuntu-latest steps: - name: Checkout sources uses: actions/checkout@v2 - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: nightly override: true - name: Generate documentation uses: actions-rs/cargo@v1 env: RUSTDOCFLAGS: "--enable-index-page -Zunstable-options" with: command: doc args: --workspace --no-deps - name: Deploy documentation uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./target/doc npm-package-json-0.1.3/.gitignore000064400000000000000000000002011371455605600150300ustar0000000000000000# Ignore compilation units. /target # Only include the lock file on binary projects. Cargo.lock # Ignore backup files. *.rs.bk npm-package-json-0.1.3/Cargo.toml.orig000064400000000000000000000006651371561426600157440ustar0000000000000000[package] name = "npm-package-json" description = "A Rust library for parsing npm's `package.json` file." version = "0.1.3" license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/SirWindfield/npm-package-json" authors = ["Sven Lechner "] edition = "2018" [dependencies] serde = { version = "1.0.115", features = ["derive"] } serde_json = "1.0.57" thiserror = "1.0.20" npm-package-json-0.1.3/Cargo.toml0000644000000017521371561450100122730ustar00# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "npm-package-json" version = "0.1.3" authors = ["Sven Lechner "] description = "A Rust library for parsing npm's `package.json` file." readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/SirWindfield/npm-package-json" [dependencies.serde] version = "1.0.115" features = ["derive"] [dependencies.serde_json] version = "1.0.57" [dependencies.thiserror] version = "1.0.20" npm-package-json-0.1.3/CHANGELOG.md000064400000000000000000000015321371520324400146460ustar0000000000000000# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). # [HEAD](https://github.com/SirWindfield/npm-package-json/compare/v0.1.2...HEAD) (2020-08-13) ## [v0.1.2](https://github.com/SirWindfield/npm-package-json/compare/v0.1.1...v0.1.2) (2020-08-13) ### Features - add common constructor functions ([52d75ab](https://github.com/SirWindfield/npm-package-json/commit/52d75abef0b3b2694e059ee0ec8fb7e541f06301)) ## [v0.1.1](https://github.com/SirWindfield/npm-package-json/compare/v0.1.0...v0.1.1) (2020-08-12) ### Features - impl Display for Person ([b9db1b7](https://github.com/SirWindfield/npm-package-json/commit/b9db1b76919a0e54737a4f314f3d2f6331b57b4e)) npm-package-json-0.1.3/LICENSE-APACHE000064400000000000000000000261361371455605600150030ustar0000000000000000 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. npm-package-json-0.1.3/LICENSE-MIT000064400000000000000000000020341371455605600145020ustar0000000000000000Copyright 2020 Sven Lechner Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. npm-package-json-0.1.3/README.md000064400000000000000000000013521371502373500143210ustar0000000000000000# npm-package-json [![docs_master_badge]][docs_master_url] > A Rust library for parsing npm's `package.json` file. ## License Licensed under either of - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0) - MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT) at your option. ### Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. [docs_master_badge]: https://img.shields.io/badge/docs.rs-master-green [docs_master_url]: https://npm-package-json.zerotask.net npm-package-json-0.1.3/rust-toolchain000064400000000000000000000000071371455605600157420ustar00000000000000001.41.0 npm-package-json-0.1.3/rustfmt.toml000064400000000000000000000000541371455605600154470ustar0000000000000000merge_imports = true wrap_comments = true npm-package-json-0.1.3/src/error.rs000064400000000000000000000006441371461301000153210ustar0000000000000000use serde_json::Error as SerdeError; use std::io::Error as IoError; use thiserror::Error; /// The errors that this library can return. #[derive(Debug, Error)] pub enum Error { /// An error that happened during IO operations. #[error("io error")] Io(#[from] IoError), /// An error that happened during the parsing stage. #[error("failed to parse package.json file")] Parse(#[from] SerdeError), } npm-package-json-0.1.3/src/lib.rs000064400000000000000000000203601371561361500147470ustar0000000000000000//! `serde` mappings for npm's `package.json` file format. //! //! This does only implement the fields defined [in the official npm documentation](https://docs.npmjs.com/files/package.json). //! It is common enough that packages define custom entries that are required by //! various tooling. #![warn( missing_copy_implementations, missing_debug_implementations, missing_docs, unsafe_code )] use serde::{Deserialize, Serialize}; use serde_json::Value; use std::{collections::BTreeMap, fmt, fs, io::Read, path::Path, str::FromStr}; mod error; pub use crate::error::Error; /// An ordered map for `bin` entries. pub type BinSet = BTreeMap; /// An ordered map for `dependencies` entries. pub type DepsSet = BTreeMap; /// An ordered map for `engines` entries. pub type EnginesSet = BTreeMap; /// An ordered map for `scripts` entries. pub type ScriptsSet = BTreeMap; /// The result type of this crate. pub type Result = std::result::Result; /// A bug contacting form. #[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)] pub struct Bug { /// The email to use for contact. pub email: Option, /// The url to use to submit bugs. pub url: Option, } impl Bug { /// Creates a new default bug. pub fn new() -> Self { Self::default() } /// Creates a new bug with the given values. pub fn with(email: Option, url: Option) -> Self { Self { email, url } } } /// A person. #[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)] pub struct Person { /// The name of a person. pub name: String, /// The email of a person. pub email: Option, /// The homepage of the person. pub url: Option, } impl Person { /// Creates a default person. pub fn new() -> Self { Self::default() } /// Creates a person with a given name. pub fn with_name(name: String) -> Self { Self { name, ..Default::default() } } /// Creates a person with the given values. pub fn with(name: String, email: Option, url: Option) -> Self { Self { name, email, url } } } impl fmt::Display for Person { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { match (&self.name, self.email.as_ref(), self.url.as_ref()) { (name, Some(email), None) => write!(f, "{} <{}>", name, email), (name, None, Some(url)) => write!(f, "{} ({})", name, url), (name, None, None) => write!(f, "{}", name), (name, Some(email), Some(url)) => write!(f, "{} <{}> ({})", name, email, url), } } } /// A reference to a person. #[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)] #[serde(untagged)] pub enum PersonReference { /// A short reference. /// /// Short references have a fixed format of `John Doe (https://john.doe.dev)`. Short(String), /// A full reference. /// /// This type of reference defines the parts using a struct instead of a /// shorthand string format. Full(Person), } /// A reference to a man page. #[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)] #[serde(untagged)] pub enum ManReference { /// A single man page reference. Points to one single file. Single(String), /// Multiple man pages, can contain anything from zero to n. Multiple(Vec), } /// A repository. #[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)] pub struct Repository { /// The version control system that the repository uses. pub r#type: String, /// The url to the repository. pub url: String, /// The directory that the repository is in. Often used for monorepos. pub directory: Option, } /// A repository reference. #[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)] #[serde(untagged)] pub enum RepositoryReference { /// A short reference to the repository. Has to have the syntax that `npm install` allows as well. For more information see [here](https://docs.npmjs.com/files/package.json#repository). Short(String), /// A full reference. Full(Repository), } /// The top-level `package.json` structure. #[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)] #[serde(rename_all = "camelCase")] pub struct Package { /// The package name. pub name: String, /// The package version. pub version: String, /// The optional package description. pub description: Option, /// The optional list of keywords. #[serde(default)] pub keywords: Vec, /// The optional package homepage. pub homepage: Option, /// The optional bug contact form. pub bugs: Option, /// The optional package license. pub license: Option, /// The optional author. pub author: Option, /// The optional list of contributors. #[serde(default)] pub contributors: Vec, /// The optional list of files to include. Each entry defines a regex /// pattern. #[serde(default)] pub files: Vec, /// The optional package main entry file. pub main: Option, /// The optional package browser entry file. /// /// This is usually defined in libraries that are meant to be consumed by /// browsers. These Thoes can refer to objects that are not available inside /// a `nodejs` environment (like `window`). pub browser: Option, /// The optional set of binary definitions. #[serde(default)] pub bin: BinSet, /// The optional list of man page references. pub man: Option, /// The optional repository reference. //#[serde(flatten)] pub repository: Option, /// The optional list of script entries. #[serde(default)] pub scripts: ScriptsSet, /// The optional list of dependencies. #[serde(default)] pub dependencies: DepsSet, /// The optional list of development dependencies. #[serde(default)] pub dev_dependencies: DepsSet, /// The optional list of peer dependencies. #[serde(default)] pub peer_dependencies: DepsSet, /// The optional list of bundled dependencies. #[serde(default)] pub bundled_dependencies: DepsSet, /// The optional list of optional dependencies. #[serde(default)] pub optional_dependencies: DepsSet, /// The optional list of engine entries. #[serde(default)] pub engines: EnginesSet, /// The package privacy. #[serde(default)] pub private: bool, /// The OS' that the package can run on. #[serde(default)] pub os: Vec, /// The CPU architectures that the package can run on. #[serde(default)] pub cpu: Vec, /// The optional config object. pub config: Option, /// Other custom fields that have been defined inside the `package.json` /// file. #[serde(flatten)] pub others: BTreeMap, } impl Package { /// Creates a new default package. pub fn new() -> Self { Self::default() } /// Deserializes a `Package` from a file path. pub fn from_path(path: impl AsRef) -> Result { let content = fs::read(path.as_ref())?; Self::from_slice(content.as_slice()) } /// Deserializes a `Package` from an IO stream. pub fn from_reader(r: R) -> Result { Ok(serde_json::from_reader(r)?) } /// Deserializes a `Package` from bytes. pub fn from_slice(v: &[u8]) -> Result { Ok(serde_json::from_slice(v)?) } } impl FromStr for Package { type Err = Error; /// Deserializes a `Package` from a string. fn from_str(s: &str) -> std::result::Result { Ok(serde_json::from_str(s)?) } } #[cfg(test)] mod tests { use super::Person; #[test] fn test_person_display() { let person = Person { name: "John Doe".to_string(), email: Some("john@doe.dev".to_string()), url: Some("https://john.doe.dev".to_string()), }; let expected = "John Doe (https://john.doe.dev)"; assert_eq!(expected, person.to_string()); } } npm-package-json-0.1.3/tests/de.rs000064400000000000000000000024371371561365000151500ustar0000000000000000use npm_package_json::{Bug, Package, Repository, RepositoryReference}; use std::str::FromStr; #[test] fn test_de_minimal() { let s = include_str!("./minimal.json"); let package = Package::from_str(s).unwrap(); assert_eq!(package.name, "my-awesome-package"); assert_eq!(package.version, "1.0.0"); } #[test] fn test_de_default() { let s = include_str!("./default.json"); let package = Package::from_str(s).unwrap(); let git_url = "https://github.com//my_package.git"; assert_eq!(package.name, "my_package"); assert_eq!(package.version, "1.0.0"); assert!(package.description.unwrap().is_empty()); assert_eq!(package.main.unwrap(), "index.js"); assert_eq!( package.repository.unwrap(), RepositoryReference::Full(Repository { r#type: "git".to_string(), url: git_url.to_string(), ..Default::default() }) ); assert!(package.keywords.is_empty()); assert_eq!(package.license.unwrap(), "ISC"); assert_eq!( package.bugs.unwrap(), Bug { email: None, url: Some("https://github.com//my_package/issues".to_string()) } ); assert_eq!( package.homepage.unwrap(), git_url.trim_end_matches(".git").to_string() ); } npm-package-json-0.1.3/tests/default.json000064400000000000000000000007001371500317300165110ustar0000000000000000{ "name": "my_package", "description": "", "version": "1.0.0", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com//my_package.git" }, "keywords": [], "author": "", "license": "ISC", "bugs": { "url": "https://github.com//my_package/issues" }, "homepage": "https://github.com//my_package" } npm-package-json-0.1.3/tests/minimal.json000064400000000000000000000000711371500311500165100ustar0000000000000000{ "name": "my-awesome-package", "version": "1.0.0" } npm-package-json-0.1.3/.cargo_vcs_info.json0000644000000001121371561450100142620ustar00{ "git": { "sha1": "84173cf6868936063360c699a42ca8fc491b6155" } }