Commit 64c7cab6 authored by Wohlgemuth, Jason's avatar Wohlgemuth, Jason
Browse files

wip: Remove pipe-py from workspace until I can fix cc linking error

parent 67f9dd64
Loading
Loading
Loading
Loading
Loading
+0 −90
Original line number Diff line number Diff line
@@ -1360,12 +1360,6 @@ dependencies = [
 "unicode-width",
]

[[package]]
name = "indoc"
version = "2.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"

[[package]]
name = "inotify"
version = "0.7.1"
@@ -1988,15 +1982,6 @@ dependencies = [
 "valuable-derive",
]

[[package]]
name = "pipe-py"
version = "0.0.1"
dependencies = [
 "pipe-lib",
 "pyo3",
 "rand",
]

[[package]]
name = "piper"
version = "0.2.1"
@@ -2075,69 +2060,6 @@ dependencies = [
 "unicode-ident",
]

[[package]]
name = "pyo3"
version = "0.22.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433"
dependencies = [
 "cfg-if 1.0.0",
 "indoc",
 "libc",
 "memoffset 0.9.0",
 "once_cell",
 "portable-atomic",
 "pyo3-build-config",
 "pyo3-ffi",
 "pyo3-macros",
 "unindent",
]

[[package]]
name = "pyo3-build-config"
version = "0.22.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8"
dependencies = [
 "once_cell",
 "target-lexicon",
]

[[package]]
name = "pyo3-ffi"
version = "0.22.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6"
dependencies = [
 "libc",
 "pyo3-build-config",
]

[[package]]
name = "pyo3-macros"
version = "0.22.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206"
dependencies = [
 "proc-macro2",
 "pyo3-macros-backend",
 "quote",
 "syn 2.0.76",
]

[[package]]
name = "pyo3-macros-backend"
version = "0.22.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372"
dependencies = [
 "heck 0.5.0",
 "proc-macro2",
 "pyo3-build-config",
 "quote",
 "syn 2.0.76",
]

[[package]]
name = "quick-xml"
version = "0.30.0"
@@ -2546,12 +2468,6 @@ dependencies = [
 "unicode-ident",
]

[[package]]
name = "target-lexicon"
version = "0.12.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"

[[package]]
name = "tauri-winrt-notification"
version = "0.1.3"
@@ -2800,12 +2716,6 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85"

[[package]]
name = "unindent"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"

[[package]]
name = "uriparse"
version = "0.6.4"
+1 −1
Original line number Diff line number Diff line
[workspace]
members = ["pipe-cli", "pipe-lib", "pipe-py"]
members = ["pipe-cli", "pipe-lib"]
resolver = "2"

[workspace.package]
+59 −59
Original line number Diff line number Diff line
@@ -446,12 +446,12 @@ FNDA:1,Script::expand_arguments
FNDA:1,Script::expand_arguments_from
FNDA:1,Script::from_template
FNDA:1,Script::from_path
FNDA:2,Script::get_command
FNDA:2,Script::get_arguments
FNDA:1,Script::get_command
FNDA:1,Script::get_arguments
FNDA:0,Script::maybe_create_conda_environment
FNDA:1,Script::maybe_git_clone
FNDA:0,Script::python_default
FNDA:2,Script::run
FNDA:1,Script::run
FNDA:1,Script::with_current_dir
FNDA:1,Script::with_environment
FNDA:0,Script::with_envs
@@ -477,7 +477,7 @@ DA:369,3
DA:370,1
DA:371,1
DA:373,2
DA:374,2
DA:374,1
DA:375,2
DA:376,4
DA:378,6
@@ -496,15 +496,15 @@ DA:401,0
DA:402,0
DA:413,1
DA:414,2
DA:415,4
DA:415,2
DA:417,0
DA:418,0
DA:421,4
DA:422,2
DA:423,4
DA:421,2
DA:422,1
DA:423,2
DA:424,0
DA:426,6
DA:427,2
DA:426,3
DA:427,1
DA:434,1
DA:435,2
DA:436,1
@@ -587,8 +587,8 @@ DA:558,0
DA:559,0
DA:560,0
DA:562,1
DA:563,3
DA:564,3
DA:563,1
DA:564,1
DA:566,0
DA:567,0
DA:568,0
@@ -614,12 +614,12 @@ DA:596,1
DA:597,1
DA:598,1
DA:599,0
DA:601,3
DA:605,4
DA:606,4
DA:608,4
DA:601,2
DA:605,2
DA:606,2
DA:608,2
DA:609,2
DA:611,2
DA:611,1
DA:614,0
DA:618,0
DA:619,0
@@ -687,17 +687,17 @@ DA:777,0
DA:780,2
DA:781,1
DA:782,1
DA:784,2
DA:785,2
DA:784,1
DA:785,1
DA:786,1
DA:787,2
DA:790,2
DA:791,2
DA:787,1
DA:790,1
DA:791,1
DA:792,1
DA:793,1
DA:794,3
DA:795,2
DA:797,2
DA:793,2
DA:794,5
DA:795,3
DA:797,1
DA:801,0
DA:802,0
DA:803,0
@@ -730,44 +730,44 @@ DA:841,0
DA:842,0
DA:843,0
DA:851,0
DA:855,2
DA:856,2
DA:857,2
DA:858,4
DA:859,4
DA:860,4
DA:861,2
DA:862,14
DA:863,4
DA:864,2
DA:855,1
DA:856,1
DA:857,1
DA:858,2
DA:859,2
DA:860,3
DA:861,1
DA:862,9
DA:863,2
DA:864,1
DA:865,1
DA:866,2
DA:867,2
DA:866,1
DA:867,1
DA:872,4
DA:873,2
DA:873,3
DA:875,0
DA:876,0
DA:879,2
DA:880,2
DA:881,4
DA:882,6
DA:883,4
DA:886,4
DA:887,2
DA:879,3
DA:880,3
DA:881,6
DA:882,9
DA:883,6
DA:886,6
DA:887,3
DA:889,0
DA:890,0
DA:893,2
DA:894,2
DA:895,4
DA:893,3
DA:894,3
DA:895,6
DA:896,0
DA:897,0
DA:900,4
DA:901,2
DA:902,6
DA:903,2
DA:904,6
DA:905,6
DA:906,2
DA:900,6
DA:901,3
DA:902,9
DA:903,3
DA:904,9
DA:905,9
DA:906,3
DA:908,3
DA:909,3
DA:910,2
@@ -786,7 +786,7 @@ DA:969,0
DA:970,0
DA:971,0
DA:978,2
DA:980,2
DA:980,1
DA:987,1
DA:988,4
DA:989,3
@@ -847,11 +847,11 @@ DA:1199,1
DA:1200,6
DA:1201,3
DA:1202,9
DA:1203,7
DA:1203,6
DA:1205,1
DA:1206,3
DA:1207,1
DA:1210,4
DA:1210,1
DA:1212,1
DA:1213,4
LF:384
+7 −9
Original line number Diff line number Diff line
use pyo3::prelude::*;
use pipe_lib::add_forward_slash as _add_forward_slash;
use pyo3::prelude::*;
use rand::Rng;
use std::cmp::Ordering;
use std::{io, path::PathBuf};
@@ -17,18 +17,16 @@ fn guess_the_number() {
    loop {
        println!("Please input your guess.");
        let mut guess = String::new();
        io::stdin()
            .read_line(&mut guess)
            .expect("Failed to read line");
        io::stdin().read_line(&mut guess).expect("Failed to read line");
        let guess: u32 = match guess.trim().parse() {
            Ok(num) => num,
            Err(_) => continue,
            | Ok(num) => num,
            | Err(_) => continue,
        };
        println!("You guessed: {}", guess);
        match guess.cmp(&secret_number) {
            Ordering::Less => println!("Too small!"),
            Ordering::Greater => println!("Too big!"),
            Ordering::Equal => {
            | Ordering::Less => println!("Too small!"),
            | Ordering::Greater => println!("Too big!"),
            | Ordering::Equal => {
                println!("You win!");
                break;
            }