Skip to content

Commit

Permalink
Fix soroban-auth testutils docs (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Oct 25, 2022
1 parent f557688 commit 617fe58
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions soroban-auth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ version = "0.1.1"
edition = "2021"
rust-version = "1.64"

[lib]
doctest = false

[features]
testutils = ["soroban-sdk/testutils", "dep:ed25519-dalek", "dep:rand"]
docs = []

[dependencies]
soroban-sdk = "0.1.0"
Expand All @@ -24,3 +28,6 @@ rand = { version = "0.7.3", optional = true }
soroban-sdk = { version = "0.1.0", features = ["testutils"] }
ed25519-dalek = { version = "1.0.1" }
rand = { version = "0.7.3" }

[package.metadata.docs.rs]
all-features = true
1 change: 1 addition & 0 deletions soroban-auth/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
//! provide their own mechanism suitable for replay prevention that prevents
//! contract invocations to be replayable if it is important they are not.**
#![no_std]
#![cfg_attr(feature = "docs", feature(doc_cfg))]

mod tests;

Expand Down

0 comments on commit 617fe58

Please sign in to comment.