[package] name = "hello-phext" version = "0.0.6" authors = ["Will Bickford "] [dependencies] impl_new = "0.2.0"MIT License Copyright (c) 2024 Will Bickford 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. # hello-phext This repository demonstrates how to work with phext from a rust context. ## Build 1. Clone this repo 2. Install Rust 3. Run `cargo build` ## Test 1. Complete the build steps above 2. Run `cargo test` ## Examples After completing the build and test commands, you should be able to try out the example, pack, and unpack commands. ### Demonstrate how to inspect a phext Run `cargo run help` ### Compile all local text files into a phext Run `cargo run pack test.phext` ### Extract all nodes from a phext document into your local directory Not yet implementedHello World Scroll #2 Scroll #3 This is a scroll at 1.1.1/1.1.1/1.2.1.This is a scroll at 1.1.1/1.1.1/1.2.2.We're at 1.1.1/1.1.1/2.2.2 now. 🚀This scroll is at 1.1.1/1.1.2/2.2.2.We've found another scroll at 1.1.1/1.2.2/2.2.2.We're now at 1.1.1/2.2.2/2.2.2.This scroll is at 1.1.2/2.2.2/2.2.2.This text is at 1.2.2/2.2.2/2.2.2.This is the 2.1.1/1.1.1/1.1.1 scroll.This scroll is at 2.2.2/2.2.2/2.2.2. Here is a scroll at 2.2.2/2.2.2/2.2.5.Here's a regression test for you: a scroll at 16.7.5/12.1.3/42.17.16 We are located at the bottom of the file!