rust-lang / docs.rs

crates.io documentation generator
https://docs.rs
MIT License
956 stars 193 forks source link

drop length limitation for crate name & version #2510

Closed syphar closed 1 week ago

syphar commented 1 month ago

this fixes this sentry error:

error trying to add rraaaaaaaaaaaaaaah-0.8.1+dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddexecrmrfzstd.1.5.0 to build queue

Error db error: ERROR: value too long for type character varying(100)

From what I see, crates.io uses a plain VARCHAR without any length restrictions, I don't see why we can't do the same.

sentry-io[bot] commented 1 month ago

Sentry Issue: DOCS-RS-BACKEND-AC

syphar commented 1 week ago

r? @GuillaumeGomez

GuillaumeGomez commented 1 week ago

Can you add a test please?

syphar commented 1 week ago

Can you add a test please?

done

GuillaumeGomez commented 1 week ago

Please merge once clippy is happy.