-
Notifications
You must be signed in to change notification settings - Fork 29
/
Cargo.toml
42 lines (37 loc) · 1.03 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "rsgen-avro"
version = "0.15.3"
authors = ["Romain Leroux <[email protected]>"]
edition = "2021"
description = "Command line and library for generating Rust types from Avro schemas"
keywords = ["avro", "code-generation", "serde"]
repository = "https://github.com/lerouxrgd/rsgen-avro"
license = "MIT"
readme = "README.md"
[dependencies]
apache-avro = { version = "0.17", features = ["derive"] }
clap = { version = "4", features = ["derive"], optional = true }
glob = "0.3"
heck = "0.5"
lazy_static = "1"
serde = { version = "1", features = ["serde_derive"] }
serde_json = "1"
tempfile = "3"
tera = { version = "1", default-features = false }
thiserror = "1"
[dev-dependencies]
chrono = { version = "0.4", default-features = false, features = ["serde"] }
derive_builder = "0.20"
pretty_assertions = "1"
tempfile = "3"
[profile.release]
opt-level = "z" # Optimize for size.
lto = true
codegen-units = 1
strip = true
[features]
full = ["build-cli"]
build-cli = ["dep:clap"]
[[bin]]
name = "rsgen-avro"
required-features = ["build-cli"]