kanidm / webauthn-rs

An implementation of webauthn components for Rustlang servers
Mozilla Public License 2.0
488 stars 80 forks source link

Revert "Feature/configurable timeout" #391

Closed micolous closed 10 months ago

micolous commented 10 months ago

Reverts kanidm/webauthn-rs#385

This broke the documentation build on Rust stable:

  Documenting webauthn-attestation-ca v0.1.0 (/home/runner/work/webauthn-rs/webauthn-rs/attestation-ca)
error: unresolved link to `webauthn_rs_core::constants::DEFAULT_AUTHENTICATOR_TIMEOUT`
   --> webauthn-rs/src/lib.rs:323:34
    |
323 |     /// If not set, defaults to [webauthn_rs_core::constants::DEFAULT_AUTHENTICATOR_TIMEOUT].
    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `constants` in module `webauthn_rs_core`
    |
note: the lint level is defined here
   --> webauthn-rs/src/lib.rs:170:9
    |
170 | #![deny(warnings)]
    |         ^^^^^^^^
    = note: `#[deny(rustdoc::broken_intra_doc_links)]` implied by `#[deny(warnings)]`

error: could not document `webauthn-rs`

webauthn_rs_core::constants is not public, so you can't reference it in webauthn-rs.

nightly issues will be addressed in a follow-up, they're related to a change a made a while ago.