# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "onechatsocial-permissions" version = "0.6.16" authors = ["Paul Makles "] description = "Revolt Backend: Permission Logic" license = "AGPL-3.0-or-later" [dependencies.async-trait] version = "0.1.51" [dependencies.auto_ops] version = "0.3.0" [dependencies.bson] version = "2.1.0" optional = true [dependencies.num_enum] version = "0.6.1" optional = true [dependencies.once_cell] version = "1.17" [dependencies.onechatsocial-result] version = "0.6.16" [dependencies.schemars] version = "0.8.8" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dev-dependencies.async-std] version = "1.8.0" features = ["attributes"] [features] bson = ["dep:bson"] schemas = ["dep:schemars"] serde = ["dep:serde"] try-from-primitive = ["dep:num_enum"]