Rocket/core/codegen
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
..
src Generate 'uri!' macro names independently of span. 2020-07-14 00:44:59 -07:00
tests Rename 'FromDataSimple' to 'FromData'. Make async. 2020-07-12 02:23:00 -07:00
Cargo.toml Remove unnecessary 'dev-dependencies'. 2020-07-11 11:27:23 -07:00
build.rs Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00