docs.rs failed to build email-address-parser-0.2.0-rc5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
email-address-parser-2.0.0
email-address-parser
An RFC 5322 compliant email address parser.
You can parse string for email address like this.
use EmailAddress;
let email = parse.unwrap;
assert_eq!;
assert_eq!;
For an input string that is an invalid email address, it returns None
.
use EmailAddress;
assert!;
To parse an email address with obsolete parts (as per RFC 5322) in it, pass None
as the second argument to have non-strict parsing.
let email = parse;
assert!;
Development
Build
- Only Rust
cargo build
- WASM
wasm-pack build --out-dir ../npm-pkg/dist/bundler wasm-pack build --target nodejs --out-dir ../npm-pkg/dist/cjs
Test
-
Only Rust
cargo test
-
WASM
wasm-pack test --node
Doc generation
cargo doc --no-deps --open
Publishing checklist
[] Update crate version and commit.
[] Add git tag with git tag -a v{TAG} -m "{MSG}"
.
[] Push tag git push --follow-tags
.