tikv/tikv

Utilize use_extern_macros

Open

#3,356 创建于 2018年7月26日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)Rust (15,922 star) (2,189 fork)batch import
difficulty/mediumhelp wanted

描述

Feature Request

Currently our macros are exported globally. We can make it modular by using the feature "use_extern_macros" so that unnecessary macros are not visible in the scope.

However there some commonly used macros, i.e. info!, warn!. We may create something like "common_macros.rs" and use ::common_macros::* so that it can be easy to use.

贡献者指南