# 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 = "rsgen-avro" version = "0.15.3" authors = ["Romain Leroux "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Command line and library for generating Rust types from Avro schemas" readme = "README.md" keywords = [ "avro", "code-generation", "serde", ] license = "MIT" repository = "https://github.com/lerouxrgd/rsgen-avro" [profile.release] opt-level = "z" lto = true codegen-units = 1 strip = true [lib] name = "rsgen_avro" path = "src/lib.rs" [[bin]] name = "rsgen-avro" path = "src/main.rs" required-features = ["build-cli"] [[test]] name = "generation" path = "tests/generation.rs" [[test]] name = "invalid" path = "tests/invalid.rs" [[test]] name = "nullable" path = "tests/nullable.rs" [[test]] name = "serde" path = "tests/serde.rs" [dependencies.apache-avro] version = "0.17" features = ["derive"] [dependencies.clap] version = "4" features = ["derive"] optional = true [dependencies.glob] version = "0.3" [dependencies.heck] version = "0.5" [dependencies.lazy_static] version = "1" [dependencies.serde] version = "1" features = ["serde_derive"] [dependencies.serde_json] version = "1" [dependencies.tempfile] version = "3" [dependencies.tera] version = "1" default-features = false [dependencies.thiserror] version = "1" [dev-dependencies.chrono] version = "0.4" features = ["serde"] default-features = false [dev-dependencies.derive_builder] version = "0.20" [dev-dependencies.pretty_assertions] version = "1" [dev-dependencies.tempfile] version = "3" [features] build-cli = ["dep:clap"] full = ["build-cli"]