Skip to content

Add debug feature (MSRV now 1.60)#80

Closed
schneems wants to merge 1 commit intoandrewhickman:mainfrom
schneems:schneems/path-facts-msrv-1.60
Closed

Add debug feature (MSRV now 1.60)#80
schneems wants to merge 1 commit intoandrewhickman:mainfrom
schneems:schneems/path-facts-msrv-1.60

Conversation

@schneems
Copy link
Copy Markdown
Contributor

@schneems schneems commented Nov 6, 2025

Before:

failed to open file `file.txt`: The system cannot find the file specified. (os error 2)

After (with debug feature):

failed to open file `file.txt`: The system cannot find the file specified. (os error 2)

Path does not exist `file.txt`
- Absolute path `/path/to/dir/file.txt`
- Missing `file.txt` from parent directory:
  `/path/to/dir`
    └── `file.md`
    └── `different.txt`

MSRV changed to 1.60 as this is the lowest version that supports the conditional feature syntax tokio?/rt-multi-thread in the Cargo.toml.

Close #55

Alternative to #79 that does not include tests, and maintains a slightly smaller MSRV

Before:

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)
```

After (with `debug` feature):

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)

Path does not exist `file.txt`
- Absolute path `/path/to/dir/file.txt`
- Missing `file.txt` from parent directory:
  `/path/to/dir`
    └── `file.md`
    └── `different.txt`
```

MSRV changed to 1.60 as this is the lowest version that supports the conditional feature syntax `tokio?/rt-multi-thread` in the `Cargo.toml`.

Close andrewhickman#55
schneems added a commit to schneems/fs-err that referenced this pull request Nov 6, 2025
Before:

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)
```

After (with `debug` feature):

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)

Path does not exist `file.txt`
- Absolute path `/path/to/dir/file.txt`
- Missing `file.txt` from parent directory:
  `/path/to/dir`
    └── `file.md`
    └── `different.txt`
```

Alternative to andrewhickman#80 that does not change MSRV but requires developers using both `tokio` and `debug` to enable `tokio/rt-multi-thread`.

Close andrewhickman#55
schneems added a commit to schneems/fs-err that referenced this pull request Nov 6, 2025
Before:

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)
```

After (with `debug` feature):

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)

Path does not exist `file.txt`
- Absolute path `/path/to/dir/file.txt`
- Missing `file.txt` from parent directory:
  `/path/to/dir`
    └── `file.md`
    └── `different.txt`
```

Alternative to andrewhickman#80 that does not change MSRV but requires developers using both `tokio` and `debug` to enable `tokio/rt-multi-thread`.

Close andrewhickman#55
schneems added a commit to schneems/fs-err that referenced this pull request Nov 6, 2025
Before:

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)
```

After (with `debug` feature):

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)

Path does not exist `file.txt`
- Absolute path `/path/to/dir/file.txt`
- Missing `file.txt` from parent directory:
  `/path/to/dir`
    └── `file.md`
    └── `different.txt`
```

Alternative to andrewhickman#80 that does not change MSRV but requires developers using both `tokio` and `debug` to enable `tokio/rt-multi-thread`. This can also be done via the `debug_tokio` feature.

Close andrewhickman#55
schneems added a commit to schneems/fs-err that referenced this pull request Nov 6, 2025
Before:

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)
```

After (with `debug` feature):

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)

Path does not exist `file.txt`
- Absolute path `/path/to/dir/file.txt`
- Missing `file.txt` from parent directory:
  `/path/to/dir`
    └── `file.md`
    └── `different.txt`
```

Alternative to andrewhickman#80 that does not change MSRV but requires developers using both `tokio` and `debug` to enable `tokio/rt-multi-thread`. This can also be done via the `debug_tokio` feature.

Close andrewhickman#55
schneems added a commit to schneems/fs-err that referenced this pull request Nov 7, 2025
Before:

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)
```

After (with `debug` feature):

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)

Path does not exist `file.txt`
- Absolute path `/path/to/dir/file.txt`
- Missing `file.txt` from parent directory:
  `/path/to/dir`
    └── `file.md`
    └── `different.txt`
```

Alternative to andrewhickman#80 that does not change MSRV but requires developers using both `tokio` and `debug` to enable `tokio/rt-multi-thread`. This can also be done via the `debug_tokio` feature.

Close andrewhickman#55
schneems added a commit to schneems/fs-err that referenced this pull request Nov 7, 2025
Before:

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)
```

After (with `debug` feature):

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)

Path does not exist `file.txt`
- Absolute path `/path/to/dir/file.txt`
- Missing `file.txt` from parent directory:
  `/path/to/dir`
    └── `file.md`
    └── `different.txt`
```

Alternative to andrewhickman#80 that does not change MSRV but requires developers using both `tokio` and `debug` to enable `tokio/rt-multi-thread`. This can also be done via the `debug_tokio` feature.

Close andrewhickman#55
@schneems
Copy link
Copy Markdown
Contributor Author

schneems commented Nov 7, 2025

Closing in favor of #81 which does not change MSRV

@schneems schneems closed this Nov 7, 2025
schneems added a commit to schneems/fs-err that referenced this pull request Nov 7, 2025
Before:

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)
```

After (with `debug` feature):

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)

Path does not exist `file.txt`
- Absolute path `/path/to/dir/file.txt`
- Missing `file.txt` from parent directory:
  `/path/to/dir`
    └── `file.md`
    └── `different.txt`
```

Alternative to andrewhickman#80 that does not change MSRV but requires developers using both `tokio` and `debug` to enable `tokio/rt-multi-thread`. This can also be done via the `debug_tokio` feature.

Close andrewhickman#55
schneems added a commit to schneems/fs-err that referenced this pull request Nov 7, 2025
Before:

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)
```

After (with `debug` feature):

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)

Path does not exist `file.txt`
- Absolute path `/path/to/dir/file.txt`
- Missing `file.txt` from parent directory:
  `/path/to/dir`
    └── `file.md`
    └── `different.txt`
```

Alternative to andrewhickman#80 that does not change MSRV but requires developers using both `tokio` and `debug` to enable `tokio/rt-multi-thread`. This can also be done via the `debug_tokio` feature.

Close andrewhickman#55
schneems added a commit to schneems/fs-err that referenced this pull request Nov 8, 2025
Before:

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)
```

After (with `debug` feature):

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)

Path does not exist `file.txt`
- Absolute path `/path/to/dir/file.txt`
- Missing `file.txt` from parent directory:
  `/path/to/dir`
    └── `file.md`
    └── `different.txt`
```

Alternative to andrewhickman#80 that does not change MSRV but requires developers using both `tokio` and `debug` to enable `tokio/rt-multi-thread`. This can also be done via the `debug_tokio` feature.

Close andrewhickman#55
andrewhickman pushed a commit that referenced this pull request Nov 15, 2025
Before:

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)
```

After (with `debug` feature):

```
failed to open file `file.txt`: The system cannot find the file specified. (os error 2)

Path does not exist `file.txt`
- Absolute path `/path/to/dir/file.txt`
- Missing `file.txt` from parent directory:
  `/path/to/dir`
    └── `file.md`
    └── `different.txt`
```

Alternative to #80 that does not change MSRV but requires developers using both `tokio` and `debug` to enable `tokio/rt-multi-thread`. This can also be done via the `debug_tokio` feature.

Close #55
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.

Feature request: Would like a way to toggle on more information

1 participant