-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support sending events without an
event:
field for the event name
The event field is optional in the specification, and adds overhead, which some applications do not want. Allow omitting it. To simplify use, accept the name as `impl Into<Option<&str>>`, which allows existing code that passes `"name"` to continue working. Since this can potentially cause an inference failure in code that previously compiled, bump the major version, but *most* code should continue working with just a recompile.
- Loading branch information
1 parent
8e5add4
commit f52512c
Showing
3 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters