Skip to content

Fix debug_tokio feature to work as documented#92

Open
schneems wants to merge 1 commit into
andrewhickman:mainfrom
schneems:schneems/fix-async-debug
Open

Fix debug_tokio feature to work as documented#92
schneems wants to merge 1 commit into
andrewhickman:mainfrom
schneems:schneems/fix-async-debug

Conversation

@schneems

Copy link
Copy Markdown
Contributor

From the docs:

	To use with the `tokio` feature, use `debug_tokio`:

	```toml
	[dependencies]
	fs-err = { features = ["debug_tokio", "tokio"] }
	```

However, using the features shown would not add debug output while using fs-err + tokio. The problem is that internally, the logic is feature-flagged based on debug. The solution is to have debug_tokio depend on the debug feature rather than path_facts.

close #91

From the docs:

		To use with the `tokio` feature, use `debug_tokio`:

		```toml
		[dependencies]
		fs-err = { features = ["debug_tokio", "tokio"] }
		```

However, using the features shown would not add debug output while using fs-err + tokio. The problem is that internally, the logic is feature-flagged based on `debug`. The solution is to have `debug_tokio` depend on the `debug` feature rather than `path_facts`.

close andrewhickman#91
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.

Following docs for debug_tokio doesn't add debug output

1 participant