Skip to content

build: update dependencies#14

Merged
ok-nick merged 2 commits into
mainfrom
update-deps
Sep 7, 2025
Merged

build: update dependencies#14
ok-nick merged 2 commits into
mainfrom
update-deps

Conversation

@ok-nick

@ok-nick ok-nick commented Jun 17, 2024

Copy link
Copy Markdown
Owner

No description provided.

@ho-229

ho-229 commented Jun 17, 2024

Copy link
Copy Markdown
Contributor

Hello, this PR can not build on my computer.

OS: Windows 10 LTSC
Rust: 1.80.0-nightly (e82c861d7 2024-05-04)

> cargo build -p sftp
   Compiling sftp v0.1.0 (G:\Project\rust\wincs\examples\sftp)
error[E0603]: module `filter` is private
  --> examples\sftp\src/main.rs:18:5
   |
18 |     filter::{info, ticket, SyncFilter},
   |     ^^^^^^ private module
   |
help: consider importing this module instead:
      wincs::info
  --> examples\sftp\src/main.rs:18:14
   |
18 |     filter::{info, ticket, SyncFilter},
   |              ^^^^
note: the module `filter` is defined here
  --> G:\Project\rust\wincs\src\lib.rs:10:1
   |
10 | mod filter;
   | ^^^^^^^^^^

error[E0603]: module `filter` is private
  --> examples\sftp\src/main.rs:18:5
   |
18 |     filter::{info, ticket, SyncFilter},
   |     ^^^^^^ private module
   |
help: consider importing this module instead:
      wincs::ticket
  --> examples\sftp\src/main.rs:18:20
   |
18 |     filter::{info, ticket, SyncFilter},
   |                    ^^^^^^
note: the module `filter` is defined here
  --> G:\Project\rust\wincs\src\lib.rs:10:1
   |
10 | mod filter;
   | ^^^^^^^^^^

error[E0603]: module `filter` is private
  --> examples\sftp\src/main.rs:18:5
   |
18 |     filter::{info, ticket, SyncFilter},
   |     ^^^^^^ private module
   |
help: consider importing this trait instead:
      wincs::SyncFilter
  --> examples\sftp\src/main.rs:18:28
   |
18 |     filter::{info, ticket, SyncFilter},
   |                            ^^^^^^^^^^
note: the module `filter` is defined here
  --> G:\Project\rust\wincs\src\lib.rs:10:1
   |
10 | mod filter;
   | ^^^^^^^^^^

error[E0603]: module `placeholder_file` is private
  --> examples\sftp\src/main.rs:19:5
   |
19 |     placeholder_file::{Metadata, PlaceholderFile},
   |     ^^^^^^^^^^^^^^^^ private module
   |
note: the module `placeholder_file` is defined here
  --> G:\Project\rust\wincs\src\lib.rs:12:1
   |
12 | mod placeholder_file;
   | ^^^^^^^^^^^^^^^^^^^^
error[E0603]: module `request` is private
  --> examples\sftp\src/main.rs:20:5
   |
20 |     request::Request,
   |     ^^^^^^^ private module
   |
note: the module `request` is defined here
  --> G:\Project\rust\wincs\src\lib.rs:13:1
   |
13 | mod request;
   | ^^^^^^^^^^^

For more information about this error, try `rustc --explain E0603`.
error: could not compile `sftp` (bin "sftp") due to 5 previous errors

* refactor: update windows dependency and refactor examples

- Updated windows crate to latest
- Update command module to use latest operation parameter structures
- Refactor examples to use latest apis and update callback functions
- Fix parsing SyncRootId to components

* refactor: `Placeholder::create` and `SyncRootId::to_components`

- Removed unwanted generic parameter from `Placeholder::create`
- Improve `SyncRootId::to_components`
- Add test cases to test `SyncRootId::to_components`

Co-authored-by: ok-nick nick.libraries@gmail.com
@ok-nick ok-nick merged commit b709a68 into main Sep 7, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants