Skip to content

Commit aac5408

Browse files
committed
Deprecate old crates
Replace old crates with stubs that give compile-time errors, notifying maintainers about the rename.
1 parent 1e4f496 commit aac5408

File tree

123 files changed

+53
-25834
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+53
-25834
lines changed

.github/workflows/publish-edgedb-derive.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,8 @@ jobs:
1414
contents: "read"
1515
steps:
1616
# checkout and env setup
17-
- uses: actions/checkout@v3
18-
- uses: DeterminateSystems/nix-installer-action@main
19-
- uses: DeterminateSystems/magic-nix-cache-action@main
20-
- name: Build the nix shell
21-
run: nix develop --command just --version
22-
- uses: Swatinem/rust-cache@v2
23-
24-
# test
25-
- name: Test
26-
run: nix develop --command cargo test --all-features --package=edgedb-derive
17+
- uses: actions/checkout@v3
18+
- uses: dtolnay/rust-toolchain@stable
2719

2820
# verify that git tag matches cargo version
2921
- run: |
@@ -35,4 +27,4 @@ jobs:
3527
3628
- working-directory: ./edgedb-derive
3729
run: |
38-
nix develop --command cargo publish --token=${{ secrets.CARGO_REGISTRY_TOKEN }}
30+
cargo publish --token=${{ secrets.CARGO_REGISTRY_TOKEN }} --no-verify

.github/workflows/publish-edgedb-errors.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,8 @@ jobs:
1414
contents: "read"
1515
steps:
1616
# checkout and env setup
17-
- uses: actions/checkout@v3
18-
- uses: DeterminateSystems/nix-installer-action@main
19-
- uses: DeterminateSystems/magic-nix-cache-action@main
20-
- name: Build the nix shell
21-
run: nix develop --command just --version
22-
- uses: Swatinem/rust-cache@v2
23-
24-
# test
25-
- name: Test
26-
run: nix develop --command cargo test --all-features --package=edgedb-errors
17+
- uses: actions/checkout@v3
18+
- uses: dtolnay/rust-toolchain@stable
2719

2820
# verify that git tag matches cargo version
2921
- run: |
@@ -35,4 +27,4 @@ jobs:
3527
3628
- working-directory: ./edgedb-errors
3729
run: |
38-
nix develop --command cargo publish --token=${{ secrets.CARGO_REGISTRY_TOKEN }}
30+
cargo publish --token=${{ secrets.CARGO_REGISTRY_TOKEN }} --no-verify

.github/workflows/publish-edgedb-protocol.yaml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,9 @@ jobs:
1313
id-token: "write"
1414
contents: "read"
1515
steps:
16-
# checkout and env setup
17-
- uses: actions/checkout@v3
18-
- uses: DeterminateSystems/nix-installer-action@main
19-
- uses: DeterminateSystems/magic-nix-cache-action@main
20-
- name: Build the nix shell
21-
run: nix develop --command just --version
22-
- uses: Swatinem/rust-cache@v2
23-
24-
# test
25-
- name: Test
26-
run: nix develop --command cargo test --all-features --package=edgedb-protocol
16+
# checkout and env setup
17+
- uses: actions/checkout@v3
18+
- uses: dtolnay/rust-toolchain@stable
2719

2820
# verify that git tag matches cargo version
2921
- run: |
@@ -35,4 +27,4 @@ jobs:
3527
3628
- working-directory: ./edgedb-protocol
3729
run: |
38-
nix develop --command cargo publish --token=${{ secrets.CARGO_REGISTRY_TOKEN }}
30+
cargo publish --token=${{ secrets.CARGO_REGISTRY_TOKEN }} --no-verify

.github/workflows/publish-edgedb-tokio.yaml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,9 @@ jobs:
1313
id-token: "write"
1414
contents: "read"
1515
steps:
16-
# checkout and env setup
17-
- uses: actions/checkout@v3
18-
- uses: DeterminateSystems/nix-installer-action@main
19-
- uses: DeterminateSystems/magic-nix-cache-action@main
20-
- name: Build the nix shell
21-
run: nix develop --command just --version
22-
- uses: Swatinem/rust-cache@v2
23-
24-
# test
25-
- name: Test
26-
run: nix develop --command cargo test --all-features --package=edgedb-tokio
16+
# checkout and env setup
17+
- uses: actions/checkout@v3
18+
- uses: dtolnay/rust-toolchain@stable
2719

2820
# verify that git tag matches cargo version
2921
- run: |
@@ -35,4 +27,4 @@ jobs:
3527
3628
- working-directory: ./edgedb-tokio
3729
run: |
38-
nix develop --command cargo publish --token=${{ secrets.CARGO_REGISTRY_TOKEN }}
30+
cargo publish --token=${{ secrets.CARGO_REGISTRY_TOKEN }} --no-verify

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ members = [
55
"edgedb-derive",
66
"edgedb-protocol",
77
"edgedb-tokio",
8-
"examples/globals",
9-
"examples/query-error",
108
]
119

1210
[profile.release]

edgedb-derive/Cargo.toml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,15 @@
11
[package]
22
name = "edgedb-derive"
33
license = "MIT/Apache-2.0"
4-
version = "0.5.2"
4+
version = "0.6.0"
55
authors = ["MagicStack Inc. <hello@magic.io>"]
66
edition = "2018"
77
description = """
88
Derive macros for EdgeDB database client.
9+
This crate has been renamed to gel-derive.
910
"""
1011
readme = "README.md"
1112
rust-version.workspace = true
1213

13-
[dependencies]
14-
syn = {version="2.0", features=["full"]}
15-
proc-macro2 = "1.0.19"
16-
quote = "1.0"
17-
trybuild = "1.0.19"
18-
19-
[dev-dependencies]
20-
bytes = "1.0.1"
21-
edgedb-protocol = {path="../edgedb-protocol"}
22-
serde = {version="1.0", features=["derive"]}
23-
serde_json = "1.0"
24-
2514
[lib]
2615
proc-macro = true
27-
28-
[lints]
29-
workspace = true

edgedb-derive/README.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
EdgeDB Rust Binding: Derive Crate
22
=================================
33

4-
This crate contains derive macros for the EdgeDB client.
5-
6-
* [Documentation](https://docs.rs/edgedb-derive)
7-
* [Tokio Client](https://docs.rs/edgedb-tokio)
8-
9-
10-
License
11-
=======
12-
13-
Licensed under either of
14-
15-
* Apache License, Version 2.0,
16-
(./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
17-
* MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT)
18-
19-
at your option.
4+
> This crate has been renamed to [gel-derive](https://crates.io/crates/gel-derive)

edgedb-derive/src/attrib.rs

Lines changed: 0 additions & 103 deletions
This file was deleted.

edgedb-derive/src/enums.rs

Lines changed: 0 additions & 54 deletions
This file was deleted.

edgedb-derive/src/json.rs

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)