Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ matrix:
allow_failures:
- rust: nightly
include:
- rust: nightly-2018-04-19
- rust: nightly-2018-06-20
env: CLIPPY_AND_COMPILE_TESTS=YESPLEASE
script:
- (cd diesel && cargo rustc --no-default-features --features "lint sqlite postgres mysql extras" -- -Zno-trans)
Expand Down
2 changes: 1 addition & 1 deletion diesel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ categories = ["database"]
byteorder = "1.0"
diesel_derives = "~1.3.0"
chrono = { version = "0.4", optional = true }
clippy = { optional = true, version = "=0.0.195" }
clippy = { optional = true, version = "=0.0.209" }
libc = { version = "0.2.0", optional = true }
libsqlite3-sys = { version = ">=0.8.0, <0.10.0", optional = true, features = ["min_sqlite_version_3_7_16"] }
mysqlclient-sys = { version = ">=0.1.0, <0.3.0", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion diesel/src/pg/types/date_and_time/std_time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn usecs_to_duration(usecs_passed: u64) -> Duration {

fn duration_to_usecs(duration: Duration) -> u64 {
let seconds = duration.as_secs() * USEC_PER_SEC;
let subseconds = duration.subsec_nanos() / NANO_PER_USEC;
let subseconds = duration.subsec_micros();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems unrelated, but 👍 if it doesn't bump our stable version

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clippy complained about it ;)

seconds + u64::from(subseconds)
}

Expand Down
2 changes: 1 addition & 1 deletion diesel_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ path = "src/main.rs"
[dependencies]
chrono = "0.4"
clap = "2.27"
clippy = { optional = true, version = "=0.0.195" }
clippy = { optional = true, version = "=0.0.209" }
diesel = { version = "~1.3.0", default-features = false }
dotenv = ">=0.8, <0.11"
migrations_internals = "~1.3.0"
Expand Down
2 changes: 1 addition & 1 deletion diesel_derives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/diesel-rs/diesel/tree/master/diesel_derives"
[dependencies]
syn = { version = "0.13.0", features = ["full", "fold"] }
quote = "0.5.0"
clippy = { optional = true, version = "=0.0.195" }
clippy = { optional = true, version = "=0.0.209" }
proc-macro2 = "0.3.0"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion diesel_migrations/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ homepage = "http://diesel.rs"


[dependencies]
clippy = { optional = true, version = "=0.0.195" }
clippy = { optional = true, version = "=0.0.209" }
migrations_internals = "~1.3.0"
migrations_macros = "~1.3.0"

Expand Down
2 changes: 1 addition & 1 deletion diesel_migrations/migrations_internals/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description = "Internal implementation of diesels migration mechanism"
homepage = "http://diesel.rs"

[dependencies]
clippy = { optional = true, version = "=0.0.195" }
clippy = { optional = true, version = "=0.0.209" }
diesel = { version = "~1.3.0", default-features = false }
barrel = { version = "<= 0.2.0", optional = true, features = ["diesel-filled"] }

Expand Down
2 changes: 1 addition & 1 deletion diesel_migrations/migrations_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation = "http://docs.diesel.rs"
homepage = "http://diesel.rs"

[dependencies]
clippy = { optional = true, version = "=0.0.195" }
clippy = { optional = true, version = "=0.0.209" }
migrations_internals = "~1.3.0"
syn = { version = "0.11.4", features = ["aster"] }
quote = "0.3.12"
Expand Down