Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shorten paths and modernize imports #137

Merged
merged 2 commits into from
May 6, 2021
Merged

Commits on Apr 27, 2021

  1. shorten paths: factor out extra double-colons to imports

    * Most noticeably, shortened std::ffi::CStr[ing] and ::std::os::raw::c_void.
    * (qmetaobject/src/scenegraph.rs):
      - Removed probably misplaced #[cfg(qt_5.8)] attribute before use super::*;
      - Fixed indentation in screnegraph, because cargo fmt could be wrong when
        it comes to  macros.
    ratijas committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    a2ae6c5 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. transition paths to 2018 edition

    Replaces all `extern crate ...` and especially #[macro_use] statements
    with direct `use`s of relevant items.
    
    Introduces cstr! crate & macro to examples, because we don't want our dear
    users/readers to suffer with raw CStr nightmare:
        std::ffi::CStr::from_bytes_with_nul(b"...\0").unwrap()
    ratijas committed May 5, 2021
    Configuration menu
    Copy the full SHA
    dc56c9d View commit details
    Browse the repository at this point in the history