Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
7620940
Fix quickcheck Arbitrary impl never generating DEL
tormol May 18, 2019
7a369e9
Remove no_std docs link
tormol Jul 11, 2019
1717420
Test optional dependencies on Travis
tormol Mar 19, 2019
716f53b
Implement Clone, Copy and Eq for ToAsciiCharError
tormol May 10, 2019
0d15921
Implement ToAsciiChar for i8, u16 and u32
tormol Jul 13, 2019
8a6c779
Remove unsound trait impls
tormol Jul 11, 2019
05c57e0
Remove quickcheck
tormol Jul 13, 2019
76c7303
Remove (deprecated) AsciiExt
tormol Apr 4, 2018
66dd4e2
Newtype character iterators, and make .chars() produce copies
tormol Oct 3, 2018
b95403e
Rename trim_left() and trim_right() to trim_start() and trim_end()
tormol Nov 11, 2018
e623694
Implement inclusive range indexing for AsciiStr
tormol Nov 11, 2018
a82fa95
Modernize style and use clippy
tormol Jul 13, 2019
9395391
Constify most of AsciiChar
tormol Jul 14, 2019
ffafc2a
Rename AsciiChar::from[_unchecked]() to from_ascii[_unchecked]()
tormol Jul 13, 2019
bc0f2c0
Future-proof some methods
tormol Jul 14, 2019
bedace4
Constify a tiny few AsciiStr methods
tormol Jul 14, 2019
c41ba9f
Implement more AsRef<AsciiStr> and genericize Extend and IntoIterator
tormol Jul 14, 2019
cea27b1
Extend AsAsciiStr to easily convert sub-slices
tormol Jul 14, 2019
7c43f75
Improve AsciiChar compatibility with u8 and char
tormol Jul 14, 2019
f6c5e06
Increase minimum supported Rust version and loosen policy for 1.0
tormol Jul 14, 2019
b0b407b
Decrease minimum Rust version to 1.33.0
tormol Jul 16, 2019
2e566e4
Mark AsciiStr and AsciiString #[repr(transparent)]
tormol Jul 30, 2019
13e3628
Fix inconstistencies
tormol Aug 20, 2019
b80037e
Only install clippy on travis for targets where it's going to be run
tormol Aug 20, 2019
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
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,24 @@ rust:
- nightly
- beta
- stable
- 1.9.0
- 1.33.0

before_script:
- |
pip install 'travis-cargo<0.2' --user &&
pip install 'travis-cargo<0.2' --user || exit 1;
if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then
rustup component add clippy || exit 1
fi
export PATH=$HOME/.local/bin:$PATH

script:
- |
travis-cargo build &&
travis-cargo test -- --no-default-features &&
travis-cargo test &&
travis-cargo build -- --no-default-features &&
travis-cargo test -- --no-default-features
travis-cargo test -- --all-features &&
travis-cargo --only stable clippy -- --all-features &&
rm Cargo.lock &&
travis-cargo --only nightly build -- -Z minimal-versions --all-features

after_success:
- |
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ repository = "https://github.com/tomprogrammer/rust-ascii"
version = "0.9.2"

[dependencies]
quickcheck = { version = "0.6", optional = true }
serde = { version = "1.0.25", optional = true }
serde_test = { version = "1.0", optional = true }

Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ following dependency declaration in `Cargo.toml`:
ascii = { version = "0.9", default-features = false }
```

## Requirements

- The minimum supported Rust version is 1.9.0
- Enabling the quickcheck feature requires Rust 1.12.0
- Enabling the serde feature requires Rust 1.13.0
## Minimum supported Rust version

The minimum Rust version for 1.0.\* releases is 1.33.0.
Later 1.y.0 releases might require newer Rust versions, but the three most
recent stable releases at the time of publishing will always be supported.
For example this means that if the current stable Rust version is 1.38 when
ascii 1.1.0 is released, then ascii 1.1.* will not require a newer
Rust version than 1.36.

## History

Expand Down
Loading