Git Product home page Git Product logo

encoding-next's Introduction

encoding-next's People

Contributors

aatxe avatar alexcrichton avatar aneeshusa avatar bbigras avatar bkoropoff avatar canndrew avatar crazysacx avatar dkhenry avatar dotdash avatar filipegoncalves avatar gekkio avatar hsivonen avatar ignatenkobrain avatar ilyvion avatar jedisct1 avatar john-parton avatar justinas avatar klutzy avatar kmcallister avatar ktossell avatar kyledewey avatar lifthrasiir avatar manishearth avatar mbrubeck avatar metajack avatar michaelsproul avatar mneumann avatar nelsonjchen avatar simonsapin avatar skade avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

encoding-next's Issues

Move index processor from Python to Rust

Currently, indexes are parsed and massaged by a Python script, which unnecessary when we're already using Rust for everything else. I'd like to remove the dependency on Python by moving said code to Rust.

big5 encoding currently fails tests in some cirumstances

The codec::tradchinese::bigfive2003_tests::test_encoder_valid and big5::tests::test_correct_table tests fail when the no-optimized-legacy-encoding feature is enabled, which suggests that there's something wrong with the big5 encoding (or tests) when using the legacy encoding.

features: [no-optimized-legacy-encoding]

cause:
thread 'codec::tradchinese::bigfive2003_tests::test_encoder_valid' panicked at 'raw_feed should push [249, 249], but instead pushed [162, 164]'

stack backtrace:
   0: rust_begin_unwind
             at /rustc/f2d93935ffba3ab9d7ccb5300771a2d29b4c8bf3/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at /rustc/f2d93935ffba3ab9d7ccb5300771a2d29b4c8bf3/library/core/src/panicking.rs:142:14
   2: encoding::codec::tradchinese::bigfive2003_tests::test_encoder_valid
             at ./src/codec/tradchinese.rs:204:9
   3: encoding::codec::tradchinese::bigfive2003_tests::test_encoder_valid::{{closure}}
             at ./src/codec/tradchinese.rs:191:5
   4: core::ops::function::FnOnce::call_once
             at /rustc/f2d93935ffba3ab9d7ccb5300771a2d29b4c8bf3/library/core/src/ops/function.rs:248:5
   5: core::ops::function::FnOnce::call_once
             at /rustc/f2d93935ffba3ab9d7ccb5300771a2d29b4c8bf3/library/core/src/ops/function.rs:248:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
features: [no-optimized-legacy-encoding]

cause:
thread 'big5::tests::test_correct_table' panicked at 'assertion failed: `(left == right)`
  left: `5248`,
 right: `18975`'

stack backtrace:
   0: rust_begin_unwind
             at /rustc/f2d93935ffba3ab9d7ccb5300771a2d29b4c8bf3/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at /rustc/f2d93935ffba3ab9d7ccb5300771a2d29b4c8bf3/library/core/src/panicking.rs:142:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
             at /rustc/f2d93935ffba3ab9d7ccb5300771a2d29b4c8bf3/library/core/src/panicking.rs:181:5
   4: encoding_index_tradchinese::big5::tests::test_correct_table
             at /home/runner/work/encoding-next/encoding-next/encoding_index_tests/index_tests.rs:83:34
   5: encoding_index_tradchinese::big5::tests::test_correct_table::{{closure}}
             at /home/runner/work/encoding-next/encoding-next/encoding_index_tests/index_tests.rs:78:9
   6: core::ops::function::FnOnce::call_once
             at /rustc/f2d93935ffba3ab9d7ccb5300771a2d29b4c8bf3/library/core/src/ops/function.rs:248:5
   7: core::ops::function::FnOnce::call_once
             at /rustc/f2d93935ffba3ab9d7ccb5300771a2d29b4c8bf3/library/core/src/ops/function.rs:248:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

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.