mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
chore(core): initial commit
This commit is contained in:
parent
8276f88df3
commit
69c4aab9f6
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -3,3 +3,7 @@
|
||||
[[package]]
|
||||
name = "sqlx"
|
||||
version = "0.6.0-pre"
|
||||
|
||||
[[package]]
|
||||
name = "sqlx-core"
|
||||
version = "0.6.0-pre"
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
[workspace]
|
||||
default-members = ["sqlx"]
|
||||
members = [
|
||||
"sqlx-core",
|
||||
"sqlx",
|
||||
]
|
||||
|
||||
13
sqlx-core/Cargo.toml
Normal file
13
sqlx-core/Cargo.toml
Normal file
@ -0,0 +1,13 @@
|
||||
[package]
|
||||
name = "sqlx-core"
|
||||
version = "0.6.0-pre"
|
||||
repository = "https://github.com/launchbadge/sqlx"
|
||||
description = "Core of SQLx, the Rust SQL Toolkit."
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2018"
|
||||
readme = "README.md"
|
||||
keywords = [ ]
|
||||
categories = [ ]
|
||||
authors = [
|
||||
"LaunchBadge <contact@launchbadge.com>"
|
||||
]
|
||||
18
sqlx-core/src/lib.rs
Normal file
18
sqlx-core/src/lib.rs
Normal file
@ -0,0 +1,18 @@
|
||||
//! SQLx Core (`sqlx-core`) is the core set of traits and types that are used and implemented for each
|
||||
//! database driver (`sqlx-postgres`, `sqlx-mysql`, etc.).
|
||||
//!
|
||||
#![deny(unsafe_code)]
|
||||
#![warn(rust_2018_idioms)]
|
||||
#![warn(future_incompatible)]
|
||||
#![warn(clippy::pedantic)]
|
||||
#![warn(clippy::cargo_common_metadata)]
|
||||
#![warn(clippy::multiple_crate_versions)]
|
||||
#![warn(clippy::cognitive_complexity)]
|
||||
#![warn(clippy::future_not_send)]
|
||||
#![warn(clippy::missing_const_for_fn)]
|
||||
#![warn(clippy::needless_borrow)]
|
||||
#![warn(clippy::redundant_pub_crate)]
|
||||
#![warn(clippy::string_lit_as_bytes)]
|
||||
#![warn(clippy::use_self)]
|
||||
#![warn(clippy::useless_let_if_seq)]
|
||||
#![allow(clippy::clippy::doc_markdown)]
|
||||
Loading…
x
Reference in New Issue
Block a user