Cargo.toml 555 B

1234567891011121314151617181920212223
  1. [package]
  2. name = "simple-rw-global"
  3. version = "0.5.0"
  4. edition = "2021"
  5. authors = ["ZRY <admin@>z-touhou.org"]
  6. description = "Simple GlobalContainer based on std::sync::RwLock."
  7. readme = "README.md"
  8. repository = "https://git.swzry.com/zry/simple-rw-global"
  9. homepage = "https://git.swzry.com/zry/simple-rw-global"
  10. license = "MIT"
  11. [features]
  12. default = ["stdsync"]
  13. stdsync=[]
  14. tokio=["dep:tokio"]
  15. [dependencies]
  16. tokio = { version="1.28.0", optional=true, features=["sync"] }
  17. [package.metadata.docs.rs]
  18. all-features = true
  19. rustdoc-args = ["--cfg", "docsrs"]