Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: version third party crate feature flags #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,41 +53,41 @@ jobs:
command: check
args: --workspace --no-default-features --features derive

- name: check --no-default-features --features smol_str
- name: check --no-default-features --features smol_str-02
uses: actions-rs/cargo@v1
with:
command: check
args: --workspace --no-default-features --features smol_str
args: --workspace --no-default-features --features smol_str-02

- name: check --no-default-features --features smallvec
- name: check --no-default-features --features smallvec-1
uses: actions-rs/cargo@v1
with:
command: check
args: --workspace --no-default-features --features smallvec
args: --workspace --no-default-features --features smallvec-1

- name: check --no-default-features --features smartstring
- name: check --no-default-features --features smartstring-1
uses: actions-rs/cargo@v1
with:
command: check
args: --workspace --no-default-features --features smartstring
args: --workspace --no-default-features --features smartstring-1

- name: check --no-default-features --features ahash
- name: check --no-default-features --features ahash-08
uses: actions-rs/cargo@v1
with:
command: check
args: --workspace --no-default-features --features ahash
args: --workspace --no-default-features --features ahash-08

- name: check --no-default-features --features chrono
- name: check --no-default-features --features chrono-04
uses: actions-rs/cargo@v1
with:
command: check
args: --workspace --no-default-features --features chrono
args: --workspace --no-default-features --features chrono-04

- name: check --no-default-features --features chrono-clock
- name: check --no-default-features --features chrono-clock-04
uses: actions-rs/cargo@v1
with:
command: check
args: --workspace --no-default-features --features chrono-clock
args: --workspace --no-default-features --features chrono-clock-04

- name: check --all-features
uses: actions-rs/cargo@v1
Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ syn = { version = "2.0.38", features = [ "full" ] }
quote = "1.0.33"
proc-macro2 = "1.0.69"
test-case = "3.3.1"
smol_str = { version = "0.2.2", default-features = false }
smallvec = { version = "1.13.2", default-features = false }
smartstring = { version = "1.0.1", default-features = false }
ahash = { version = "0.8.11", default-features = false }
chrono = { version = "0.4.38", default-features = false }
smol_str-02 = { package = "smol_str", version = "0.2.2", default-features = false }
smallvec-1 = { package = "smallvec", version = "1.13.2", default-features = false }
smartstring-1 = { package = "smartstring", version = "1.0.1", default-features = false }
ahash-08 = { package = "ahash", version = "0.8.11", default-features = false }
chrono-04 = { package = "chrono", version = "0.4.38", default-features = false }
14 changes: 7 additions & 7 deletions bounded-static/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ alloc = []
collections = [ "alloc" ]

# Enable impls of [To|Into]BoundedStatic for other types in std.
std = [ "alloc", "ahash?/std", "chrono?/std" ]
std = [ "alloc", "ahash-08?/std", "chrono-04?/std" ]

# Enable the ToStatic custom derive macro.
derive = [ "bounded-static-derive" ]

# Enable the clock feature for chrono.
chrono-clock = [ "chrono", "chrono/clock" ]
chrono-clock-04 = [ "chrono-04", "chrono-04/clock" ]

[dependencies]
bounded-static-derive = { workspace = true, optional = true }
smol_str = { workspace = true, optional = true, default-features = false }
smallvec = { workspace = true, optional = true, default-features = false }
smartstring = { workspace = true, optional = true, default-features = false }
ahash = { workspace = true, optional = true, default-features = false }
chrono = { workspace = true, optional = true, default-features = false }
smol_str-02 = { workspace = true, optional = true, default-features = false }
smallvec-1 = { workspace = true, optional = true, default-features = false }
smartstring-1 = { workspace = true, optional = true, default-features = false }
ahash-08 = { workspace = true, optional = true, default-features = false }
chrono-04 = { workspace = true, optional = true, default-features = false }

[dev-dependencies]
test-case.workspace = true
Expand Down
Loading
Loading