You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.2 KiB
46 lines
1.2 KiB
[package]
|
|
name = "barrel"
|
|
version = "0.6.6-alpha.0"
|
|
|
|
description = "A powerful schema migration building API for Rust"
|
|
authors = ["Katharina Fey <kookie@spacekookie.de>", "Rob Rowe <rippinrobr@gmail.com>"]
|
|
license = "MIT/X11 OR Apache-2.0"
|
|
edition = "2018"
|
|
|
|
readme = "README.md"
|
|
repository = "https://github.com/rust-db/barrel"
|
|
homepage = "https://rust-db.github.io/barrel"
|
|
documentation = "https://docs.rs/barrel"
|
|
|
|
categories = [ "database", "development-tools"]
|
|
keywords = ["sql", "database", "schema", "migration"]
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
# We can't build documentation with the `diesel` flag enabled
|
|
# because then the project no longer builds.
|
|
features = ["mysql", "sqlite3", "pg", "unstable"]
|
|
|
|
[[example]]
|
|
name = "pg_strings"
|
|
required-features = ["pg"]
|
|
|
|
[[example]]
|
|
name = "sqlite_strings"
|
|
required-features = ["sqlite3"]
|
|
|
|
[features]
|
|
default = []
|
|
diesel = ["tempfile", "diesel_rs"]
|
|
sqlite3 = []
|
|
mysql = []
|
|
pg = []
|
|
|
|
# Enables unstable (in-development) features,
|
|
# even for stable version upgrades
|
|
unstable = []
|
|
|
|
|
|
[dependencies]
|
|
tempfile = { version = "3", optional = true }
|
|
diesel_rs = { version = ">= 1.2, < 2.0", package = "diesel", default_features = false, optional = true }
|
|
|