Rename to Project Mentat (src).
This commit is contained in:
parent
7f3347981c
commit
7a4c75ba44
1 changed files with 5 additions and 5 deletions
|
@ -8,18 +8,18 @@
|
||||||
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
||||||
// specific language governing permissions and limitations under the License.
|
// specific language governing permissions and limitations under the License.
|
||||||
|
|
||||||
extern crate datomish_query_parser;
|
extern crate mentat_query_parser;
|
||||||
extern crate rusqlite;
|
extern crate rusqlite;
|
||||||
|
|
||||||
use rusqlite::Connection;
|
use rusqlite::Connection;
|
||||||
|
|
||||||
pub fn get_name() -> String {
|
pub fn get_name() -> String {
|
||||||
return String::from("datomish");
|
return String::from("mentat");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Just an example of using a dependency
|
// Just an example of using a dependency
|
||||||
pub fn get_parser_name() -> String {
|
pub fn get_parser_name() -> String {
|
||||||
return datomish_query_parser::get_name();
|
return mentat_query_parser::get_name();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Will ultimately not return the sqlite connection directly
|
// Will ultimately not return the sqlite connection directly
|
||||||
|
@ -33,6 +33,6 @@ mod tests {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn can_import_parser() {
|
fn can_import_parser() {
|
||||||
assert_eq!(String::from("datomish-query-parser"), get_parser_name());
|
assert_eq!(String::from("mentat-query-parser"), get_parser_name());
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue