Skip to content

Commit

Permalink
http -> gel-http
Browse files Browse the repository at this point in the history
  • Loading branch information
mmastrac committed Feb 12, 2025
1 parent 5d705bf commit 69544eb
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 35 deletions.
58 changes: 29 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ members = [
"rust/gel-auth",
"rust/gel-jwt",
"rust/gel-stream",
"rust/gel-http",
"rust/pgrust",
"rust/http",
"rust/pyo3_util",
]
resolver = "2"
Expand All @@ -30,7 +30,7 @@ db_proto = { path = "rust/db_proto" }
captive_postgres = { path = "rust/captive_postgres" }
conn_pool = { path = "rust/conn_pool" }
pgrust = { path = "rust/pgrust" }
http = { path = "rust/http" }
gel-http = { path = "rust/gel-http" }
pyo3_util = { path = "rust/pyo3_util" }

[profile.release]
Expand Down
2 changes: 1 addition & 1 deletion edb/server/_rust_native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pyo3 = { workspace = true }
pyo3_util.workspace = true
conn_pool = { workspace = true, features = [ "python_extension" ] }
pgrust = { workspace = true, features = [ "python_extension" ] }
http = { workspace = true, features = [ "python_extension" ] }
gel-http = { workspace = true, features = [ "python_extension" ] }
gel-auth = { workspace = true, features = [ "python_extension" ] }
gel-jwt = { workspace = true, features = [ "python_extension" ] }

Expand Down
2 changes: 1 addition & 1 deletion edb/server/_rust_native/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn _rust_native(py: Python, m: &Bound<PyModule>) -> PyResult<()> {

add_child_module(py, m, "_conn_pool", conn_pool::python::_conn_pool)?;
add_child_module(py, m, "_pg_rust", pgrust::python::_pg_rust)?;
add_child_module(py, m, "_http", http::python::_http)?;
add_child_module(py, m, "_http", gel_http::python::_gel_http)?;
add_child_module(py, m, "_jwt", gel_jwt::python::_jwt)?;

Ok(())
Expand Down
2 changes: 1 addition & 1 deletion rust/http/Cargo.toml → rust/gel-http/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "http"
name = "gel-http"
version = "0.1.0"
license = "MIT/Apache-2.0"
authors = ["MagicStack Inc. <[email protected]>"]
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion rust/http/src/python.rs → rust/gel-http/src/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ impl Http {
}

#[pymodule]
pub fn _http(py: Python, m: &Bound<PyModule>) -> PyResult<()> {
pub fn _gel_http(py: Python, m: &Bound<PyModule>) -> PyResult<()> {
m.add_class::<Http>()?;
m.add("InternalError", py.get_type::<InternalError>())?;

Expand Down

0 comments on commit 69544eb

Please sign in to comment.