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

improve: derive more #80

Closed
wants to merge 2 commits into from
Closed

improve: derive more #80

wants to merge 2 commits into from

Conversation

GopherJ
Copy link
Contributor

@GopherJ GopherJ commented Dec 5, 2020

Signed-off-by: Cheng JIANG alex_cj96@foxmail.com

close: #79

Signed-off-by: Cheng JIANG <alex_cj96@foxmail.com>
@GopherJ
Copy link
Contributor Author

GopherJ commented Dec 5, 2020

derive Default will make it possible to write:

let mut p = Personalization::default();
p.add_to(...)

which eventually fixes #79

@GopherJ
Copy link
Contributor Author

GopherJ commented Dec 10, 2020

@gsquire hi could you have a look, thanks

@gsquire
Copy link
Owner

gsquire commented Dec 10, 2020

Hey, @GopherJ. I am currently moving out of state so it'll be a little while before I can review. I'm sorry for the delay!

Copy link
Owner

@gsquire gsquire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry this sat for a bit. I should be able to respond much quicker now after the new year. Just one minor comment and then we can land this.


[dev-dependencies]
tokio = { version = "0.3", features = ["full"] }

[features]
default = ["native-tls", "blocking"]
default = ["native-tls", "async"]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should leave the blocking option as default and let people opt into using async.

Also, is there any way to undo the formatting that changed here?

@gsquire
Copy link
Owner

gsquire commented Sep 4, 2024

Closing, see #79 (comment).

@gsquire gsquire closed this Sep 4, 2024
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.

Personalization requires at least one email which isn't convenient
2 participants