Skip to main content

Crate closure_tree

Crate closure_tree 

Source
Expand description

SeaORM-centric closure tree implementation.

This crate mirrors the behaviour of the Ruby closure_tree gem while exposing an asynchronous API that composes with SeaORM entities. At this stage the implementation focuses on PostgreSQL support; the public API is kept backend agnostic so MySQL can follow.

Re-exports§

pub use config::AdvisoryLockKey;
pub use config::AdvisoryLockStrategy;
pub use config::ClosureTreeConfig;
pub use config::ClosureTreeOptions;
pub use config::DependentBehavior;
pub use config::OrderStrategy;
pub use error::ClosureTreeError;
pub use repository::ClosureTreeRepository;
pub use traits::ClosureTreeModel;

Modules§

config
error
lock
prelude
Convenient re-exports for consumers.
repository
traits

Derive Macros§

ClosureTreeModelDerive