trait-kit 0.1.0

Module Standard Interface and Capability Management Center — A lightweight Rust library that provides a standard interface for module definition and Kit capability management.
Documentation
error[E0277]: `(dyn NotSendSync + 'static)` cannot be shared between threads safely
  --> tests/ui/capability_not_send_sync.rs:14:23
   |
14 |     type Capability = dyn NotSendSync; // WRONG: NotSendSync does not implement Send+Sync
   |                       ^^^^^^^^^^^^^^^ `(dyn NotSendSync + 'static)` cannot be shared between threads safely
   |
   = help: the trait `Sync` is not implemented for `(dyn NotSendSync + 'static)`
note: required by a bound in `trait_kit::core::CapabilityKey::Capability`
  --> src/core/capability.rs
   |
   |     type Capability: ?Sized + Send + Sync + 'static;
   |                                      ^^^^ required by this bound in `CapabilityKey::Capability`

error[E0277]: `(dyn NotSendSync + 'static)` cannot be sent between threads safely
  --> tests/ui/capability_not_send_sync.rs:14:23
   |
14 |     type Capability = dyn NotSendSync; // WRONG: NotSendSync does not implement Send+Sync
   |                       ^^^^^^^^^^^^^^^ `(dyn NotSendSync + 'static)` cannot be sent between threads safely
   |
   = help: the trait `Send` is not implemented for `(dyn NotSendSync + 'static)`
note: required by a bound in `trait_kit::core::CapabilityKey::Capability`
  --> src/core/capability.rs
   |
   |     type Capability: ?Sized + Send + Sync + 'static;
   |                               ^^^^ required by this bound in `CapabilityKey::Capability`