Giter Site home page Giter Site logo

Comments (3)

jhpratt avatar jhpratt commented on May 24, 2024

Can you please provide a source? This seems like a trivial addition that I could make this weekend.

from standback.

xfix avatar xfix commented on May 24, 2024

For Rust 1.44, upgrade to Unicode 13.0 was mentioned in changelog: https://github.com/rust-lang/rust/blob/master/RELEASES.md.

For determination whether Unicode version is at least 12, the following program can be executed. U+10FE0 character was added in Unicode 12.0. rust-lang/rust#62641 did update Unicode version from 11.0 to 12.1 (see diff for src/libcore/unicode/tables.rs), so there is no need to concern about 12.0, no version of Rust had 12.0, the update was to 12.1.

fn main() {
    println!("{}", '\u{10FE0}'.is_alphabetic());
}

For determination whether Unicode version is at least 11, the following program can be executed. U+1C90 character was added in Unicode 11.0. The minimum Rust version supported by standback is 1.31, and the Unicode update occured in 1.28, so there is no need to look deeper.

fn main() {
    println!("{}", '\u{1C90}'.is_alphabetic());
}

For list of Unicode versions, https://unicode.org/history/publicationdates.html can be checked. 11.0.0, 12.0.0, 12.1.0 and 13.0.0 were the only Unicode versions that needed to be tested.

from standback.

jhpratt avatar jhpratt commented on May 24, 2024

Status update: I'm quite busy, and intend on doing a joint release for 1.45 and 1.46 support. This would include both this issue and the open PR.

from standback.

Related Issues (7)

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.