diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e43ce0e..3be3871 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,30 +61,3 @@ jobs: - uses: Swatinem/rust-cache@v1 - run: cargo build --tests - run: cargo test -- --nocapture --quiet - - publish-schemer: - uses: aschampion/gh-actions/.github/workflows/rust-publish.yml@v0 - needs: [test, lint] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/schemer-v') - secrets: inherit - with: - working-directory: schemer - tag-prefix: schemer - - publish-schemer-postgres: - uses: aschampion/gh-actions/.github/workflows/rust-publish.yml@v0 - needs: [test, lint] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/schemer-postgres-v') - secrets: inherit - with: - working-directory: schemer-postgres - tag-prefix: schemer-postgres - - publish-schemer-rusqlite: - uses: aschampion/gh-actions/.github/workflows/rust-publish.yml@v0 - needs: [test, lint] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/schemer-rusqlite-v') - secrets: inherit - with: - working-directory: schemer-rusqlite - tag-prefix: schemer-rusqlite diff --git a/Cargo.toml b/Cargo.toml index 1ccd193..931d0f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [workspace] resolver = "2" members = [ - "schemer", - "schemer-postgres", - "schemer-rusqlite", + "schemerz", + "schemerz-postgres", + "schemerz-rusqlite", ] diff --git a/LICENSE-MIT b/LICENSE-MIT index f2746fd..6701e20 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT @@ -1,4 +1,5 @@ -Copyright (c) 2017 Andrew S. Champion +Copyright (c) 2024 The Electric Coin Company +Copyright (c) 2017-2024 Andrew S. Champion Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 85a1cb2..fcdabbc 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -# Schemer [![Build Status](https://github.com/aschampion/schemer/actions/workflows/ci.yml/badge.svg)](https://github.com/aschampion/schemer/actions/workflows/ci.yml/) +# Schemerz [![Build Status](https://github.com/zcash/schemerz/actions/workflows/ci.yml/badge.svg)](https://github.com/zcash/schemerz/actions/workflows/ci.yml/) -Schemer is a database schema migration library for Rust that supports directed acyclic graph (DAG) dependencies between migrations. It currently has adapters for the following databases: +Schemerz is a database schema migration library for Rust that supports directed acyclic graph (DAG) dependencies between migrations. It currently has adapters for the following databases: -- PostgreSQL: [schemer-postgres](https://crates.io/crates/schemer-postgres) -- SQLite: [schemer-rusqlite](https://crates.io/crates/schemer-rusqlite) +- PostgreSQL: [schemerz-postgres](https://crates.io/crates/schemerz-postgres) +- SQLite: [schemerz-rusqlite](https://crates.io/crates/schemerz-rusqlite) Other Rust schema migration libraries to consider if you do not require DAG migration dependencies: -- [schemamama](https://crates.io/crates/schemamama) (recommended -- this is the basis for Schemer's API) +- [schemamama](https://crates.io/crates/schemamama) (recommended -- this is the basis for Schemerz's API) - [dbmigrate](https://crates.io/crates/dbmigrate) - [migrant](https://crates.io/crates/migrant) @@ -19,6 +19,12 @@ Version bumping (including changelog release section versioning) is handled by [ cargo release --workspace minor ``` +## Acknowledgements + +Schemerz started as a fork of the [`schemer`](https://crates.io/crates/schemer) crate by +Andrew Champion. The name "Schemerz" is a nod to its origin, as well as a play on the +German word "Schmerz" meaning "pain" (which aptly describes database migrations). + ## License Licensed under either of diff --git a/release.toml b/release.toml index 58dd274..fe04ff4 100644 --- a/release.toml +++ b/release.toml @@ -5,5 +5,5 @@ pre-release-replacements = [ {file="CHANGELOG.md", search="\\[Unreleased\\]", replace="[{{version}}]", min=1}, {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1}, {file="CHANGELOG.md", search="", replace="\n## [Unreleased]\n\n", exactly=1}, - {file="CHANGELOG.md", search="", replace="\n[Unreleased]: https://github.com/aschampion/schemer/compare/{{tag_name}}...HEAD", exactly=1}, + {file="CHANGELOG.md", search="", replace="\n[Unreleased]: https://github.com/zcash/schemerz/compare/{{tag_name}}...HEAD", exactly=1}, ] diff --git a/schemer-postgres/CHANGELOG.md b/schemer-postgres/CHANGELOG.md deleted file mode 100644 index 41e5f4e..0000000 --- a/schemer-postgres/CHANGELOG.md +++ /dev/null @@ -1,21 +0,0 @@ -# Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - - - -## [Unreleased] -### Changed -- Updated MSRV from 1.56 to 1.59. - -## [0.2.0] - 2022-08-19 -### Changed -- Migrated error handling from `failure` to `thiserror`. -- Updated crate to Rust 2018 Edition. - - - -[Unreleased]: https://github.com/aschampion/schemer/compare/schemer-postgres-v0.2.0...HEAD -[0.2.0]: https://github.com/aschampion/schemer/compare/schemer-postgres=v0.1.1...schemer-postgres-v0.2.0 diff --git a/schemer-postgres/Cargo.toml b/schemer-postgres/Cargo.toml deleted file mode 100644 index 80cec80..0000000 --- a/schemer-postgres/Cargo.toml +++ /dev/null @@ -1,18 +0,0 @@ -[package] -name = "schemer-postgres" -version = "0.2.0" -edition = "2021" -rust-version = "1.59" -authors = ["Andrew Champion "] -description = "PostgreSQL adapter for the Schemer database schema migration library" -readme = "../README.md" -keywords = ["database", "migration", "postgresql", "sql"] -categories = ["database"] -license = "MIT/Apache-2.0" -repository = "https://github.com/aschampion/schemer" - -[dependencies] -postgres = { version = "0.19", features = ["with-uuid-1"] } -uuid = { version = "1" } - -schemer = { version = "0.2", path = "../schemer" } diff --git a/schemer-rusqlite/CHANGELOG.md b/schemer-rusqlite/CHANGELOG.md deleted file mode 100644 index 112b01e..0000000 --- a/schemer-rusqlite/CHANGELOG.md +++ /dev/null @@ -1,31 +0,0 @@ -# Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - - - -## [Unreleased] - - -## [0.2.2] - 2023-04-18 -### Changed -- Updated MSRV from 1.56 to 1.59. - -## [0.2.1] - 2022-11-08 -### Changed -- Updated minimum rusqlite from 0.24 to 0.25. - -## [0.2.0] - 2022-08-19 -### Changed -- `RusqliteAdapter` is now generic over an error type `E` so that migrations can return error types other than `rusqlite::Error`. -- Migrated error handling from `failure` to `thiserror`. -- Updated crate to Rust 2018 Edition. - - - -[Unreleased]: https://github.com/aschampion/schemer/compare/schemer-rusqlite-v0.2.2...HEAD -[0.2.2]: https://github.com/aschampion/schemer/compare/schemer-rusqlite-v0.2.1...schemer-rusqlite-v0.2.2" -[0.2.1]: https://github.com/aschampion/schemer/compare/schemer-rusqlite-v0.2.0...schemer-rusqlite-v0.2.1 -[0.2.0]: https://github.com/aschampion/schemer/compare/schemer-rusqlite=v0.1.0...schemer-rusqlite-v0.2.0 diff --git a/schemer-rusqlite/Cargo.toml b/schemer-rusqlite/Cargo.toml deleted file mode 100644 index aea38f6..0000000 --- a/schemer-rusqlite/Cargo.toml +++ /dev/null @@ -1,18 +0,0 @@ -[package] -name = "schemer-rusqlite" -version = "0.2.2" -edition = "2021" -rust-version = "1.59" -authors = ["Andrew Champion "] -description = "SQLite3 adapter for the Schemer database schema migration library " -readme = "../README.md" -keywords = ["database", "migration", "sqlite", "sql"] -categories = ["database"] -license = "MIT/Apache-2.0" -repository = "https://github.com/aschampion/schemer" - -[dependencies] -uuid = { version = "1" } -rusqlite = "0.29.0" - -schemer = { version = "0.2.1", path = "../schemer" } diff --git a/schemer/CHANGELOG.md b/schemer/CHANGELOG.md deleted file mode 100644 index 1051d09..0000000 --- a/schemer/CHANGELOG.md +++ /dev/null @@ -1,26 +0,0 @@ -# Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - - - -## [Unreleased] -### Changed -- Updated MSRV from 1.56 to 1.59. - -## [0.2.1] - 2022-11-17 -### Changed -- Updated minimum daggy from 0.6 to 0.8. - -## [0.2.0] - 2022-08-19 -### Changed -- Migrated error handling from `failure` to `thiserror`. -- Updated crate to Rust 2018 Edition. - - - -[Unreleased]: https://github.com/aschampion/schemer/compare/schemer-v0.2.1...HEAD" -[0.2.1]: https://github.com/aschampion/schemer/compare/schemer-v0.2.0...schemer-v0.2.1 -[0.2.0]: https://github.com/aschampion/schemer/compare/schemer=v0.1.2...schemer-v0.2.0 diff --git a/schemerz-postgres/CHANGELOG.md b/schemerz-postgres/CHANGELOG.md new file mode 100644 index 0000000..9910c8f --- /dev/null +++ b/schemerz-postgres/CHANGELOG.md @@ -0,0 +1,18 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this library adheres to Rust's notion of +[Semantic Versioning](https://semver.org/spec/v2.0.0.html). + + + +## [Unreleased] + +## [0.190.0] - 2024-10-15 +Initial release. The API is identical to `schemer-postgres 0.2.0`. + + + +[Unreleased]: https://github.com/zcash/schemerz/compare/schemerz-postgres-0.1.0...HEAD +[0.190.0]: https://github.com/zcash/schemerz/compare/1bfd952b035b87a39df955376e0bdddf98eb6c99...schemerz-postgres-0.1.0 diff --git a/schemerz-postgres/Cargo.toml b/schemerz-postgres/Cargo.toml new file mode 100644 index 0000000..6d861d8 --- /dev/null +++ b/schemerz-postgres/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "schemerz-postgres" +version = "0.190.0" +edition = "2021" +rust-version = "1.59" +authors = [ + "Jack Grigg ", + "Kris Nuttycombe ", +] +description = "PostgreSQL adapter for the Schemerz database schema migration library" +readme = "../README.md" +keywords = ["database", "migration", "postgresql", "sql"] +categories = ["database"] +license = "MIT/Apache-2.0" +repository = "https://github.com/zcash/schemerz" + +[dependencies] +postgres = { version = "0.19", features = ["with-uuid-1"] } +uuid = { version = "1" } + +schemerz = { version = "0.1", path = "../schemerz" } diff --git a/schemer-postgres/src/lib.rs b/schemerz-postgres/src/lib.rs similarity index 89% rename from schemer-postgres/src/lib.rs rename to schemerz-postgres/src/lib.rs index f1ad252..f757223 100644 --- a/schemer-postgres/src/lib.rs +++ b/schemerz-postgres/src/lib.rs @@ -1,4 +1,4 @@ -//! An adapter enabling use of the schemer schema migration library with +//! An adapter enabling use of the schemerz schema migration library with //! PostgreSQL. //! //! # Examples: @@ -6,15 +6,15 @@ //! ```rust //! extern crate postgres; //! #[macro_use] -//! extern crate schemer; -//! extern crate schemer_postgres; +//! extern crate schemerz; +//! extern crate schemerz_postgres; //! extern crate uuid; //! //! use std::collections::HashSet; //! //! use postgres::{Client, NoTls, Transaction}; -//! use schemer::{Migration, Migrator}; -//! use schemer_postgres::{PostgresAdapter, PostgresAdapterError, PostgresMigration}; +//! use schemerz::{Migration, Migrator}; +//! use schemerz_postgres::{PostgresAdapter, PostgresAdapterError, PostgresMigration}; //! use uuid::Uuid; //! //! struct MyExampleMigration; @@ -58,7 +58,7 @@ use std::collections::HashSet; use postgres::{Client, Error as PostgresError, Transaction}; use uuid::Uuid; -use schemer::{Adapter, Migration}; +use schemerz::{Adapter, Migration}; /// PostgreSQL-specific trait for schema migrations. pub trait PostgresMigration: Migration { @@ -75,28 +75,28 @@ pub trait PostgresMigration: Migration { pub type PostgresAdapterError = PostgresError; -/// Adapter between schemer and PostgreSQL. +/// Adapter between schemerz and PostgreSQL. pub struct PostgresAdapter<'a> { conn: &'a mut Client, migration_metadata_table: String, } impl<'a> PostgresAdapter<'a> { - /// Construct a PostgreSQL schemer adapter. + /// Construct a PostgreSQL schemerz adapter. /// - /// `table_name` specifies the name of the table that schemer will use + /// `table_name` specifies the name of the table that schemerz will use /// for storing metadata about applied migrations. If `None`, a default /// will be used. /// /// ```rust /// # extern crate postgres; - /// # extern crate schemer_postgres; + /// # extern crate schemerz_postgres; /// # /// # fn main() { /// let mut conn = postgres::Client::connect( /// "postgresql://postgres@localhost", /// postgres::NoTls).unwrap(); - /// let adapter = schemer_postgres::PostgresAdapter::new(&mut conn, None); + /// let adapter = schemerz_postgres::PostgresAdapter::new(&mut conn, None); /// # } /// ``` pub fn new(conn: &'a mut Client, table_name: Option) -> PostgresAdapter<'a> { @@ -106,7 +106,7 @@ impl<'a> PostgresAdapter<'a> { } } - /// Initialize the schemer metadata schema. This must be called before + /// Initialize the schemerz metadata schema. This must be called before /// using `Migrator` with this adapter. This is safe to call multiple times. pub fn init(&mut self) -> Result<(), PostgresError> { self.conn.execute( @@ -173,8 +173,8 @@ impl<'a> Adapter for PostgresAdapter<'a> { mod tests { use super::*; use postgres::NoTls; - use schemer::test_schemer_adapter; - use schemer::testing::*; + use schemerz::test_schemer_adapter; + use schemerz::testing::*; impl PostgresMigration for TestMigration {} diff --git a/schemerz-rusqlite/CHANGELOG.md b/schemerz-rusqlite/CHANGELOG.md new file mode 100644 index 0000000..9d280a4 --- /dev/null +++ b/schemerz-rusqlite/CHANGELOG.md @@ -0,0 +1,18 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this library adheres to Rust's notion of +[Semantic Versioning](https://semver.org/spec/v2.0.0.html). + + + +## [Unreleased] + +## [0.290.0] - 2024-10-15 +Initial release. The API is identical to `schemer-rusqlite 0.2.2`. + + + +[Unreleased]: https://github.com/zcash/schemerz/compare/schemerz-rusqlite-0.1.0...HEAD +[0.290.0]: https://github.com/zcash/schemerz/compare/1bfd952b035b87a39df955376e0bdddf98eb6c99...schemerz-rusqlite-0.1.0 diff --git a/schemerz-rusqlite/Cargo.toml b/schemerz-rusqlite/Cargo.toml new file mode 100644 index 0000000..9d0aa14 --- /dev/null +++ b/schemerz-rusqlite/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "schemerz-rusqlite" +version = "0.290.0" +edition = "2021" +rust-version = "1.59" +authors = [ + "Jack Grigg ", + "Kris Nuttycombe ", +] +description = "SQLite3 adapter for the Schemerz database schema migration library " +readme = "../README.md" +keywords = ["database", "migration", "sqlite", "sql"] +categories = ["database"] +license = "MIT/Apache-2.0" +repository = "https://github.com/zcash/schemerz" + +[dependencies] +uuid = { version = "1" } +rusqlite = "0.29.0" + +schemerz = { version = "0.1", path = "../schemerz" } diff --git a/schemer-rusqlite/src/lib.rs b/schemerz-rusqlite/src/lib.rs similarity index 90% rename from schemer-rusqlite/src/lib.rs rename to schemerz-rusqlite/src/lib.rs index b6e49c3..f44840c 100644 --- a/schemer-rusqlite/src/lib.rs +++ b/schemerz-rusqlite/src/lib.rs @@ -1,4 +1,4 @@ -//! An adapter enabling use of the schemer schema migration library with +//! An adapter enabling use of the schemerz schema migration library with //! SQLite3. //! //! # Examples: @@ -6,15 +6,15 @@ //! ```rust //! extern crate rusqlite; //! #[macro_use] -//! extern crate schemer; -//! extern crate schemer_rusqlite; +//! extern crate schemerz; +//! extern crate schemerz_rusqlite; //! extern crate uuid; //! //! use std::collections::HashSet; //! //! use rusqlite::{params, Connection, Transaction, Error as RusqliteError}; -//! use schemer::{Migration, Migrator}; -//! use schemer_rusqlite::{RusqliteAdapter, RusqliteAdapterError, RusqliteMigration}; +//! use schemerz::{Migration, Migrator}; +//! use schemerz_rusqlite::{RusqliteAdapter, RusqliteAdapterError, RusqliteMigration}; //! use uuid::Uuid; //! //! struct MyExampleMigration; @@ -59,7 +59,7 @@ use std::marker::{PhantomData, Send, Sync}; use rusqlite::{params, Connection, Error as RusqliteError, Transaction}; use uuid::Uuid; -use schemer::{Adapter, Migration}; +use schemerz::{Adapter, Migration}; /// SQlite-specific trait for schema migrations. pub trait RusqliteMigration: Migration { @@ -88,7 +88,7 @@ impl rusqlite::types::FromSql for WrappedUuid { } } -/// Adapter between schemer and SQLite. +/// Adapter between schemerz and SQLite. pub struct RusqliteAdapter<'a, E> { conn: &'a mut Connection, migration_metadata_table: String, @@ -96,9 +96,9 @@ pub struct RusqliteAdapter<'a, E> { } impl<'a, E> RusqliteAdapter<'a, E> { - /// Construct a SQLite schemer adapter. + /// Construct a SQLite schemerz adapter. /// - /// `table_name` specifies the name of the table that schemer will use + /// `table_name` specifies the name of the table that schemerz will use /// for storing metadata about applied migrations. If `None`, a default /// will be used. /// @@ -108,7 +108,7 @@ impl<'a, E> RusqliteAdapter<'a, E> { /// # /// # fn main() { /// let mut conn = rusqlite::Connection::open_in_memory().unwrap(); - /// let adapter: schemer_rusqlite::RusqliteAdapter = schemer_rusqlite::RusqliteAdapter::new(&mut conn, None); + /// let adapter: schemerz_rusqlite::RusqliteAdapter = schemerz_rusqlite::RusqliteAdapter::new(&mut conn, None); /// # } /// ``` pub fn new(conn: &'a mut Connection, table_name: Option) -> RusqliteAdapter<'a, E> { @@ -119,7 +119,7 @@ impl<'a, E> RusqliteAdapter<'a, E> { } } - /// Initialize the schemer metadata schema. This must be called before + /// Initialize the schemerz metadata schema. This must be called before /// using `Migrator` with this adapter. This is safe to call multiple times. pub fn init(&self) -> Result<(), RusqliteError> { self.conn.execute( @@ -194,8 +194,8 @@ impl<'a, E: From + Sync + Send + Error + 'static> Adapter mod tests { use super::*; use rusqlite::Error as RusqliteError; - use schemer::test_schemer_adapter; - use schemer::testing::*; + use schemerz::test_schemer_adapter; + use schemerz::testing::*; impl RusqliteMigration for TestMigration { type Error = RusqliteError; diff --git a/schemerz/CHANGELOG.md b/schemerz/CHANGELOG.md new file mode 100644 index 0000000..59f2bdf --- /dev/null +++ b/schemerz/CHANGELOG.md @@ -0,0 +1,18 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this library adheres to Rust's notion of +[Semantic Versioning](https://semver.org/spec/v2.0.0.html). + + + +## [Unreleased] + +## [0.1.0] - 2024-10-15 +Initial release. The API is identical to `schemer 0.2.1`. + + + +[Unreleased]: https://github.com/zcash/schemerz/compare/schemerz-0.1.0...HEAD +[0.1.0]: https://github.com/zcash/schemerz/compare/1bfd952b035b87a39df955376e0bdddf98eb6c99...schemerz-0.1.0 diff --git a/schemer/Cargo.toml b/schemerz/Cargo.toml similarity index 59% rename from schemer/Cargo.toml rename to schemerz/Cargo.toml index 8413e5b..a1f49cd 100644 --- a/schemer/Cargo.toml +++ b/schemerz/Cargo.toml @@ -1,19 +1,18 @@ [package] -name = "schemer" -version = "0.2.1" +name = "schemerz" +version = "0.1.0" edition = "2021" rust-version = "1.59" authors = [ - "Andrew Champion ", - "Tom Kazimiers ", - "Chris Barnes ", + "Jack Grigg ", + "Kris Nuttycombe ", ] description = "A database schema migration library with DAG dependencies" readme = "../README.md" keywords = ["database", "migration", "sql"] categories = ["database"] license = "MIT/Apache-2.0" -repository = "https://github.com/aschampion/schemer" +repository = "https://github.com/zcash/schemerz" [dependencies] daggy = "0.8" diff --git a/schemer/src/lib.rs b/schemerz/src/lib.rs similarity index 97% rename from schemer/src/lib.rs rename to schemerz/src/lib.rs index 7eb043c..ce81568 100644 --- a/schemer/src/lib.rs +++ b/schemerz/src/lib.rs @@ -4,8 +4,8 @@ //! To use with a specific database, an adapter is required. Known adapter //! crates: //! -//! - PostgreSQL: [`schemer-postgres`](https://crates.io/crates/schemer-postgres) -//! - SQLite: [`schemer-rusqlite`](https://crates.io/crates/schemer-rusqlite) +//! - PostgreSQL: [`schemerz-postgres`](https://crates.io/crates/schemerz-postgres) +//! - SQLite: [`schemerz-rusqlite`](https://crates.io/crates/schemerz-rusqlite) #![warn(clippy::all)] #![forbid(unsafe_code)] @@ -41,10 +41,10 @@ pub trait Migration { /// /// ```rust /// #[macro_use] -/// extern crate schemer; +/// extern crate schemerz; /// extern crate uuid; /// -/// use schemer::Migration; +/// use schemerz::Migration; /// /// struct ParentMigration; /// migration!( @@ -107,7 +107,7 @@ impl Display for MigrationDirection { } } -/// Trait necessary to adapt schemer's migration management to a stateful +/// Trait necessary to adapt schemerz's migration management to a stateful /// backend. pub trait Adapter { /// Type migrations must implement for this adapter. @@ -157,7 +157,7 @@ pub enum MigratorError { }, } -/// Primary schemer type for defining and applying migrations. +/// Primary schemerz type for defining and applying migrations. pub struct Migrator { adapter: T, dependencies: Dag, ()>, diff --git a/schemer/src/testing.rs b/schemerz/src/testing.rs similarity index 99% rename from schemer/src/testing.rs rename to schemerz/src/testing.rs index fb979f0..ce33dd6 100644 --- a/schemer/src/testing.rs +++ b/schemerz/src/testing.rs @@ -1,5 +1,5 @@ //! Test harness for applying a generic test suite to any backend-specific -//! schemer adapter. +//! schemerz adapter. use super::*; @@ -48,7 +48,7 @@ impl Migration for TestMigration { /// # Examples /// /// ```rust,ignore -/// #[macro_use] extern crate schemer; +/// #[macro_use] extern crate schemerz; /// /// fn construct_my_adapter_test_fixture() -> MyAdapterType { /// MyAdapterType {}