# 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 = "stapifaction" version = "0.1.0" authors = ["leruaa"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Library allowing to easily generate static APIs." homepage = "https://github.com/stapifaction/stapifaction" readme = "README.md" keywords = [ "serde", "api", ] categories = [ "data-structures", "filesystem", ] license = "MIT" repository = "https://github.com/stapifaction/stapifaction" [package.metadata.docs.rs] all-features = true [lib] name = "stapifaction" path = "src/lib.rs" [[example]] name = "basic" path = "examples/basic.rs" doc-scrape-examples = true required-features = ["json"] [[example]] name = "collection" path = "examples/collection.rs" doc-scrape-examples = true required-features = ["json"] [[test]] name = "main" path = "tests/main.rs" [dependencies.erased-serde] version = "0.4" [dependencies.eyre] version = "0.6" [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" optional = true [dependencies.stapifaction_derive] version = "0.1" optional = true [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" [features] default = ["derive"] derive = ["dep:stapifaction_derive"] json = ["dep:serde_json"]