Skip to content

Please increase the limitation of functions of struct. #2727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
piaoyh opened this issue Jan 21, 2025 · 1 comment
Closed

Please increase the limitation of functions of struct. #2727

piaoyh opened this issue Jan 21, 2025 · 1 comment

Comments

@piaoyh
Copy link

piaoyh commented Jan 21, 2025

Crate name

cryptocol

Build failure link

https://docs.rs/cryptocol/latest/cryptocol/number/big_uint/struct.BigUInt.html#struct.BigUInt

Requested RAM limit

No response

Requested timeout

No response

Requested number of targets

No response

Why your crate needs the resource increases

The server docs.rs keep failing in generating the page of BigUInt of the crate cryptocol.

I think I found the reason!

There must be the limitation of the number of public methods of struct when docs.rs generates each page.

SmallUInt is more than 50,000 lines but it's documentation was generated successfully at docs.rs while BigUInt has less than 30,000 lines (I moved a lot of the documentation to other files) but its documentation was still not generated at docs.rs. I found that BigUInt has 815 public methods while SmallUInt has 117 methods.

I think there must be function number limitation.
Please increase the limitation of allowed number of methods.

@syphar
Copy link
Member

syphar commented Jan 21, 2025

Hi,

there is no limit of functions on a struct in docs.rs.

I also don't know of any limit in rustdoc (which generates the HTML).

As already stated in #2676, this is not a docs.rs issue, but a rustdoc issue, which we are tracking in rust-lang/rust#134435.

@syphar syphar closed this as completed Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants