chris-morgan / anymap

A safe and convenient store for one value of each type
Other
329 stars 43 forks source link

`any` module is no longer public #44

Open DaughterOfMars opened 2 years ago

DaughterOfMars commented 2 years ago

In 1.0.0-beta.2, the any module is now private and only CloneAny is exported, meaning the Downcast trait is no longer visible.

soufianexmx commented 1 year ago

same here, couldn't use something like:

struct Event<T, Obs: Observable + Any + UncheckedAnyExt> {
    time: time::Time<T>,
    observables: Map<Obs>,
}