Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add provider traits to all runtime components (#77)
* Add provider Sleeper trait for CanSleep * Group runtime components in tokio-runtime-components crate * Prototype on forwarding all components without violating orphan rules * Use new cgp-component crate for auto implementing delegation marker traits * Remove ToBeDelegated trait * Add provider trait for HasMutex * Add provider trait for HasStreamType * Add provider trait for CanRunConcurrentTasks with parallel runner impl * Add concurrent task runner * Add concurrent runtime component graph separately from parallel version * Add provider trait for stream mapper * Introduce new async-runtime-components crate and move non-tokio components there * Move subscription constructs to async-runtime-components * Slightly organize stream and task modules * Move mutex component to async-runtime-components * Add provider trait for HasTime * Add provider trait for HasChannelTypes * Add provider trait for CanUseChannels * Add provider trait for CanStreamReceiver * Add provider trait for CanCloneSender * Remove ibc-relayer-subscription crate * Add non-Tokio version of channel types * Use non-tokio version of channel type * Add provider trait for channel-once types * Reorganize channel modules * Add provider trait for task spawner * Add back Tokio channel impl. Somehow futures channel is not working * Fix errors * Fix error handling in futures version of receiver
- Loading branch information