# 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 = "pagination" version = "0.3.0" authors = ["qingcheng "] description = "a pagination lib for web and database" homepage = "https://github.com/elexing/pagination" documentation = "https://github.com/elexing/pagination" readme = "README.md" keywords = [ "page", "pagination", "database", ] categories = [ "data-structures", "web-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/elexing/pagination.git" [dependencies.cfg-if] version = "0.1" [dependencies.serde] version = "^1.0" optional = true [dependencies.serde_derive] version = "^1.0" optional = true [dev-dependencies.serde_json] version = "^1.0" [features] default = ["page-size-20"] page-size-10 = [] page-size-15 = [] page-size-20 = [] page-size-30 = [] page-size-40 = [] page-size-5 = [] page-size-50 = [] with-serde = [ "serde", "serde_derive", ]