# 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 = "2018" name = "yaml-adapter" version = "1.0.0" authors = ["closetool <4closetool3@gmail.com>"] description = "a adapter which reads yaml format policy file for casbin repo" homepage = "https://github.com/casbin-rs/yaml-adapter" readme = "README.md" license-file = "LICENSE" repository = "https://github.com/casbin-rs/yaml-adapter" [dependencies.async-std] version = "1.6.4" optional = true default-features = false [dependencies.async-trait] version = "0.1.40" [dependencies.casbin] version = "2.0" default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_yaml] version = "0.8" [dependencies.tokio] version = "1.36.0" optional = true default-features = false [dev-dependencies.async-std] version = "1.6.4" features = ["attributes"] [dev-dependencies.tokio] version = "1.36.0" features = ["full"] [features] default = ["runtime-async-std"] runtime-async-std = [ "casbin/runtime-async-std", "async-std", ] runtime-tokio = [ "casbin/runtime-tokio", "tokio/fs", "tokio/io-util", ]