break sp-api dependency cycle (#4352)

* move benches into tests, ignore non-passing doctests

* Rename sr-api folder

* Move test-primitives to primitives, use that for sp-api doctests
This commit is contained in:
Benjamin Kampmann
2019-12-10 20:18:01 +01:00
committed by Bastian Köcher
parent f6f0f1cc16
commit 8721d98dd6
71 changed files with 62 additions and 60 deletions
@@ -0,0 +1,9 @@
use sp_runtime::traits::Block as BlockT;
sp_api::decl_runtime_apis! {
pub trait Api<Block: BlockT> {
fn test();
}
}
fn main() {}