tikv/tikv

Utilize use_extern_macros

开放

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

 (2 条评论) (1 个反应) (0 位负责人)Rust (2,189 个派生)batch import
difficulty/mediumhelp wanted

仓库指标

星标
 (15,922 个星标)
PR 合并指标
 (平均合并 28天 9小时) (30 天内合并 68 个 PR)

描述

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.

贡献者指南