Skip to content

Commit

Permalink
Switch Rust code to dashes instead of underscores.
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi committed Nov 21, 2024
1 parent 8533d78 commit b0bbcf0
Show file tree
Hide file tree
Showing 30 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_langsmith_pyo3_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
#
# To find the changes applied on top of the autogenerated contents, diff this file
# versus commit `c746f00fadb0c84d769be117643683d60eb07ba3` which has the raw autogenerated output.
name: Build langsmith_pyo3 wheels
name: Build langsmith-pyo3 wheels

# Our wheels build depends on both the `langsmith_pyo3` crate itself and all its dependencies:
# Our wheels build depends on both the `langsmith-pyo3` crate itself and all its dependencies:
# - The Rust workspace-level dependency specification in `rust/Cargo.toml` and `rust/Cargo.lock`.
# - Other local Rust crates, like `langsmith_tracing_client`.
# - The vendored `orjson` and `pyo3` workspaces.
Expand Down Expand Up @@ -38,7 +38,7 @@ permissions:
env:
RUST_VERSION: '1.82' # Be careful, "stable" gets you "whatever GitHub ships", which is quite old.
SUPPORTED_PYTHON_VERSIONS: 'python3.8 python3.9 python3.10 python3.11 python3.12'
WORKING_DIRECTORY: rust/crates/langsmith_pyo3
WORKING_DIRECTORY: rust/crates/langsmith-pyo3

jobs:
linux:
Expand Down
6 changes: 3 additions & 3 deletions rust/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 rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[workspace]
members = [
"crates/langsmith_pyo3",
"crates/langsmith_tracing_client",
"crates/langsmith-pyo3",
"crates/langsmith-tracing-client",
]
resolver = "2"

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "langsmith_pyo3"
name = "langsmith-pyo3"
version = "0.1.0"
edition = "2021"

Expand Down Expand Up @@ -31,5 +31,5 @@ pyo3 = { path = "../../../vendor/pyo3", features = ["extension-module"] }
pyo3-ffi = { path = "../../../vendor/pyo3/pyo3-ffi", features = ["extension-module"] }
sonic-rs = { workspace = true }
serde = { workspace = true }
langsmith_tracing_client = { path = "../langsmith_tracing_client" }
langsmith-tracing-client = { path = "../langsmith-tracing-client" }
orjson = { path = "../../../vendor/orjson" }
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# langsmith_pyo3
# langsmith-pyo3

Python bindings for LangSmith internals.

Expand All @@ -22,4 +22,4 @@ To make performance-optimized builds, append `--release` to either command.
To run install these bindings into another virtualenv (e.g. to run benchmarks),
activate that virtualenv, then `cd` to this directory and run `uvx maturin develop --release`.
When that command completes, the virtualenv will have an optimized build
of `langsmith_pyo3` installed.
of `langsmith-pyo3` installed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"

[project]
name = "langsmith_pyo3"
name = "langsmith-pyo3"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Rust",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "langsmith_tracing_client"
name = "langsmith-tracing-client"
version = "0.1.0"
edition = "2021"

Expand Down

0 comments on commit b0bbcf0

Please sign in to comment.