Git Product home page Git Product logo

watersort's Introduction

watersort

Just a silly remake of SortPuz.

Clone it, and run with cargo run.

Or, just run it right away with docker:

docker run -it --rm ghcr.io/bengl/watersort:main

watersort's People

Contributors

bengl avatar

Stargazers

 avatar

Watchers

 avatar  avatar

watersort's Issues

Build complains of "unstable feature"

david@carbon:~/src$ git clone '[email protected]:bengl/watersort.git'
Cloning into 'watersort'...
remote: Enumerating objects: 43, done.
remote: Counting objects: 100% (43/43), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 43 (delta 15), reused 33 (delta 10), pack-reused 0
Receiving objects: 100% (43/43), 9.95 KiB | 9.95 MiB/s, done.
Resolving deltas: 100% (15/15), done.
david@carbon:~/src$ cd watersort/
david@carbon:~/src/watersort$ cargo run
    Updating crates.io index
  Downloaded dialoguer v0.10.2
  Downloaded unicode-width v0.1.10
  Downloaded terminal_size v0.1.17
  Downloaded cfg-if v1.0.0
  Downloaded remove_dir_all v0.5.3
  Downloaded rustc_version v0.4.0
  Downloaded memchr v2.5.0
  Downloaded syn v1.0.104
  Downloaded rand_chacha v0.3.1
  Downloaded rand v0.8.5
  Downloaded ppv-lite86 v0.2.17
  Downloaded getrandom v0.2.8
  Downloaded regex v1.7.0
  Downloaded semver v1.0.14
  Downloaded unicode-ident v1.0.5
  Downloaded tempfile v3.3.0
  Downloaded rand_core v0.6.4
  Downloaded zeroize v1.5.7
  Downloaded proc-macro2 v1.0.47
  Downloaded console v0.15.2
  Downloaded quote v1.0.21
  Downloaded regex-syntax v0.6.28
  Downloaded lazy_static v1.4.0
  Downloaded convert_case v0.4.0
  Downloaded fastrand v1.8.0
  Downloaded derive_more v0.99.17
  Downloaded libc v0.2.137
  Downloaded aho-corasick v0.7.20
  Downloaded 28 crates (2.1 MB) in 1.13s
   Compiling libc v0.2.137
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.47
   Compiling memchr v2.5.0
   Compiling unicode-ident v1.0.5
   Compiling quote v1.0.21
   Compiling syn v1.0.104
   Compiling fastrand v1.8.0
   Compiling remove_dir_all v0.5.3
   Compiling lazy_static v1.4.0
   Compiling ppv-lite86 v0.2.17
   Compiling unicode-width v0.1.10
   Compiling convert_case v0.4.0
   Compiling zeroize v1.5.7
   Compiling regex-syntax v0.6.28
   Compiling aho-corasick v0.7.20
   Compiling getrandom v0.2.8
   Compiling terminal_size v0.1.17
   Compiling tempfile v3.3.0
   Compiling console v0.15.2
   Compiling rand_core v0.6.4
   Compiling rand_chacha v0.3.1
   Compiling rand v0.8.5
   Compiling dialoguer v0.10.2
   Compiling regex v1.7.0
   Compiling derive_more v0.99.17
   Compiling watersort v0.1.0 (/home/david/src/watersort)
error[E0658]: use of unstable library feature 'bool_to_option'
  --> src/main.rs:78:41
   |
78 |                 input_re.is_match(text).then_some(()).ok_or(INPUT_ERR)
   |                                         ^^^^^^^^^
   |
   = note: see issue #80967 <https://github.com/rust-lang/rust/issues/80967> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `watersort` due to previous error
david@carbon:~/src/watersort$ rustc --explain E0658
david@carbon:~/src/watersort$ rustc --version
rustc 1.61.0
david@carbon:~/src/watersort$ uname -a
Linux carbon 5.15.0-56-generic #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
david@carbon:~/src/watersort$ 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.