Skip to content

Commit c1e4f63

Browse files
committed
Make uuid default on and rename it
1 parent 6ba926d commit c1e4f63

7 files changed

Lines changed: 396 additions & 393 deletions

File tree

.travis.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
language: rust
2-
env:
3-
global:
4-
- secure: Dl8GH7HCtwf0iG0EiBlQprZ5wQ7Wz8lfsMGxCSfTCjWoCbYK5+B5xuPnSaj8UYbrbXHmaZms23kSc5ZgQixuKs3zMCRDuEX1safT+t3AlhY/5/T3uyUWd1bv2Brw4TZg7M0Dubsu+3+3jNcDYv6vp+YWUNlKUcxjcX4EPrY0FKI=
52
matrix:
63
- FEATURES=""
74
- FEATURES="uuid_type"
@@ -10,8 +7,5 @@ addons:
107
before_script:
118
- ./.travis/setup.sh
129
script:
13-
- cargo test --features "$FEATURES"
14-
- cargo doc --no-deps --features "uuid_type"
15-
after_script:
16-
- mv target/doc .
17-
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
10+
- cargo test
11+
- cargo test --no-default-features

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ name = "test"
1313
path = "tests/test.rs"
1414

1515
[features]
16-
uuid_type = ["uuid"]
16+
default = ["uuid"]
1717

1818
[dependencies.openssl]
1919
git = "https://github.com/sfackler/rust-openssl"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ git = "https://github.com/sfackler/rust-postgres.git"
1212
```
1313

1414
```toml
15-
# Optional features
16-
features = ["uuid_type"]
15+
# Optional features (on by default)
16+
features = ["uuid"]
1717
```
1818

1919
## Overview

0 commit comments

Comments
 (0)