Skip to content

Commit

Permalink
Add documentation, homepage, repository to crates
Browse files Browse the repository at this point in the history
Those are also requirements for publishing

Signed-off-by: Ahmed Abdelraoof <ahmed.abdelraoof@huawei.com>
  • Loading branch information
oddcoder committed Aug 16, 2024
1 parent e288340 commit 1d52c5e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions safe-discriminant-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ license = "Apache-3.0"
keywords = ["no_std", "enums"]
description = """A minimalistic, `no_std` compatible trait and procedural macro \
for extracting discriminants from enums at zero cost.""""
documentation = "https://docs.rs/safe_discriminant_derive"
homepage = "https://docs.rs/safe_discriminant"
repository = "https://github.com/oddcoder/safe-discriminant"

[lib]
proc-macro = true

Expand Down
4 changes: 3 additions & 1 deletion safe-discriminant/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ license = "Apache-3.0"
keywords = ["no_std", "enums"]
description = """A minimalistic, `no_std` compatible trait and procedural macro \
for extracting discriminants from enums at zero cost.""""

documentation = "https://docs.rs/safe_discriminant"
homepage = "https://docs.rs/safe_discriminant"
repository = "https://github.com/oddcoder/safe-discriminant"
[dependencies]
safe-discriminant-derive = {workspace = true}

Expand Down

0 comments on commit 1d52c5e

Please sign in to comment.