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

Migrate from winapi to windows-sys. #62

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Jul 1, 2022

  1. Migrate from winapi to windows-sys.

    This PR migrates dirs-sys-next from winapi to windows-sys.
    
    Windows-sys is actively maintained, by Microsoft, and has recently
    started to be adopted in the ecosystem; mio, parking_lot, wasmtime,
    and others have moved to windows-sys.
    
    Migrating dirs-sys-next to windows-sys will help me remove one more of
    Wasmtime's transitive dependencies on winapi.
    sunfishcode committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    65539ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    77f240a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    80573e7 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. Configuration menu
    Copy the full SHA
    4258e3d View commit details
    Browse the repository at this point in the history
  2. Fix a clippy error.

    This fixes the following clippy error:
    
    ```
    error: this public function might dereference a raw pointer but is not marked `unsafe`
       --> dirs-sys/src/lib.rs:141:54
        |
    141 |             let result = Shell::SHGetKnownFolderPath(folder_id, 0, 0, &mut path_ptr);
        |                                                      ^^^^^^^^^
        |
        = note: `#[deny(clippy::not_unsafe_ptr_arg_deref)]` on by default
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref
    ```
    sunfishcode committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    834c830 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2022

  1. Configuration menu
    Copy the full SHA
    4fc26cd View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Configuration menu
    Copy the full SHA
    6e79c83 View commit details
    Browse the repository at this point in the history