aboutsummaryrefslogtreecommitdiff
path: root/development/libs/barrel/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'development/libs/barrel/Cargo.toml')
-rw-r--r--development/libs/barrel/Cargo.toml46
1 files changed, 46 insertions, 0 deletions
diff --git a/development/libs/barrel/Cargo.toml b/development/libs/barrel/Cargo.toml
new file mode 100644
index 000000000000..3662add903d8
--- /dev/null
+++ b/development/libs/barrel/Cargo.toml
@@ -0,0 +1,46 @@
+[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 }