Rocket/core
Sergio Benitez dfca18d307 Generate 'uri!' macro names independently of span.
Prior to this commit, codegen used 'Span' information to generate a
unique id for a given route. This commit changes the id generation to
instead use 1) the route's name and path, 2) a an per-generation
atomically increasing ID, and 3) the ids of the process/thread the
proc-macro is running in. Together, these values should provide a unique
id for a given route, even in the face of the reused processes and
threads, while also removing the dependence on unstable Span features.

Fixes #1373.
2020-07-14 00:44:59 -07:00
..
codegen Generate 'uri!' macro names independently of span. 2020-07-14 00:44:59 -07:00
http Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00
lib Generate 'uri!' macro names independently of span. 2020-07-14 00:44:59 -07:00