I’m writing a custom derive that uses some standard but ugly hacks to avoid namespace collisions. However, those hacks are unnecessary in the 2018 edition. Is it possible, either from the proc macro or using #[cfg(...)] or something like that, to detect a) the compiler version and/or, b) the edition being used to compile the current crate so that I can do the nice thing for 2018?